Searched refs:reciprocal_value (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/lib/
H A Dreciprocal_div.c11 struct reciprocal_value reciprocal_value(u32 d) reciprocal_value() function
13 struct reciprocal_value R; reciprocal_value()
27 EXPORT_SYMBOL(reciprocal_value); variable
H A Dflex_array.c94 struct reciprocal_value reciprocal_elems = { 0 }; flex_array_alloc()
98 reciprocal_elems = reciprocal_value(elems_per_part); flex_array_alloc()
/linux-4.4.14/include/linux/
H A Dreciprocal_div.h17 * slow-path with reciprocal_value(). The fast-path can then just use
22 struct reciprocal_value { struct
27 struct reciprocal_value reciprocal_value(u32 d);
29 static inline u32 reciprocal_divide(u32 a, struct reciprocal_value R) reciprocal_divide()
H A Dflex_array.h26 struct reciprocal_value reciprocal_elems;
H A Dslab_def.h19 struct reciprocal_value reciprocal_buffer_size;
/linux-4.4.14/include/net/
H A Dred.h133 /* reciprocal_value(max_P / qth_delta) */
134 struct reciprocal_value max_P_reciprocal;
191 p->max_P_reciprocal = reciprocal_value(max_p_delta); red_set_parms()
404 p->max_P_reciprocal = reciprocal_value(max_p_delta); red_adaptative_algo()
H A Dbonding.h138 struct reciprocal_value reciprocal_packets_per_slave;
/linux-4.4.14/net/openvswitch/
H A Dvport.h65 struct reciprocal_value rn_ids;
H A Dvport.c364 vport_portids->rn_ids = reciprocal_value(vport_portids->n_ids); ovs_vport_set_upcall_portids()
/linux-4.4.14/net/sched/
H A Dsch_netem.c94 struct reciprocal_value cell_size_reciprocal;
771 q->cell_size_reciprocal = reciprocal_value(q->cell_size); get_rate()
773 q->cell_size_reciprocal = (struct reciprocal_value) { 0 }; get_rate()
/linux-4.4.14/drivers/net/bonding/
H A Dbond_options.c1238 reciprocal_value(newval->value); bond_option_pps_set()
1244 (struct reciprocal_value) { 0 }; bond_option_pps_set()
H A Dbond_main.c3684 struct reciprocal_value reciprocal_packets_per_slave; bond_rr_gen_slave_id()
4551 reciprocal_value(packets_per_slave); bond_check_params()
4557 (struct reciprocal_value) { 0 }; bond_check_params()
/linux-4.4.14/mm/
H A Dslab.c2262 cachep->reciprocal_buffer_size = reciprocal_value(size); __kmem_cache_create()

Completed in 524 milliseconds