Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/netpfil/ipfw/
Dip_fw_table_value.c186 int val_size, val_size_old; in resize_shared_value_storage() local
197 val_size = tcfg->val_size * 2; in resize_shared_value_storage()
199 if (val_size == (1 << 30)) in resize_shared_value_storage()
204 valuestate = malloc(sizeof(struct table_value) * val_size, M_IPFW, in resize_shared_value_storage()
206 ipfw_objhash_bitmap_alloc(val_size, (void *)&new_idx, in resize_shared_value_storage()
214 if (tcfg->val_size >= val_size) in resize_shared_value_storage()
222 memcpy(valuestate, pval, sizeof(struct table_value) * tcfg->val_size); in resize_shared_value_storage()
232 val_size_old = tcfg->val_size; in resize_shared_value_storage()
233 tcfg->val_size = val_size; in resize_shared_value_storage()
234 val_size = val_size_old; in resize_shared_value_storage()
[all …]
Dip_fw_table.h41 uint32_t val_size; member
/freebsd-12-stable/lib/libc/db/hash/
Dhash_bigkey.c92 unsigned int val_size; in __big_insert() local
102 val_size = val->size; in __big_insert()
125 move_bytes = MIN(space, val_size); in __big_insert()
133 if (space == val_size && val_size == val->size) in __big_insert()
138 val_size -= move_bytes; in __big_insert()
154 for (space = FREESPACE(p) - BIGOVERHEAD; val_size; in __big_insert()
156 move_bytes = MIN(space, val_size); in __big_insert()
161 if (space == val_size && val_size == val->size) in __big_insert()
165 val_size -= move_bytes; in __big_insert()
172 if (val_size) { in __big_insert()
/freebsd-12-stable/contrib/tcpdump/
Dprint-ppp.c835 int val_size, name_size, msg_size; in handle_chap() local
877 val_size = *p; /* value size */ in handle_chap()
879 if (length - (p - p0) < val_size) in handle_chap()
882 for (i = 0; i < val_size; i++) { in handle_chap()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
DRecord.h995 inline size_t val_size () const { return NumConds; } in val_size() function