Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H 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 …]
H A Dutil.h27 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n)) macro
/openbmc/linux/fs/btrfs/
H 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 …]
H 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 …]
H 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()
100 item_size, sizeof(*ei)); in print_extent_item()
126 end = (unsigned long)ei + item_size; in print_extent_item()
175 u32 item_size) in print_uuid_item() argument
177 if (!IS_ALIGNED(item_size, sizeof(u64))) { in print_uuid_item()
179 (unsigned long)item_size); in print_uuid_item()
182 while (item_size) { in print_uuid_item()
187 item_size -= sizeof(u64); in print_uuid_item()
H A Dtree-checker.c296 if (unlikely(item_size != sizeof(*fi))) { in check_extent_data_item()
299 item_size, sizeof(*fi)); in check_extent_data_item()
512 while (cur < item_size) { in check_dir_item()
526 cur + sizeof(*di), item_size); in check_dir_item()
607 cur + total_size, item_size); in check_dir_item()
679 if (unlikely(item_size != sizeof(bgi))) { in check_block_group_item()
682 item_size, sizeof(bgi)); in check_block_group_item()
1030 item_size, sizeof(*ditem)); in check_dev_item()
1081 item_size, sizeof(*iitem)); in check_inode_item()
1353 if (unlikely(item_size < sizeof(*ei))) { in check_extent_item()
[all …]
H 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()
H A Dtree-log.c402 u32 item_size; in overwrite_item() local
431 if (dst_size != item_size) in overwrite_item()
434 if (item_size == 0) { in overwrite_item()
451 item_size); in overwrite_item()
517 key, item_size); in overwrite_item()
525 if (found_size > item_size) in overwrite_item()
578 src_ptr, item_size); in overwrite_item()
1149 u32 item_size; in __add_inode_ref() local
1511 u32 item_size; in count_inode_extrefs() local
3572 u32 item_size; in flush_dir_items_batch() local
[all …]
H A Dbackref.c1030 u64 item_size; in add_inline_refs() local
1038 item_size = btrfs_item_size(leaf, slot); in add_inline_refs()
1039 BUG_ON(item_size < sizeof(*ei)); in add_inline_refs()
1053 end = (unsigned long)ei + item_size; in add_inline_refs()
2210 u32 item_size; in extent_from_logical() local
2247 BUG_ON(item_size < sizeof(*ei)); in extent_from_logical()
2255 found_key->offset, flags, item_size); in extent_from_logical()
2283 u32 item_size, in get_extent_inline_ref() argument
2313 end = (unsigned long)ei + item_size; in get_extent_inline_ref()
2653 u32 item_size; in iterate_inode_extrefs() local
[all …]
H A Dextent-tree.c112 u32 item_size; in btrfs_lookup_extent_info() local
163 if (item_size >= sizeof(*ei)) { in btrfs_lookup_extent_info()
172 item_size, sizeof(*ei)); in btrfs_lookup_extent_info()
785 u64 item_size; in lookup_inline_extent_backref() local
867 item_size, sizeof(*ei)); in lookup_inline_extent_backref()
1083 u32 item_size; in update_inline_extent_backref() local
1178 item_size -= size; in update_inline_extent_backref()
1621 u32 item_size; in run_delayed_extent_op() local
1689 item_size, sizeof(*ei)); in run_delayed_extent_op()
2329 u32 item_size; in check_committed_ref() local
[all …]
H A Dctree.c932 int item_size; in btrfs_bin_search() local
952 item_size = sizeof(struct btrfs_item); in btrfs_bin_search()
955 item_size = sizeof(struct btrfs_key_ptr); in btrfs_bin_search()
966 offset = p + mid * item_size; in btrfs_bin_search()
3979 u32 item_size; in setup_leaf_for_split() local
4046 u32 item_size; in split_item() local
4062 buf = kmalloc(item_size, GFP_NOFS); in split_item()
4067 path->slots[0]), item_size); in split_item()
4096 item_size - split_offset); in split_item()
4485 u32 item_size; in btrfs_duplicate_item() local
[all …]
H 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()
H A Dvolumes.c4668 u32 item_size; in btrfs_uuid_scan_kthread() local
4703 item_size = btrfs_item_size(eb, slot); in btrfs_uuid_scan_kthread()
4704 if (item_size < sizeof(root_item)) in btrfs_uuid_scan_kthread()
5040 if (array_size + item_size + sizeof(disk_key) in btrfs_add_system_chunk()
5048 memcpy(ptr, chunk, item_size); in btrfs_add_system_chunk()
5049 item_size += sizeof(disk_key); in btrfs_add_system_chunk()
5562 size_t item_size; in btrfs_chunk_alloc_add_chunk_item() local
5600 chunk = kzalloc(item_size, GFP_NOFS); in btrfs_chunk_alloc_add_chunk_item()
7429 int item_size; in btrfs_device_init_dev_stats() local
7448 item_size = btrfs_item_size(eb, slot); in btrfs_device_init_dev_stats()
[all …]
H A Dbackref.h210 u32 item_size, u64 *out_root, u8 *out_level);
H A Dfile-item.c1086 u32 item_size; in btrfs_csum_file_blocks() local
1089 item_size = btrfs_item_size(leaf, path->slots[0]); in btrfs_csum_file_blocks()
1090 if ((item_size / csum_size) >= in btrfs_csum_file_blocks()
H 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()
/openbmc/linux/tools/power/acpi/os_specific/service_layers/
H 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmlx5_core.h148 size_t item_size, size_t num_items, in mlx5_flexible_inlen() argument
153 if (fixed > INT_MAX || item_size > INT_MAX || num_items > INT_MAX) { in mlx5_flexible_inlen()
155 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
159 if (check_mul_overflow((int)item_size, (int)num_items, &inlen)) { in mlx5_flexible_inlen()
161 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
167 __func__, func, line, fixed, item_size, num_items); in mlx5_flexible_inlen()
174 #define MLX5_FLEXIBLE_INLEN(dev, fixed, item_size, num_items) \ argument
175 mlx5_flexible_inlen(dev, fixed, item_size, num_items, __func__, __LINE__)
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-prd.c346 int msg_size, item_size; in opal_prd_msg_notifier() local
356 item_size = msg_size + sizeof(*item) - sizeof(item->msg); in opal_prd_msg_notifier()
358 item = kzalloc(item_size, GFP_ATOMIC); in opal_prd_msg_notifier()
/openbmc/qemu/block/
H A Dvvfat.c86 unsigned int size,next,item_size; member
94 array->item_size=item_size; in array_init()
107 return array->pointer + index * array->item_size; in array_get()
112 if((index + 1) * array->item_size > array->size) { in array_ensure_allocated()
132 int increment=count*array->item_size; in array_insert()
139 array->pointer+index*array->item_size, in array_insert()
140 (array->next-index)*array->item_size); in array_insert()
142 return array->pointer+index*array->item_size; in array_insert()
168 assert((offset % array->item_size) == 0); in array_index()
169 assert(offset/array->item_size < array->next); in array_index()
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dsocinfo.c739 size_t item_size; in qcom_socinfo_probe() local
742 &item_size); in qcom_socinfo_probe()
760 if (offsetof(struct socinfo, serial_num) <= item_size) in qcom_socinfo_probe()
769 socinfo_debugfs_init(qs, info, item_size); in qcom_socinfo_probe()
772 add_device_randomness(info, item_size); in qcom_socinfo_probe()
/openbmc/u-boot/fs/btrfs/
H A Dctree.c42 static int generic_bin_search(void *addr, int item_size, struct btrfs_key *key, in generic_bin_search() argument
51 tmp = (struct btrfs_key *) ((u8 *) addr + mid*item_size); in generic_bin_search()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H 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)},
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c352 unsigned int item_size, n_items, i; in get_field_numeric_entry() local
356 item_size = field->size / field->arraylen; in get_field_numeric_entry()
359 item_size = field->size; in get_field_numeric_entry()
365 val = read_size(event, data + field->offset + i * item_size, in get_field_numeric_entry()
366 item_size); in get_field_numeric_entry()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/debug/src/
H 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()

12