Searched refs:num_ops (Results 1 – 5 of 5) sorted by relevance
/net/ipv4/netfilter/ |
D | arp_tables.c | 1514 unsigned int num_ops; in arpt_register_table() local 1544 num_ops = hweight32(table->valid_hooks); in arpt_register_table() 1545 if (num_ops == 0) { in arpt_register_table() 1550 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table() 1556 for (i = 0; i < num_ops; i++) in arpt_register_table() 1561 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
|
D | ip_tables.c | 1728 unsigned int num_ops; in ipt_register_table() local 1764 num_ops = hweight32(table->valid_hooks); in ipt_register_table() 1765 if (num_ops == 0) { in ipt_register_table() 1770 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table() 1776 for (i = 0; i < num_ops; i++) in ipt_register_table() 1781 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
|
/net/ceph/ |
D | osd_client.c | 569 unsigned int num_ops, in ceph_osdc_alloc_request() argument 576 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request() 578 } else if (num_ops <= CEPH_OSD_SLAB_OPS) { in ceph_osdc_alloc_request() 581 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request() 582 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request() 590 req->r_num_ops = num_ops; in ceph_osdc_alloc_request() 1082 unsigned int which, int num_ops, in ceph_osdc_new_request() argument 1100 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request() 1139 if (num_ops > 1) { in ceph_osdc_new_request() 1148 num_req_ops = num_ops; in ceph_osdc_new_request() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 1737 unsigned int num_ops; in ip6t_register_table() local 1770 num_ops = hweight32(table->valid_hooks); in ip6t_register_table() 1771 if (num_ops == 0) { in ip6t_register_table() 1776 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ip6t_register_table() 1782 for (i = 0; i < num_ops; i++) in ip6t_register_table() 1787 ret = nf_register_net_hooks(net, ops, num_ops); in ip6t_register_table()
|
/net/bridge/netfilter/ |
D | ebtables.c | 1188 unsigned int num_ops; in ebt_register_table() local 1253 num_ops = hweight32(table->valid_hooks); in ebt_register_table() 1254 if (num_ops == 0) { in ebt_register_table() 1259 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ebt_register_table() 1267 for (i = 0; i < num_ops; i++) in ebt_register_table() 1274 ret = nf_register_net_hooks(net, ops, num_ops); in ebt_register_table()
|