Lines Matching full:tlen
101 static int tlen = 0; /* total length of pbuf */
478 tlen = 0;
485 tlen = sizeof(struct sadb_x_policy);
487 memset(pbuf, 0, tlen);
506 offset = tlen;
523 tlen += reqlen; /* increment to total length */
525 n = realloc(pbuf, tlen);
556 /* tlen has already incremented */
593 tlen = 0;
611 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen);