| /linux-6.15/fs/btrfs/ |
| H A D | tree-checker.c | 201 dir_item_err(leaf, slot, in check_prev_ino() 372 generic_err(leaf, slot, in check_csum_item() 378 generic_err(leaf, slot, in check_csum_item() 384 generic_err(leaf, slot, in check_csum_item() 708 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 774 bool is_sb = !leaf; in chunk_err() 836 if (leaf) { in btrfs_check_chunk_valid() 1214 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1947 generic_err(leaf, 0, in __btrfs_check_leaf() 1975 generic_err(leaf, 0, in __btrfs_check_leaf() [all …]
|
| H A D | dir-item.c | 32 struct extent_buffer *leaf; in insert_with_overflow() local 44 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() 116 struct extent_buffer *leaf; in btrfs_insert_dir_item() local 145 leaf = path->nodes[0]; in btrfs_insert_dir_item() 237 struct extent_buffer *leaf; in btrfs_check_dir_item_collision() local 269 leaf = path->nodes[0]; in btrfs_check_dir_item_collision() 379 struct extent_buffer *leaf; in btrfs_match_dir_item_name() local 381 leaf = path->nodes[0]; in btrfs_match_dir_item_name() [all …]
|
| H A D | inode-item.c | 28 item_size = btrfs_item_size(leaf, slot); in btrfs_find_name_in_backref() 115 struct extent_buffer *leaf; in btrfs_del_inode_extref() local 149 leaf = path->nodes[0]; in btrfs_del_inode_extref() 184 struct extent_buffer *leaf; in btrfs_del_inode_ref() local 216 leaf = path->nodes[0]; in btrfs_del_inode_ref() 265 struct extent_buffer *leaf; in btrfs_insert_inode_extref() local 290 leaf = path->nodes[0]; in btrfs_insert_inode_extref() 404 struct extent_buffer *leaf; in btrfs_lookup_inode() local 411 leaf = path->nodes[0]; in btrfs_lookup_inode() 460 struct extent_buffer *leaf; in btrfs_truncate_inode_items() local [all …]
|
| H A D | file-item.c | 181 leaf = path->nodes[0]; in btrfs_insert_hole_extent() 220 leaf = path->nodes[0]; in btrfs_lookup_csum() 491 leaf = path->nodes[0]; in btrfs_lookup_csums_list() 520 leaf = path->nodes[0]; in btrfs_lookup_csums_list() 647 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap() 677 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap() 832 leaf = path->nodes[0]; in truncate_one_csum() 905 leaf = path->nodes[0]; in btrfs_del_csums() 1079 leaf = path->nodes[0]; in btrfs_csum_file_blocks() 1140 leaf = path->nodes[0]; in btrfs_csum_file_blocks() [all …]
|
| H A D | raid-stripe-tree.c | 23 struct extent_buffer *leaf; in btrfs_partially_delete_raid_extent() local 36 leaf = path->nodes[0]; in btrfs_partially_delete_raid_extent() 38 item_size = btrfs_item_size(leaf, slot); in btrfs_partially_delete_raid_extent() 72 struct extent_buffer *leaf; in btrfs_delete_raid_extent() local 111 leaf = path->nodes[0]; in btrfs_delete_raid_extent() 141 leaf = path->nodes[0]; in btrfs_delete_raid_extent() 273 struct extent_buffer *leaf; in update_raid_extent_item() local 286 leaf = path->nodes[0]; in update_raid_extent_item() 289 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item() 377 struct extent_buffer *leaf; in btrfs_get_raid_extent_offset() local [all …]
|
| H A D | file.c | 144 struct extent_buffer *leaf; in btrfs_drop_extents() local 193 leaf = path->nodes[0]; in btrfs_drop_extents() 201 leaf = path->nodes[0]; in btrfs_drop_extents() 204 btrfs_print_leaf(leaf); in btrfs_drop_extents() 215 leaf = path->nodes[0]; in btrfs_drop_extents() 304 leaf = path->nodes[0]; in btrfs_drop_extents() 475 leaf = path->nodes[0]; in btrfs_drop_extents() 590 leaf = path->nodes[0]; in btrfs_mark_extent_written() 686 leaf = path->nodes[0]; in btrfs_mark_extent_written() 2003 leaf = path->nodes[0]; in fill_holes() [all …]
|
| H A D | xattr.c | 33 struct extent_buffer *leaf; in btrfs_getxattr() local 52 leaf = path->nodes[0]; in btrfs_getxattr() 55 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 60 if (btrfs_dir_data_len(leaf, di) > size) { in btrfs_getxattr() 73 btrfs_dir_name_len(leaf, di)); in btrfs_getxattr() 74 read_extent_buffer(leaf, buffer, data_ptr, in btrfs_getxattr() 75 btrfs_dir_data_len(leaf, di)); in btrfs_getxattr() 76 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 180 if (btrfs_leaf_free_space(leaf) < in btrfs_setxattr() 302 struct extent_buffer *leaf; in btrfs_listxattr() local [all …]
|
| H A D | ctree.c | 71 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, 0) + dst_offset, in memmove_leaf_data() 112 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, dst_item), in memmove_leaf_items() 2437 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 2461 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 3834 leaf = path->nodes[0]; in setup_leaf_for_split() 3862 leaf = path->nodes[0]; in setup_leaf_for_split() 3903 leaf = path->nodes[0]; in split_item() 3919 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 4007 leaf = path->nodes[0]; in btrfs_truncate_item() 4098 leaf = path->nodes[0]; in btrfs_extend_item() [all …]
|
| H A D | extent-tree.c | 459 leaf = path->nodes[0]; in lookup_extent_data_ref() 470 leaf = path->nodes[0]; in lookup_extent_data_ref() 527 leaf = path->nodes[0]; in insert_extent_data_ref() 554 leaf = path->nodes[0]; in insert_extent_data_ref() 587 leaf = path->nodes[0]; in remove_extent_data_ref() 630 leaf = path->nodes[0]; in extent_data_ref_count() 846 leaf = path->nodes[0]; in lookup_inline_extent_backref() 1006 leaf = path->nodes[0]; in setup_inline_extent_backref() 1514 leaf = path->nodes[0]; in __btrfs_inc_extent_ref() 1690 leaf = path->nodes[0]; in run_delayed_extent_op() [all …]
|
| /linux-6.15/fs/xfs/libxfs/ |
| H 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() 827 if (cur->leaf == leaf) { in xfs_iext_rebalance_leaf() 828 cur->leaf = leaf->prev; in xfs_iext_rebalance_leaf() 849 if (cur->leaf == leaf->next) { in xfs_iext_rebalance_leaf() 850 cur->leaf = leaf; in xfs_iext_rebalance_leaf() 855 leaf = leaf->next; in xfs_iext_rebalance_leaf() 863 leaf->prev->next = leaf->next; in xfs_iext_rebalance_leaf() 865 leaf->next->prev = leaf->prev; in xfs_iext_rebalance_leaf() 909 cur->leaf = leaf->next; in xfs_iext_remove() [all …]
|
| H A D | xfs_dir2_leaf.c | 143 struct xfs_dir2_leaf *leaf, in xfs_dir3_leaf_check_int() argument 153 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int() 380 memset(leaf, 0, sizeof(*leaf)); in xfs_dir3_leaf_init() 476 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf() 712 leaf = lbp->b_addr; in xfs_dir2_leaf_addname() 983 leaf = bp->b_addr; in xfs_dir3_leaf_compact() 1180 (uint)((char *)&leaf->hdr - (char *)leaf), in xfs_dir3_leaf_log_header() 1298 leaf = lbp->b_addr; in xfs_dir2_leaf_lookup_int() 1431 leaf = lbp->b_addr; in xfs_dir2_leaf_removename() 1674 leaf = lbp->b_addr; in xfs_dir2_leaf_trim_data() [all …]
|
| H A D | xfs_attr_leaf.c | 1025 leaf = bp->b_addr; in xfs_attr_shortform_allfit() 1303 leaf = bp->b_addr; in xfs_attr3_leaf_create() 1416 leaf = bp->b_addr; in xfs_attr3_leaf_add() 1472 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_add() 1497 leaf = bp->b_addr; in xfs_attr3_leaf_add_work() 1575 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_add_work() 2145 leaf = bp->b_addr; in xfs_attr3_leaf_remove() 2230 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_remove() 2265 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_remove() 2423 leaf = bp->b_addr; in xfs_attr3_leaf_lookup_int() [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
| H A D | nv04.c | 75 int leaf; in nv04_mc_intr_rearm() local 77 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_rearm() 78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001); in nv04_mc_intr_rearm() 85 int leaf; in nv04_mc_intr_unarm() local 87 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_unarm() 88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000); in nv04_mc_intr_unarm() 98 int leaf; in nv04_mc_intr_pending() local 100 for (leaf = 0; leaf < intr->leaves; leaf++) { in nv04_mc_intr_pending() 101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, 0x000100 + (leaf * 4)); in nv04_mc_intr_pending() 102 if (intr->stat[leaf]) in nv04_mc_intr_pending()
|
| /linux-6.15/arch/loongarch/mm/ |
| H A D | cache.c | 44 static void flush_cache_leaf(unsigned int leaf) in flush_cache_leaf() argument 55 flush_cache_line(leaf, addr); in flush_cache_leaf() 68 int leaf; in __flush_cache_all() local 72 leaf = cache_present - 1; in __flush_cache_all() 73 if (cache_inclusive(cdesc + leaf)) { in __flush_cache_all() 74 flush_cache_leaf(leaf); in __flush_cache_all() 78 for (leaf = 0; leaf < cache_present; leaf++) in __flush_cache_all() 79 flush_cache_leaf(leaf); in __flush_cache_all() 112 cdesc++; leaf++; \ 117 unsigned int leaf = 0, level = 1; in cpu_cache_init() local [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/ |
| H A D | tu102.c | 29 tu102_vfn_intr_reset(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_reset() argument 33 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1000 + (leaf * 4), mask); in tu102_vfn_intr_reset() 37 tu102_vfn_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_allow() argument 41 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1200 + (leaf * 4), mask); in tu102_vfn_intr_allow() 45 tu102_vfn_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_block() argument 74 int pending = 0, leaf; in tu102_vfn_intr_pending() local 76 for (leaf = 0; leaf < 8; leaf++) { in tu102_vfn_intr_pending() 77 if (intr_top & BIT(leaf / 2)) { in tu102_vfn_intr_pending() 78 intr->stat[leaf] = nvkm_rd32(device, vfn->addr.priv + 0x1000 + (leaf * 4)); in tu102_vfn_intr_pending() 79 if (intr->stat[leaf]) in tu102_vfn_intr_pending() [all …]
|
| /linux-6.15/tools/arch/x86/kcpuid/ |
| H A D | kcpuid.c | 121 leaf->sub, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw() 124 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw() 164 leaf->eax = a; in cpuid_store() 165 leaf->ebx = b; in cpuid_store() 166 leaf->ecx = c; in cpuid_store() 485 if (!leaf) in show_leaf() 493 leaf->index, leaf->sub); in show_leaf() 496 decode_bits(leaf->eax, &leaf->info[R_EAX], R_EAX); in show_leaf() 497 decode_bits(leaf->ebx, &leaf->info[R_EBX], R_EBX); in show_leaf() 498 decode_bits(leaf->ecx, &leaf->info[R_ECX], R_ECX); in show_leaf() [all …]
|
| /linux-6.15/arch/x86/coco/sev/ |
| H A D | shared.c | 420 if (cpuid_function_is_indexed(leaf->fn) && leaf->subfn) in __sev_cpuid_hv_msr() 423 ret = __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EAX, &leaf->eax); in __sev_cpuid_hv_msr() 424 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EBX, &leaf->ebx); in __sev_cpuid_hv_msr() 425 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_ECX, &leaf->ecx); in __sev_cpuid_hv_msr() 549 if (cpuid_function_is_indexed(leaf->fn) && e->ecx_in != leaf->subfn) in snp_cpuid_get_validated_func() 585 switch (leaf->fn) { in snp_cpuid_postprocess() 592 leaf->edx = (leaf_hv.edx & BIT(9)) | (leaf->edx & ~BIT(9)); in snp_cpuid_postprocess() 616 if (leaf->subfn != 0 && leaf->subfn != 1) in snp_cpuid_postprocess() 701 leaf->eax = leaf->ebx = leaf->ecx = leaf->edx = 0; in snp_cpuid() 734 leaf.fn = fn; in do_vc_no_ghcb() [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | intr.c | 46 *leaf = data->leaf; in nvkm_intr_xlat() 54 *leaf = data->leaf; in nvkm_intr_xlat() 66 *leaf = type / 32; in nvkm_intr_xlat() 93 intr->mask[leaf] |= mask; in nvkm_intr_allow_locked() 107 int leaf; in nvkm_intr_allow() local 122 intr->mask[leaf] &= ~mask; in nvkm_intr_block_locked() 133 int leaf; in nvkm_intr_block() local 171 int prio, leaf; in nvkm_intr() local 213 for (leaf = 0; leaf < intr->leaves; leaf++) { in nvkm_intr() 216 leaf, intr->stat[leaf]); in nvkm_intr() [all …]
|
| /linux-6.15/drivers/net/ethernet/dec/tulip/ |
| H A D | eeprom.c | 246 leaf->type = 0; in tulip_parse_eeprom() 248 leaf->leafdata = p; in tulip_parse_eeprom() 253 leaf->type = p[1]; in tulip_parse_eeprom() 262 leaf->leafdata = p + 2; in tulip_parse_eeprom() 269 leaf->media = 11; in tulip_parse_eeprom() 278 leaf->media = 3; in tulip_parse_eeprom() 279 switch (leaf->media) { in tulip_parse_eeprom() 299 leaf->leafdata = p + 2; in tulip_parse_eeprom() 312 i, medianame[leaf->media & 15], leaf->media, in tulip_parse_eeprom() 313 leaf->type < ARRAY_SIZE(block_name) ? block_name[leaf->type] : "<unknown>", in tulip_parse_eeprom() [all …]
|
| /linux-6.15/arch/x86/include/asm/cpuid/ |
| H A D | api.h | 129 regs[CPUID_EAX] = leaf; in __cpuid_read() 134 #define cpuid_subleaf(leaf, subleaf, regs) { \ argument 136 __cpuid_read(leaf, subleaf, (u32 *)(regs)); \ 139 #define cpuid_leaf(leaf, regs) { \ argument 141 __cpuid_read(leaf, 0, (u32 *)(regs)); \ 144 static inline void __cpuid_read_reg(u32 leaf, u32 subleaf, in __cpuid_read_reg() argument 149 __cpuid_read(leaf, subleaf, regs); in __cpuid_read_reg() 153 #define cpuid_subleaf_reg(leaf, subleaf, regidx, reg) { \ argument 155 __cpuid_read_reg(leaf, subleaf, regidx, (u32 *)(reg)); \ 158 #define cpuid_leaf_reg(leaf, regidx, reg) { \ argument [all …]
|
| /linux-6.15/drivers/net/can/usb/kvaser_usb/ |
| H A D | kvaser_usb_leaf.c | 184 } __packed leaf; member 375 } __packed leaf; member 443 } leaf; member 1137 leaf = priv->sub_priv; in kvaser_usb_leaf_rx_error() 1318 es.leaf.error_factor = cmd->u.leaf.can_error_event.error_factor; in kvaser_usb_leaf_leaf_rx_error() 1325 es.leaf.error_factor = cmd->u.leaf.log_message.data[1]; in kvaser_usb_leaf_leaf_rx_error() 1787 leaf = devm_kzalloc(&priv->dev->intf->dev, sizeof(*leaf), GFP_KERNEL); in kvaser_usb_leaf_init_channel() 1788 if (!leaf) in kvaser_usb_leaf_init_channel() 1791 leaf->net = priv; in kvaser_usb_leaf_init_channel() 1795 priv->sub_priv = leaf; in kvaser_usb_leaf_init_channel() [all …]
|
| /linux-6.15/fs/unicode/ |
| H 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 …]
|
| H A D | utf8-norm.c | 389 utf8leaf_t *leaf; in utf8nlen() local 394 leaf = utf8nlookup(um, n, hangul, s, len); in utf8nlen() 395 if (!leaf) in utf8nlen() 400 else if (LEAF_CCC(leaf) == DECOMPOSE) in utf8nlen() 401 ret += strlen(LEAF_STR(leaf)); in utf8nlen() 473 utf8leaf_t *leaf; in utf8byte() local 507 if (!leaf) in utf8byte() 510 ccc = LEAF_CCC(leaf); in utf8byte() 518 u8c->s = LEAF_STR(leaf); in utf8byte() 528 if (!leaf) in utf8byte() [all …]
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | topology_ext.c | 45 static inline bool topo_subleaf(struct topo_scan *tscan, u32 leaf, u32 subleaf, in topo_subleaf() argument 66 switch (leaf) { in topo_subleaf() 73 cpuid_subleaf(leaf, subleaf, &sl); in topo_subleaf() 80 leaf, subleaf, sl.type); in topo_subleaf() 97 leaf, subleaf, tscan->c->topo.initial_apicid, sl.x2apic_id); in topo_subleaf() 104 static bool parse_topology_leaf(struct topo_scan *tscan, u32 leaf) in parse_topology_leaf() argument 110 for (subleaf = 0, last_dom = 0; topo_subleaf(tscan, leaf, subleaf, &last_dom); subleaf++); in parse_topology_leaf() 125 leaf, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
|
| /linux-6.15/arch/mips/kernel/ |
| H 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++; \
|