Home
last modified time | relevance | path

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

/net/batman-adv/
Dtp_meter.c122 u32 new_size = base + increment; in batadv_tp_cwnd() local
125 if (new_size < base) in batadv_tp_cwnd()
126 new_size = (u32)ULONG_MAX; in batadv_tp_cwnd()
128 new_size = min_t(u32, new_size, BATADV_TP_AWND); in batadv_tp_cwnd()
130 return max_t(u32, new_size, min); in batadv_tp_cwnd()
/net/ipv4/
Dfib_semantics.c1275 unsigned int new_size) in fib_info_hash_move() argument
1284 fib_info_hash_size = new_size; in fib_info_hash_move()
1285 fib_info_hash_bits = ilog2(new_size); in fib_info_hash_move()
1439 unsigned int new_size = fib_info_hash_size << 1; in fib_create_info() local
1444 if (!new_size) in fib_create_info()
1445 new_size = 16; in fib_create_info()
1446 bytes = (size_t)new_size * sizeof(struct hlist_head *); in fib_create_info()
1453 fib_info_hash_move(new_info_hash, new_laddrhash, new_size); in fib_create_info()
/net/sctp/
Dbind_addr.c145 int new_size, __u8 addr_state, gfp_t gfp) in sctp_add_bind_addr() argument
154 memcpy(&addr->a, new, min_t(size_t, sizeof(*new), new_size)); in sctp_add_bind_addr()
/net/openvswitch/
Dflow_table.c152 static struct table_instance *table_instance_alloc(int new_size) in table_instance_alloc() argument
160 ti->buckets = kvmalloc_array(new_size, sizeof(struct hlist_head), in table_instance_alloc()
167 for (i = 0; i < new_size; i++) in table_instance_alloc()
170 ti->n_buckets = new_size; in table_instance_alloc()
/net/ceph/
Dosdmap.c2323 int new_size, in ceph_is_new_interval() argument
2336 old_size != new_size || in ceph_is_new_interval()