/linux/fs/btrfs/ |
A D | tree-checker.c | 193 dir_item_err(leaf, slot, in check_prev_ino() 346 generic_err(leaf, slot, in check_csum_item() 352 generic_err(leaf, slot, in check_csum_item() 358 generic_err(leaf, slot, in check_csum_item() 664 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 1113 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1234 extent_err(leaf, slot, in check_extent_item() 1260 extent_err(leaf, slot, in check_extent_item() 1616 generic_err(leaf, 0, in check_leaf() 1640 generic_err(leaf, 0, in check_leaf() [all …]
|
A D | dir-item.c | 31 struct extent_buffer *leaf; in insert_with_overflow() local 43 leaf = path->nodes[0]; in insert_with_overflow() 66 struct extent_buffer *leaf; in btrfs_insert_xattr_item() local 83 leaf = path->nodes[0]; in btrfs_insert_xattr_item() 117 struct extent_buffer *leaf; in btrfs_insert_dir_item() local 143 leaf = path->nodes[0]; in btrfs_insert_dir_item() 272 leaf = path->nodes[0]; in btrfs_check_dir_item_collision() 344 leaf = path->nodes[0]; in btrfs_search_dir_index_item() 354 leaf = path->nodes[0]; in btrfs_search_dir_index_item() 409 leaf = path->nodes[0]; in btrfs_match_dir_item_name() [all …]
|
A D | file-item.c | 157 leaf = path->nodes[0]; in btrfs_insert_file_extent() 199 leaf = path->nodes[0]; in btrfs_lookup_csum() 531 leaf = path->nodes[0]; in btrfs_lookup_csums_range() 543 leaf = path->nodes[0]; in btrfs_lookup_csums_range() 550 leaf = path->nodes[0]; in btrfs_lookup_csums_range() 752 leaf = path->nodes[0]; in truncate_one_csum() 826 leaf = path->nodes[0]; in btrfs_del_csums() 1001 leaf = path->nodes[0]; in btrfs_csum_file_blocks() 1015 leaf = path->nodes[0]; in btrfs_csum_file_blocks() 1062 leaf = path->nodes[0]; in btrfs_csum_file_blocks() [all …]
|
A D | inode-item.c | 22 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_find_name_in_backref() 23 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref() 49 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref() 107 struct extent_buffer *leaf; in btrfs_del_inode_extref() local 141 leaf = path->nodes[0]; in btrfs_del_inode_extref() 177 struct extent_buffer *leaf; in btrfs_del_inode_ref() local 210 leaf = path->nodes[0]; in btrfs_del_inode_ref() 258 struct extent_buffer *leaf; in btrfs_insert_inode_extref() local 284 leaf = path->nodes[0]; in btrfs_insert_inode_extref() 405 struct extent_buffer *leaf; in btrfs_lookup_inode() local [all …]
|
A D | xattr.c | 29 struct extent_buffer *leaf; in btrfs_getxattr() local 48 leaf = path->nodes[0]; in btrfs_getxattr() 51 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 56 if (btrfs_dir_data_len(leaf, di) > size) { in btrfs_getxattr() 69 btrfs_dir_name_len(leaf, di)); in btrfs_getxattr() 71 btrfs_dir_data_len(leaf, di)); in btrfs_getxattr() 72 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 178 if (btrfs_leaf_free_space(leaf) < in btrfs_setxattr() 206 btrfs_mark_buffer_dirty(leaf); in btrfs_setxattr() 303 struct extent_buffer *leaf; in btrfs_listxattr() local [all …]
|
A D | ctree.c | 2060 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 2084 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 3432 leaf = path->nodes[0]; in setup_leaf_for_split() 3459 leaf = path->nodes[0]; in setup_leaf_for_split() 3501 leaf = path->nodes[0]; in split_item() 3512 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 3604 leaf = path->nodes[0]; in btrfs_truncate_item() 3699 leaf = path->nodes[0]; in btrfs_extend_item() 3783 leaf = path->nodes[0]; in setup_items_for_insert() 3946 leaf = path->nodes[0]; in btrfs_duplicate_item() [all …]
|
A D | file.c | 701 struct extent_buffer *leaf; in btrfs_drop_extents() local 752 leaf = path->nodes[0]; in btrfs_drop_extents() 761 leaf = path->nodes[0]; in btrfs_drop_extents() 772 leaf = path->nodes[0]; in btrfs_drop_extents() 857 leaf = path->nodes[0]; in btrfs_drop_extents() 1011 leaf = path->nodes[0]; in btrfs_drop_extents() 1091 struct extent_buffer *leaf; in btrfs_mark_extent_written() local 1126 leaf = path->nodes[0]; in btrfs_mark_extent_written() 1224 leaf = path->nodes[0]; in btrfs_mark_extent_written() 2460 leaf = path->nodes[0]; in fill_holes() [all …]
|
A D | root-tree.c | 208 struct extent_buffer *leaf; in btrfs_find_orphan_roots() local 232 leaf = path->nodes[0]; in btrfs_find_orphan_roots() 239 leaf = path->nodes[0]; in btrfs_find_orphan_roots() 322 struct extent_buffer *leaf; in btrfs_del_root_ref() local 340 leaf = path->nodes[0]; in btrfs_del_root_ref() 341 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 397 struct extent_buffer *leaf; in btrfs_add_root_ref() local 416 leaf = path->nodes[0]; in btrfs_add_root_ref() 418 btrfs_set_root_ref_dirid(leaf, ref, dirid); in btrfs_add_root_ref() 422 write_extent_buffer(leaf, name, ptr, name_len); in btrfs_add_root_ref() [all …]
|
A D | extent-tree.c | 173 leaf = path->nodes[0]; in btrfs_lookup_extent_info() 478 leaf = path->nodes[0]; in lookup_extent_data_ref() 488 leaf = path->nodes[0]; in lookup_extent_data_ref() 545 leaf = path->nodes[0]; in insert_extent_data_ref() 606 leaf = path->nodes[0]; in remove_extent_data_ref() 651 leaf = path->nodes[0]; in extent_data_ref_count() 867 leaf = path->nodes[0]; in lookup_inline_extent_backref() 993 leaf = path->nodes[0]; in setup_inline_extent_backref() 1479 leaf = path->nodes[0]; in __btrfs_inc_extent_ref() 1636 leaf = path->nodes[0]; in run_delayed_extent_op() [all …]
|
A D | export.c | 140 struct extent_buffer *leaf; in btrfs_get_parent() local 172 leaf = path->nodes[0]; in btrfs_get_parent() 181 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 183 key.objectid = btrfs_root_ref_dirid(leaf, ref); in btrfs_get_parent() 210 struct extent_buffer *leaf; in btrfs_get_name() local 249 leaf = path->nodes[0]; in btrfs_get_name() 252 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 255 name_len = btrfs_root_ref_name_len(leaf, rref); in btrfs_get_name() 257 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 260 name_len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_get_name() [all …]
|
A D | free-space-tree.c | 57 struct extent_buffer *leaf; in add_new_free_space_info() local 68 leaf = path->nodes[0]; in add_new_free_space_info() 194 struct extent_buffer *leaf; in convert_free_space_to_bitmaps() local 223 leaf = path->nodes[0]; in convert_free_space_to_bitmaps() 266 leaf = path->nodes[0]; in convert_free_space_to_bitmaps() 304 leaf = path->nodes[0]; in convert_free_space_to_bitmaps() 360 leaf = path->nodes[0]; in convert_free_space_to_extents() 409 leaf = path->nodes[0]; in convert_free_space_to_extents() 503 leaf = path->nodes[0]; in free_space_test_bit() 528 leaf = path->nodes[0]; in free_space_set_bits() [all …]
|
/linux/fs/xfs/libxfs/ |
A D | xfs_iext_tree.c | 242 cur->leaf = cur->leaf->next; in xfs_iext_next() 269 cur->leaf = cur->leaf->prev; in xfs_iext_prev() 810 if (cur->leaf == leaf) { in xfs_iext_rebalance_leaf() 811 cur->leaf = leaf->prev; in xfs_iext_rebalance_leaf() 832 if (cur->leaf == leaf->next) { in xfs_iext_rebalance_leaf() 833 cur->leaf = leaf; in xfs_iext_rebalance_leaf() 838 leaf = leaf->next; in xfs_iext_rebalance_leaf() 846 leaf->prev->next = leaf->next; in xfs_iext_rebalance_leaf() 848 leaf->next->prev = leaf->prev; in xfs_iext_rebalance_leaf() 892 cur->leaf = leaf->next; in xfs_iext_remove() [all …]
|
A D | xfs_dir2_leaf.c | 142 struct xfs_dir2_leaf *leaf, in xfs_dir3_leaf_check_int() argument 150 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int() 323 memset(leaf, 0, sizeof(*leaf)); in xfs_dir3_leaf_init() 420 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf() 655 leaf = lbp->b_addr; in xfs_dir2_leaf_addname() 926 leaf = bp->b_addr; in xfs_dir3_leaf_compact() 1123 (uint)((char *)&leaf->hdr - (char *)leaf), in xfs_dir3_leaf_log_header() 1240 leaf = lbp->b_addr; in xfs_dir2_leaf_lookup_int() 1373 leaf = lbp->b_addr; in xfs_dir2_leaf_removename() 1613 leaf = lbp->b_addr; in xfs_dir2_leaf_trim_data() [all …]
|
A D | xfs_attr_leaf.c | 987 leaf = bp->b_addr; in xfs_attr_shortform_allfit() 1266 leaf = bp->b_addr; in xfs_attr3_leaf_create() 1372 leaf = bp->b_addr; in xfs_attr3_leaf_add() 1428 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_add() 1453 leaf = bp->b_addr; in xfs_attr3_leaf_add_work() 1530 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_add_work() 2101 leaf = bp->b_addr; in xfs_attr3_leaf_remove() 2186 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_remove() 2221 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_remove() 2380 leaf = bp->b_addr; in xfs_attr3_leaf_lookup_int() [all …]
|
/linux/tools/arch/x86/kcpuid/ |
A D | kcpuid.c | 127 leaf->sub, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw() 130 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw() 170 leaf->eax = a; in cpuid_store() 171 leaf->ebx = b; in cpuid_store() 172 leaf->ecx = c; in cpuid_store() 173 leaf->edx = d; in cpuid_store() 468 if (!leaf) in show_leaf() 474 decode_bits(leaf->eax, &leaf->info[R_EAX]); in show_leaf() 475 decode_bits(leaf->ebx, &leaf->info[R_EBX]); in show_leaf() 476 decode_bits(leaf->ecx, &leaf->info[R_ECX]); in show_leaf() [all …]
|
/linux/fs/unicode/ |
A D | utf8-norm.c | 408 utf8leaf_t *leaf; in utf8agemax() local 418 if (!leaf) in utf8agemax() 437 utf8leaf_t *leaf; in utf8agemin() local 447 if (!leaf) in utf8agemin() 464 utf8leaf_t *leaf; in utf8nagemax() local 474 if (!leaf) in utf8nagemax() 502 if (!leaf) in utf8nagemin() 530 if (!leaf) in utf8len() 558 if (!leaf) in utf8nlen() 688 if (!leaf) in utf8byte() [all …]
|
A D | mkutf8data.c | 410 return leaf; in lookup() 1420 leaf->code, leaf->ccc, leaf->gen); in nfdi_print() 1422 if (leaf->utf8nfdi && leaf->utf8nfdi[0] == HANGUL) in nfdi_print() 1435 leaf->code, leaf->ccc, leaf->gen); in nfdicf_print() 2815 if (!leaf) in utf8agemax() 2842 if (!leaf) in utf8agemin() 2868 if (!leaf) in utf8nagemax() 2895 if (!leaf) in utf8nagemin() 2922 if (!leaf) in utf8len() 2949 if (!leaf) in utf8nlen() [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | eeprom.c | 245 leaf->type = 0; in tulip_parse_eeprom() 247 leaf->leafdata = p; in tulip_parse_eeprom() 252 leaf->type = p[1]; in tulip_parse_eeprom() 261 leaf->leafdata = p + 2; in tulip_parse_eeprom() 268 leaf->media = 11; in tulip_parse_eeprom() 277 leaf->media = 3; in tulip_parse_eeprom() 278 switch (leaf->media) { in tulip_parse_eeprom() 298 leaf->leafdata = p + 2; in tulip_parse_eeprom() 311 i, medianame[leaf->media & 15], leaf->media, in tulip_parse_eeprom() 312 leaf->type < ARRAY_SIZE(block_name) ? block_name[leaf->type] : "<unknown>", in tulip_parse_eeprom() [all …]
|
/linux/arch/x86/kernel/cpu/ |
A D | topology.c | 35 static int check_extended_topology_leaf(int leaf) in check_extended_topology_leaf() argument 39 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in check_extended_topology_leaf() 69 int leaf; in detect_extended_topology_early() local 71 leaf = detect_extended_topology_leaf(c); in detect_extended_topology_early() 72 if (leaf < 0) in detect_extended_topology_early() 77 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology_early() 100 int leaf; in detect_extended_topology() local 102 leaf = detect_extended_topology_leaf(c); in detect_extended_topology() 103 if (leaf < 0) in detect_extended_topology() 109 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology() [all …]
|
/linux/drivers/net/can/usb/kvaser_usb/ |
A D | kvaser_usb_leaf.c | 184 } __packed leaf; member 307 } __packed leaf; member 337 } leaf; member 408 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_frame_to_cmd() 554 switch (dev->card_data.leaf.family) { in kvaser_usb_leaf_get_software_info_inner() 739 if (es->leaf.error_factor) { in kvaser_usb_leaf_rx_error_update_can_state() 818 if (es->leaf.error_factor) { in kvaser_usb_leaf_rx_error() 946 es.leaf.error_factor = cmd->u.leaf.error_event.error_factor; in kvaser_usb_leaf_leaf_rx_error() 953 es.leaf.error_factor = cmd->u.leaf.log_message.data[1]; in kvaser_usb_leaf_leaf_rx_error() 960 es.leaf.error_factor = 0; in kvaser_usb_leaf_leaf_rx_error() [all …]
|
/linux/net/ipv6/ |
A D | ip6_fib.c | 462 w->leaf = NULL; in fib6_node_dump() 524 w->leaf = rt; in fib6_dump_node() 900 in->leaf = fn->leaf; in fib6_add_1() 1581 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_node_lookup_1() local 1584 if (!leaf) in fib6_node_lookup_1() 1664 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_locate_1() local 1668 if (!leaf) { in fib6_locate_1() 1917 leaf = rcu_dereference_protected(fn->leaf, in fib6_del_route() 2100 w->leaf = rcu_dereference_protected(fn->leaf, 1); in fib6_walk_continue() 2141 w->leaf = rcu_dereference_protected(w->node->leaf, 1); in fib6_walk_continue() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | xdpwall.c | 118 __u8 *leaf; in filter_ipv6_addr() local 120 leaf = bpf_map_lookup_elem(&v6_addr_map, ipv6addr); in filter_ipv6_addr() 122 return leaf ? *leaf : 0; in filter_ipv6_addr() 127 __u8 *leaf; in filter_ipv4_addr() local 129 leaf = bpf_map_lookup_elem(&v4_addr_map, &ipaddr); in filter_ipv4_addr() 131 return leaf ? *leaf : 0; in filter_ipv4_addr() 221 __u8 *leaf = bpf_map_lookup_elem(&tcp_port_map, &port); in filter_tcp_port() local 223 return leaf ? *leaf : 0; in filter_tcp_port() 228 __u16 *leaf = bpf_map_lookup_elem(&udp_port_map, &port); in filter_udp_port() local 230 return leaf ? *leaf : 0; in filter_udp_port()
|
/linux/arch/mips/kernel/ |
A D | cacheinfo.c | 8 #define populate_cache(cache, leaf, c_level, c_type) \ argument 10 leaf->type = c_type; \ 11 leaf->level = c_level; \ 12 leaf->coherency_line_size = c->cache.linesz; \ 13 leaf->number_of_sets = c->cache.sets; \ 14 leaf->ways_of_associativity = c->cache.ways; \ 15 leaf->size = c->cache.linesz * c->cache.sets * \ 17 leaf++; \
|
/linux/drivers/infiniband/hw/irdma/ |
A D | pble.c | 318 struct irdma_pble_info *leaf = lvl2->leaf; in free_lvl2() local 321 if (leaf->addr) in free_lvl2() 323 &leaf->chunkinfo); in free_lvl2() 332 lvl2->leaf = NULL; in free_lvl2() 349 struct irdma_pble_info *leaf; in get_lvl2_pble() local 364 lvl2->leaf = lvl2->leafmem.va; in get_lvl2_pble() 365 leaf = lvl2->leaf; in get_lvl2_pble() 370 lvl2->leaf = NULL; in get_lvl2_pble() 382 &leaf->addr, &fpm_addr); in get_lvl2_pble() 388 leaf->cnt = pblcnt; in get_lvl2_pble() [all …]
|
/linux/fs/xfs/scrub/ |
A D | attr.c | 246 struct xfs_attr_leafblock *leaf, in xchk_xattr_entry() argument 278 lentry = xfs_attr3_leaf_name_local(leaf, idx); in xchk_xattr_entry() 285 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry() 311 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_block() local 340 struct xfs_attr3_leafblock *leaf = bp->b_addr; in xchk_xattr_block() local 342 if (leaf->hdr.pad1 != 0 || leaf->hdr.pad2 != 0 || in xchk_xattr_block() 343 leaf->hdr.info.hdr.pad != 0) in xchk_xattr_block() 346 if (leaf->hdr.pad1 != 0 || leaf->hdr.info.pad != 0) in xchk_xattr_block() 352 hdrsize = xfs_attr3_leaf_hdr_size(leaf); in xchk_xattr_block() 366 entries = xfs_attr3_leaf_entryp(leaf); in xchk_xattr_block() [all …]
|