Home
last modified time | relevance | path

Searched refs:num_ops (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_trans_resv.c68 uint num_ops) in xfs_allocfree_block_count()
72 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count()
74 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count()
87 unsigned int num_ops) in xfs_refcountbt_block_count()
89 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count()
218 unsigned int num_ops) in xfs_rtalloc_block_count()
224 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_block_count()
66 xfs_allocfree_block_count( struct xfs_mount *mp, uint num_ops) xfs_allocfree_block_count() argument
85 xfs_refcountbt_block_count( struct xfs_mount *mp, unsigned int num_ops) xfs_refcountbt_block_count() argument
216 xfs_rtalloc_block_count( struct xfs_mount *mp, unsigned int num_ops) xfs_rtalloc_block_count() argument
H A Dxfs_trans_resv.h99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops);
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_trans_resv.c69 uint num_ops) in xfs_allocfree_log_count()
73 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count()
75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count()
77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count()
208 unsigned int num_ops) in xfs_rtalloc_log_count()
214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
67 xfs_allocfree_log_count( struct xfs_mount *mp, uint num_ops) xfs_allocfree_log_count() argument
206 xfs_rtalloc_log_count( struct xfs_mount *mp, unsigned int num_ops) xfs_rtalloc_log_count() argument
H A Dxfs_trans_resv.h95 uint xfs_allocfree_log_count(struct xfs_mount *mp, uint num_ops);
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddbdisply.c358 u32 num_ops = 0; in acpi_db_display_method_info() local
393 num_ops++; in acpi_db_display_method_info()
432 num_ops, num_operators, num_operands); in acpi_db_display_method_info()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddbdisply.c358 u32 num_ops = 0; in acpi_db_display_method_info() local
393 num_ops++; in acpi_db_display_method_info()
432 num_ops, num_operators, num_operands); in acpi_db_display_method_info()
/kernel/linux/linux-5.10/fs/ceph/
H A Daddr.c894 int num_ops = 0, op_idx; in ceph_writepages_start() local
988 num_ops = 1; in ceph_writepages_start()
1006 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
1013 num_ops++; in ceph_writepages_start()
1065 offset, &len, 0, num_ops, in ceph_writepages_start()
1073 min(num_ops, in ceph_writepages_start()
1136 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1137 num_ops -= req->r_num_ops; in ceph_writepages_start()
1154 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/kernel/linux/linux-6.6/fs/ceph/
H A Daddr.c1018 int num_ops = 0, op_idx; in ceph_writepages_start() local
1115 num_ops = 1; in ceph_writepages_start()
1133 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
1140 num_ops++; in ceph_writepages_start()
1208 offset, &len, 0, num_ops, in ceph_writepages_start()
1216 min(num_ops, in ceph_writepages_start()
1306 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1307 num_ops -= req->r_num_ops; in ceph_writepages_start()
1324 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dosd_client.h484 unsigned int num_ops,
493 unsigned int which, int num_ops,
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dosd_client.h552 unsigned int num_ops,
561 unsigned int which, int num_ops,
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dip_tables.c1720 unsigned int num_ops; in ipt_register_table() local
1756 num_ops = hweight32(table->valid_hooks); in ipt_register_table()
1757 if (num_ops == 0) { in ipt_register_table()
1762 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table()
1768 for (i = 0; i < num_ops; i++) in ipt_register_table()
1773 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
H A Darp_tables.c1506 unsigned int num_ops; in arpt_register_table() local
1536 num_ops = hweight32(table->valid_hooks); in arpt_register_table()
1537 if (num_ops == 0) { in arpt_register_table()
1542 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table()
1548 for (i = 0; i < num_ops; i++) in arpt_register_table()
1553 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dip6_tables.c1729 unsigned int num_ops; in ip6t_register_table() local
1762 num_ops = hweight32(table->valid_hooks); in ip6t_register_table()
1763 if (num_ops == 0) { in ip6t_register_table()
1768 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ip6t_register_table()
1774 for (i = 0; i < num_ops; i++) in ip6t_register_table()
1779 ret = nf_register_net_hooks(net, ops, num_ops); in ip6t_register_table()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-topology.c577 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
608 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
609 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
627 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
628 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
644 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
645 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-topology.c475 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
506 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
507 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
525 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
526 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
542 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
543 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/kernel/linux/linux-6.6/net/ceph/
H A Dosd_client.c569 unsigned int num_ops, in ceph_osdc_alloc_request()
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()
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()
567 ceph_osdc_alloc_request(struct ceph_osd_client *osdc, struct ceph_snap_context *snapc, unsigned int num_ops, bool use_mempool, gfp_t gfp_flags) ceph_osdc_alloc_request() argument
1078 ceph_osdc_new_request(struct ceph_osd_client *osdc, struct ceph_file_layout *layout, struct ceph_vino vino, u64 off, u64 *plen, unsigned int which, int num_ops, int opcode, int flags, struct ceph_snap_context *snapc, u32 truncate_seq, u64 truncate_size, bool use_mempool) ceph_osdc_new_request() argument
3677 int num_ops; global() member
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A Dosd_client.c542 unsigned int num_ops, in ceph_osdc_alloc_request()
549 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
551 } else if (num_ops <= CEPH_OSD_SLAB_OPS) { in ceph_osdc_alloc_request()
554 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
555 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request()
563 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1047 unsigned int which, int num_ops, in ceph_osdc_new_request()
1064 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
1103 if (num_ops > 1) in ceph_osdc_new_request()
1109 r = __ceph_osdc_alloc_messages(req, GFP_NOFS, num_ops, in ceph_osdc_new_request()
540 ceph_osdc_alloc_request(struct ceph_osd_client *osdc, struct ceph_snap_context *snapc, unsigned int num_ops, bool use_mempool, gfp_t gfp_flags) ceph_osdc_alloc_request() argument
1043 ceph_osdc_new_request(struct ceph_osd_client *osdc, struct ceph_file_layout *layout, struct ceph_vino vino, u64 off, u64 *plen, unsigned int which, int num_ops, int opcode, int flags, struct ceph_snap_context *snapc, u32 truncate_seq, u64 truncate_size, bool use_mempool) ceph_osdc_new_request() argument
3590 int num_ops; global() member
[all...]
/kernel/linux/linux-6.6/net/bridge/netfilter/
H A Debtables.c1186 unsigned int num_ops; in ebt_register_table() local
1251 num_ops = hweight32(table->valid_hooks); in ebt_register_table()
1252 if (num_ops == 0) { in ebt_register_table()
1257 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ebt_register_table()
1265 for (i = 0; i < num_ops; i++) in ebt_register_table()
1272 ret = nf_register_net_hooks(net, ops, num_ops); in ebt_register_table()
/kernel/linux/linux-5.10/drivers/block/
H A Drbd.c1491 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
1500 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, false, GFP_NOIO); in __rbd_obj_add_osd_request()
1525 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request() argument
1529 num_ops); in rbd_obj_add_osd_request()
2126 int num_ops = 1; in rbd_object_map_update() local
2134 num_ops++; /* assert_locked */ in rbd_object_map_update()
2137 req = ceph_osdc_alloc_request(osdc, NULL, num_ops, false, GFP_NOIO); in rbd_object_map_update()
3030 int num_ops = count_write_ops(obj_req); in rbd_obj_write_object() local
3035 num_ops++; /* stat */ in rbd_obj_write_object()
3037 osd_req = rbd_obj_add_osd_request(obj_req, num_ops); in rbd_obj_write_object()
1490 __rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, struct ceph_snap_context *snapc, int num_ops) __rbd_obj_add_osd_request() argument
3109 int num_ops = count_write_ops(obj_req); rbd_obj_copyup_current_snapc() local
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Drbd.c1428 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request()
1437 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, false, GFP_NOIO); in __rbd_obj_add_osd_request()
1462 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request() argument
1466 num_ops); in rbd_obj_add_osd_request()
2063 int num_ops = 1; in rbd_object_map_update() local
2071 num_ops++; /* assert_locked */ in rbd_object_map_update()
2074 req = ceph_osdc_alloc_request(osdc, NULL, num_ops, false, GFP_NOIO); in rbd_object_map_update()
2967 int num_ops = count_write_ops(obj_req); in rbd_obj_write_object() local
2972 num_ops++; /* stat */ in rbd_obj_write_object()
2974 osd_req = rbd_obj_add_osd_request(obj_req, num_ops); in rbd_obj_write_object()
1427 __rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, struct ceph_snap_context *snapc, int num_ops) __rbd_obj_add_osd_request() argument
3045 int num_ops = count_write_ops(obj_req); rbd_obj_copyup_current_snapc() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13341 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13368 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13371 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13268 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13295 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13298 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()

Completed in 102 milliseconds