/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | util.c | 29 {"debug_mask", item_size(debug_mask), 31 {"int_counter", item_size(int_counter), 33 {"wmm_ac_vo", item_size(packets_out[WMM_AC_VO]), 35 {"wmm_ac_vi", item_size(packets_out[WMM_AC_VI]), 37 {"wmm_ac_be", item_size(packets_out[WMM_AC_BE]), 39 {"wmm_ac_bk", item_size(packets_out[WMM_AC_BK]), 41 {"tx_buf_size", item_size(tx_buf_size), 43 {"curr_tx_buf_size", item_size(curr_tx_buf_size), 45 {"ps_mode", item_size(ps_mode), 47 {"ps_state", item_size(ps_state), [all …]
|
D | util.h | 39 #define item_size(n) (FIELD_SIZEOF(struct mwifiex_debug_info, n)) macro
|
/Linux-v4.19/fs/btrfs/ |
D | uuid-tree.c | 29 u32 item_size; in btrfs_uuid_tree_lookup() local 55 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_lookup() 59 if (!IS_ALIGNED(item_size, sizeof(u64))) { in btrfs_uuid_tree_lookup() 62 (unsigned long)item_size); in btrfs_uuid_tree_lookup() 65 while (item_size) { in btrfs_uuid_tree_lookup() 74 item_size -= sizeof(data); in btrfs_uuid_tree_lookup() 158 u32 item_size; in btrfs_uuid_tree_remove() local 190 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_remove() 191 if (!IS_ALIGNED(item_size, sizeof(u64))) { in btrfs_uuid_tree_remove() 193 (unsigned long)item_size); in btrfs_uuid_tree_remove() [all …]
|
D | inode-item.c | 18 u32 item_size; in btrfs_find_name_in_backref() local 22 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_find_name_in_backref() 24 while (cur_offset < item_size) { in btrfs_find_name_in_backref() 48 u32 item_size; in btrfs_find_name_in_ext_backref() local 52 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_find_name_in_ext_backref() 61 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref() 122 u32 item_size; in btrfs_del_inode_extref() local 154 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_del_inode_extref() 158 if (del_len == item_size) { in btrfs_del_inode_extref() 171 item_size - (ptr + del_len - item_start)); in btrfs_del_inode_extref() [all …]
|
D | tree-checker.c | 113 u32 item_size = btrfs_item_size_nr(leaf, slot); in check_extent_data_item() local 164 if (item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START + in check_extent_data_item() 168 item_size, BTRFS_FILE_EXTENT_INLINE_DATA_START + in check_extent_data_item() 176 if (item_size != sizeof(*fi)) { in check_extent_data_item() 179 item_size, sizeof(*fi)); in check_extent_data_item() 252 u32 item_size = btrfs_item_size_nr(leaf, slot); in check_dir_item() local 256 while (cur < item_size) { in check_dir_item() 265 if (cur + sizeof(*di) > item_size) { in check_dir_item() 268 cur + sizeof(*di), item_size); in check_dir_item() 326 if (cur + total_size > item_size) { in check_dir_item() [all …]
|
D | print-tree.c | 50 u32 item_size = btrfs_item_size_nr(eb, slot); in print_extent_item() local 55 if (unlikely(item_size < sizeof(*ei))) { in print_extent_item() 82 end = (unsigned long)ei + item_size; in print_extent_item() 129 u32 item_size) in print_uuid_item() argument 131 if (!IS_ALIGNED(item_size, sizeof(u64))) { in print_uuid_item() 133 (unsigned long)item_size); in print_uuid_item() 136 while (item_size) { in print_uuid_item() 142 item_size -= sizeof(u64); in print_uuid_item()
|
D | xattr.c | 169 const u32 item_size = btrfs_item_size_nr(leaf, slot); in do_setxattr() local 183 if (old_data_len + name_len + sizeof(*di) == item_size) { in do_setxattr() 286 u32 item_size; in btrfs_listxattr() local 317 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_listxattr() 319 while (cur < item_size) { in btrfs_listxattr()
|
D | backref.c | 886 u64 item_size; in add_inline_refs() local 894 item_size = btrfs_item_size_nr(leaf, slot); in add_inline_refs() 895 BUG_ON(item_size < sizeof(*ei)); in add_inline_refs() 903 end = (unsigned long)ei + item_size; in add_inline_refs() 1688 u32 item_size; local 1724 item_size = btrfs_item_size_nr(eb, path->slots[0]); 1725 BUG_ON(item_size < sizeof(*ei)); 1733 found_key->offset, flags, item_size); 1761 u32 item_size, argument 1787 if ((unsigned long)(*ptr) >= (unsigned long)ei + item_size) [all …]
|
D | tree-log.c | 333 u32 item_size; in overwrite_item() local 344 item_size = btrfs_item_size_nr(eb, slot); in overwrite_item() 357 if (dst_size != item_size) in overwrite_item() 360 if (item_size == 0) { in overwrite_item() 364 dst_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item() 365 src_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item() 373 read_extent_buffer(eb, src_copy, src_ptr, item_size); in overwrite_item() 377 item_size); in overwrite_item() 378 ret = memcmp(dst_copy, src_copy, item_size); in overwrite_item() 443 key, item_size); in overwrite_item() [all …]
|
D | file-item.c | 227 u32 item_size; in __btrfs_lookup_bio_sums() local 254 item_size = btrfs_item_size_nr(path->nodes[0], in __btrfs_lookup_bio_sums() 257 (item_size / csum_size) * in __btrfs_lookup_bio_sums() 769 u32 item_size; in btrfs_csum_file_blocks() local 772 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_csum_file_blocks() 773 if ((item_size / csum_size) >= in btrfs_csum_file_blocks()
|
D | backref.h | 28 u32 item_size, u64 *out_root, u8 *out_level);
|
D | ctree.c | 1667 unsigned long p, int item_size, in generic_bin_search() argument 1693 offset = p + mid * item_size; in generic_bin_search() 4328 u32 item_size; in setup_leaf_for_split() local 4340 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in setup_leaf_for_split() 4360 if (item_size != btrfs_item_size_nr(leaf, path->slots[0])) in setup_leaf_for_split() 4398 u32 item_size; in split_item() local 4409 item_size = btrfs_item_size(leaf, item); in split_item() 4411 buf = kmalloc(item_size, GFP_NOFS); in split_item() 4416 path->slots[0]), item_size); in split_item() 4433 btrfs_set_item_size(leaf, new_item, item_size - split_offset); in split_item() [all …]
|
D | relocation.c | 596 u32 item_size; in find_inline_backref() local 600 item_size = btrfs_item_size_nr(leaf, slot); in find_inline_backref() 601 if (item_size < sizeof(*ei)) { in find_inline_backref() 611 item_size <= sizeof(*ei) + sizeof(*bi)) { in find_inline_backref() 612 WARN_ON(item_size < sizeof(*ei) + sizeof(*bi)); in find_inline_backref() 616 item_size <= sizeof(*ei)) { in find_inline_backref() 617 WARN_ON(item_size < sizeof(*ei)); in find_inline_backref() 627 *end = (unsigned long)ei + item_size; in find_inline_backref() 3310 u32 item_size; in add_tree_block() local 3315 item_size = btrfs_item_size_nr(eb, path->slots[0]); in add_tree_block() [all …]
|
D | dev-replace.c | 41 int item_size; in btrfs_init_dev_replace() local 79 item_size = btrfs_item_size_nr(eb, slot); in btrfs_init_dev_replace() 82 if (item_size != sizeof(struct btrfs_dev_replace_item)) { in btrfs_init_dev_replace()
|
D | volumes.c | 4080 u32 item_size; in btrfs_uuid_scan_kthread() local 4110 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_scan_kthread() 4111 if (item_size < sizeof(root_item)) in btrfs_uuid_scan_kthread() 4515 struct btrfs_chunk *chunk, int item_size) in btrfs_add_system_chunk() argument 4524 if (array_size + item_size + sizeof(disk_key) in btrfs_add_system_chunk() 4534 memcpy(ptr, chunk, item_size); in btrfs_add_system_chunk() 4535 item_size += sizeof(disk_key); in btrfs_add_system_chunk() 4536 btrfs_set_super_sys_array_size(super_copy, array_size + item_size); in btrfs_add_system_chunk() 4880 size_t item_size; in btrfs_finish_chunk_alloc() local 4891 item_size = btrfs_chunk_item_size(map->num_stripes); in btrfs_finish_chunk_alloc() [all …]
|
D | extent-tree.c | 815 u32 item_size; in btrfs_lookup_extent_info() local 864 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_extent_info() 865 if (item_size >= sizeof(*ei)) { in btrfs_lookup_extent_info() 1487 u64 item_size; in lookup_inline_extent_backref() local 1558 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in lookup_inline_extent_backref() 1559 if (unlikely(item_size < sizeof(*ei))) { in lookup_inline_extent_backref() 1570 end = (unsigned long)ei + item_size; in lookup_inline_extent_backref() 1635 if (item_size + extra_size >= in lookup_inline_extent_backref() 1770 u32 item_size; in update_inline_extent_backref() local 1812 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in update_inline_extent_backref() [all …]
|
D | ref-verify.c | 447 u32 item_size = btrfs_item_size_nr(leaf, slot); in process_extent_item() local 469 end = (unsigned long)ei + item_size; in process_extent_item()
|
D | check-integrity.c | 998 u32 item_size; in btrfsic_process_metablock() local 1013 item_size = btrfs_stack_item_size(&disk_item); in btrfsic_process_metablock() 1024 if (root_item_offset + item_size > in btrfsic_process_metablock() 1030 item_size); in btrfsic_process_metablock()
|
D | send.c | 3592 u32 item_size; in is_ancestor() local 3610 item_size = btrfs_item_size_nr(leaf, slot); in is_ancestor() 3611 while (cur_offset < item_size) { in is_ancestor() 3629 cur_offset = item_size; in is_ancestor() 6361 u32 item_size; in compare_refs() local 6375 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in compare_refs() 6377 while (cur_offset < item_size) { in compare_refs()
|
/Linux-v4.19/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 691 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-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 350 int msg_size, item_size; in opal_prd_msg_notifier() local 360 item_size = msg_size + sizeof(*item) - sizeof(item->msg); in opal_prd_msg_notifier() 362 item = kzalloc(item_size, GFP_ATOMIC); in opal_prd_msg_notifier()
|
/Linux-v4.19/drivers/net/wireless/marvell/libertas/ |
D | debugfs.c | 783 #define item_size(n) (FIELD_SIZEOF(struct lbs_private, n)) macro 796 {"psmode", item_size(psmode), item_addr(psmode)}, 797 {"psstate", item_size(psstate), item_addr(psstate)},
|
/Linux-v4.19/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 341 unsigned int item_size, n_items, i; in get_field_numeric_entry() local 345 item_size = field->size / field->arraylen; in get_field_numeric_entry() 348 item_size = field->size; in get_field_numeric_entry() 354 val = read_size(event, data + field->offset + i * item_size, in get_field_numeric_entry() 355 item_size); in get_field_numeric_entry()
|
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 2583 ((char *)the_memblock + j*mempool->item_size); in __vxge_hw_mempool_grow() 2611 u32 item_size, in __vxge_hw_mempool_create() argument 2623 if (memblock_size < item_size) { in __vxge_hw_mempool_create() 2638 mempool->item_size = item_size; in __vxge_hw_mempool_create() 2645 mempool->items_per_memblock = memblock_size / item_size; in __vxge_hw_mempool_create()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_main.h | 964 u32 item_size; /* size in bytes of one object */ member
|