Home
last modified time | relevance | path

Searched refs:item_size (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dutil.c17 {"debug_mask", item_size(debug_mask),
19 {"int_counter", item_size(int_counter),
29 {"tx_buf_size", item_size(tx_buf_size),
33 {"ps_mode", item_size(ps_mode),
35 {"ps_state", item_size(ps_state),
45 {"hs_activated", item_size(hs_activated),
55 {"last_cmd_id", item_size(last_cmd_id),
57 {"last_cmd_act", item_size(last_cmd_act),
65 {"last_event", item_size(last_event),
98 {"cmd_sent", item_size(cmd_sent),
[all …]
A Dutil.h27 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n)) macro
/linux-6.3-rc2/fs/btrfs/
A Duuid-tree.c32 u32 item_size; in btrfs_uuid_tree_lookup() local
65 (unsigned long)item_size); in btrfs_uuid_tree_lookup()
68 while (item_size) { in btrfs_uuid_tree_lookup()
77 item_size -= sizeof(data); in btrfs_uuid_tree_lookup()
160 u32 item_size; in btrfs_uuid_tree_remove() local
195 (unsigned long)item_size); in btrfs_uuid_tree_remove()
199 while (item_size) { in btrfs_uuid_tree_remove()
209 if (!item_size) { in btrfs_uuid_tree_remove()
301 u32 item_size; in btrfs_uuid_tree_iterate() local
341 (unsigned long)item_size); in btrfs_uuid_tree_iterate()
[all …]
A Dinode-item.c25 u32 item_size; in btrfs_find_name_in_backref() local
29 item_size = btrfs_item_size(leaf, slot); in btrfs_find_name_in_backref()
31 while (cur_offset < item_size) { in btrfs_find_name_in_backref()
52 u32 item_size; in btrfs_find_name_in_ext_backref() local
56 item_size = btrfs_item_size(leaf, slot); in btrfs_find_name_in_ext_backref()
65 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref()
121 u32 item_size; in btrfs_del_inode_extref() local
151 item_size = btrfs_item_size(leaf, path->slots[0]); in btrfs_del_inode_extref()
155 if (del_len == item_size) { in btrfs_del_inode_extref()
188 u32 item_size; in btrfs_del_inode_ref() local
[all …]
A Dprint-tree.c92 u32 item_size = btrfs_item_size(eb, slot); in print_extent_item() local
97 if (unlikely(item_size < sizeof(*ei))) { in print_extent_item()
124 end = (unsigned long)ei + item_size; in print_extent_item()
173 u32 item_size) in print_uuid_item() argument
175 if (!IS_ALIGNED(item_size, sizeof(u64))) { in print_uuid_item()
177 (unsigned long)item_size); in print_uuid_item()
180 while (item_size) { in print_uuid_item()
185 item_size -= sizeof(u64); in print_uuid_item()
A Dtree-checker.c295 if (unlikely(item_size != sizeof(*fi))) { in check_extent_data_item()
298 item_size, sizeof(*fi)); in check_extent_data_item()
497 while (cur < item_size) { in check_dir_item()
511 cur + sizeof(*di), item_size); in check_dir_item()
591 cur + total_size, item_size); in check_dir_item()
663 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item()
666 item_size, sizeof(bgi)); in check_block_group_item()
1000 item_size, sizeof(*ditem)); in check_dev_item()
1051 item_size, sizeof(*iitem)); in check_inode_item()
1296 if (unlikely(item_size < sizeof(*ei))) { in check_extent_item()
[all …]
A Dxattr.c175 const u32 item_size = btrfs_item_size(leaf, slot); in btrfs_setxattr() local
188 if (old_data_len + name_len + sizeof(*di) == item_size) { in btrfs_setxattr()
307 u32 item_size; in btrfs_listxattr() local
322 item_size = btrfs_item_size(leaf, slot); in btrfs_listxattr()
324 while (cur < item_size) { in btrfs_listxattr()
A Dbackref.c1029 u64 item_size; in add_inline_refs() local
1037 item_size = btrfs_item_size(leaf, slot); in add_inline_refs()
1038 BUG_ON(item_size < sizeof(*ei)); in add_inline_refs()
1052 end = (unsigned long)ei + item_size; in add_inline_refs()
2168 u32 item_size; in extent_from_logical() local
2205 BUG_ON(item_size < sizeof(*ei)); in extent_from_logical()
2213 found_key->offset, flags, item_size); in extent_from_logical()
2241 u32 item_size, in get_extent_inline_ref() argument
2271 end = (unsigned long)ei + item_size; in get_extent_inline_ref()
2611 u32 item_size; in iterate_inode_extrefs() local
[all …]
A Dtree-log.c383 u32 item_size; in overwrite_item() local
412 if (dst_size != item_size) in overwrite_item()
415 if (item_size == 0) { in overwrite_item()
432 item_size); in overwrite_item()
498 key, item_size); in overwrite_item()
506 if (found_size > item_size) in overwrite_item()
559 src_ptr, item_size); in overwrite_item()
1130 u32 item_size; in __add_inode_ref() local
1492 u32 item_size; in count_inode_extrefs() local
3583 u32 item_size; in flush_dir_items_batch() local
[all …]
A Dctree.c870 int item_size; in btrfs_generic_bin_search() local
890 item_size = sizeof(struct btrfs_item); in btrfs_generic_bin_search()
893 item_size = sizeof(struct btrfs_key_ptr); in btrfs_generic_bin_search()
904 offset = p + mid * item_size; in btrfs_generic_bin_search()
3763 u32 item_size; in setup_leaf_for_split() local
3829 u32 item_size; in split_item() local
3840 buf = kmalloc(item_size, GFP_NOFS); in split_item()
3845 path->slots[0]), item_size); in split_item()
3874 item_size - split_offset); in split_item()
4257 u32 item_size; in btrfs_duplicate_item() local
[all …]
A Dextent-tree.c133 u32 item_size; in btrfs_lookup_extent_info() local
184 if (item_size >= sizeof(*ei)) { in btrfs_lookup_extent_info()
805 u64 item_size; in lookup_inline_extent_backref() local
960 if (item_size + extra_size >= in lookup_inline_extent_backref()
1094 u32 item_size; in update_inline_extent_backref() local
1141 item_size -= size; in update_inline_extent_backref()
1573 u32 item_size; in run_delayed_extent_op() local
2300 u32 item_size; in check_committed_ref() local
2329 if (item_size != sizeof(*ei) + in check_committed_ref()
2941 u32 item_size; in __btrfs_free_extent() local
[all …]
A Ddev-replace.c83 int item_size; in btrfs_init_dev_replace() local
133 item_size = btrfs_item_size(eb, slot); in btrfs_init_dev_replace()
136 if (item_size != sizeof(struct btrfs_dev_replace_item)) { in btrfs_init_dev_replace()
A Dvolumes.c4641 u32 item_size; in btrfs_uuid_scan_kthread() local
4676 item_size = btrfs_item_size(eb, slot); in btrfs_uuid_scan_kthread()
4677 if (item_size < sizeof(root_item)) in btrfs_uuid_scan_kthread()
5013 if (array_size + item_size + sizeof(disk_key) in btrfs_add_system_chunk()
5021 memcpy(ptr, chunk, item_size); in btrfs_add_system_chunk()
5022 item_size += sizeof(disk_key); in btrfs_add_system_chunk()
5536 size_t item_size; in btrfs_chunk_alloc_add_chunk_item() local
5574 chunk = kzalloc(item_size, GFP_NOFS); in btrfs_chunk_alloc_add_chunk_item()
7526 int item_size; in btrfs_device_init_dev_stats() local
7545 item_size = btrfs_item_size(eb, slot); in btrfs_device_init_dev_stats()
[all …]
A Dbackref.h204 u32 item_size, u64 *out_root, u8 *out_level);
A Dfile-item.c1161 u32 item_size; in btrfs_csum_file_blocks() local
1164 item_size = btrfs_item_size(leaf, path->slots[0]); in btrfs_csum_file_blocks()
1165 if ((item_size / csum_size) >= in btrfs_csum_file_blocks()
A Dref-verify.c441 u32 item_size = btrfs_item_size(leaf, slot); in process_extent_item() local
463 end = (unsigned long)ei + item_size; in process_extent_item()
A Dcheck-integrity.c935 u32 item_size; in btrfsic_process_metablock() local
951 item_size = btrfs_stack_item_size(&disk_item); in btrfsic_process_metablock()
962 if (root_item_offset + item_size > in btrfsic_process_metablock()
968 item_size); in btrfsic_process_metablock()
A Drelocation.c3169 u32 item_size; in add_tree_block() local
3175 item_size = btrfs_item_size(eb, path->slots[0]); in add_tree_block()
3178 item_size >= sizeof(*ei) + sizeof(*bi)) { in add_tree_block()
3183 end = (unsigned long)ei + item_size; in add_tree_block()
3224 } else if (unlikely(item_size == sizeof(struct btrfs_extent_item_v0))) { in add_tree_block()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dmlx5_core.h147 size_t item_size, size_t num_items, in mlx5_flexible_inlen() argument
152 if (fixed > INT_MAX || item_size > INT_MAX || num_items > INT_MAX) { in mlx5_flexible_inlen()
154 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
158 if (check_mul_overflow((int)item_size, (int)num_items, &inlen)) { in mlx5_flexible_inlen()
160 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
166 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
173 #define MLX5_FLEXIBLE_INLEN(dev, fixed, item_size, num_items) \ argument
174 mlx5_flexible_inlen(dev, fixed, item_size, num_items, __func__, __LINE__)
/linux-6.3-rc2/tools/power/acpi/os_specific/service_layers/
A Doslinuxtbl.c691 u8 item_size; in osl_list_bios_tables() local
697 item_size = sizeof(u64); in osl_list_bios_tables()
703 / item_size); in osl_list_bios_tables()
706 item_size = sizeof(u32); in osl_list_bios_tables()
712 / item_size); in osl_list_bios_tables()
717 for (i = 0; i < number_of_tables; ++i, table_data += item_size) { in osl_list_bios_tables()
775 u8 item_size; in osl_get_bios_table() local
886 item_size = sizeof(u64); in osl_get_bios_table()
893 / item_size); in osl_get_bios_table()
896 item_size = sizeof(u32); in osl_get_bios_table()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-prd.c339 int msg_size, item_size; in opal_prd_msg_notifier() local
349 item_size = msg_size + sizeof(*item) - sizeof(item->msg); in opal_prd_msg_notifier()
351 item = kzalloc(item_size, GFP_ATOMIC); in opal_prd_msg_notifier()
/linux-6.3-rc2/drivers/soc/qcom/
A Dsocinfo.c759 size_t item_size; in qcom_socinfo_probe() local
762 &item_size); in qcom_socinfo_probe()
780 if (offsetof(struct socinfo, serial_num) <= item_size) in qcom_socinfo_probe()
789 socinfo_debugfs_init(qs, info, item_size); in qcom_socinfo_probe()
792 add_device_randomness(info, item_size); in qcom_socinfo_probe()
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
A Ddebugfs.c777 #define item_size(n) (sizeof_field(struct lbs_private, n)) macro
790 {"psmode", item_size(psmode), item_addr(psmode)},
791 {"psstate", item_size(psstate), item_addr(psstate)},
/linux-6.3-rc2/tools/perf/util/scripting-engines/
A Dtrace-event-python.c348 unsigned int item_size, n_items, i; in get_field_numeric_entry() local
352 item_size = field->size / field->arraylen; in get_field_numeric_entry()
355 item_size = field->size; in get_field_numeric_entry()
361 val = read_size(event, data + field->offset + i * item_size, in get_field_numeric_entry()
362 item_size); in get_field_numeric_entry()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/debug/src/
A Dia_css_debug.c3155 u32 item_size; in debug_dump_one_trace() local
3173 item_size = TRACE_SP0_ITEM_SIZE; in debug_dump_one_trace()
3180 item_size = TRACE_SP1_ITEM_SIZE; in debug_dump_one_trace()
3187 item_size = TRACE_ISP_ITEM_SIZE; in debug_dump_one_trace()
3226 (i * item_size)); in debug_dump_one_trace()

Completed in 100 milliseconds

12