Home
last modified time | relevance | path

Searched refs:val_size (Results 1 – 4 of 4) sorted by relevance

/NextBSD/sys/netpfil/ipfw/
HDip_fw_table_value.c183 int val_size, val_size_old; in resize_shared_value_storage() local
194 val_size = tcfg->val_size * 2; in resize_shared_value_storage()
196 if (val_size == (1 << 30)) in resize_shared_value_storage()
201 valuestate = malloc(sizeof(struct table_value) * val_size, M_IPFW, in resize_shared_value_storage()
203 ipfw_objhash_bitmap_alloc(val_size, (void *)&new_idx, in resize_shared_value_storage()
211 if (tcfg->val_size >= val_size) in resize_shared_value_storage()
219 memcpy(valuestate, pval, sizeof(struct table_value) * tcfg->val_size); in resize_shared_value_storage()
229 val_size_old = tcfg->val_size; in resize_shared_value_storage()
230 tcfg->val_size = val_size; in resize_shared_value_storage()
231 val_size = val_size_old; in resize_shared_value_storage()
[all …]
HDip_fw_table.h41 uint32_t val_size; member
/NextBSD/lib/libc/db/hash/
HDhash_bigkey.c90 unsigned int val_size; in __big_insert() local
100 val_size = val->size; in __big_insert()
123 move_bytes = MIN(space, val_size); in __big_insert()
131 if (space == val_size && val_size == val->size) in __big_insert()
136 val_size -= move_bytes; in __big_insert()
152 for (space = FREESPACE(p) - BIGOVERHEAD; val_size; in __big_insert()
154 move_bytes = MIN(space, val_size); in __big_insert()
159 if (space == val_size && val_size == val->size) in __big_insert()
163 val_size -= move_bytes; in __big_insert()
170 if (val_size) { in __big_insert()
/NextBSD/contrib/tcpdump/
HDprint-ppp.c827 int val_size, name_size, msg_size; in handle_chap() local
869 val_size = *p; /* value size */ in handle_chap()
871 if (length - (p - p0) < val_size) in handle_chap()
874 for (i = 0; i < val_size; i++) { in handle_chap()