Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 25 of 218) sorted by relevance

123456789

/linux-6.3-rc2/fs/btrfs/
A Dtree-checker.c197 dir_item_err(leaf, slot, in check_prev_ino()
350 generic_err(leaf, slot, in check_csum_item()
356 generic_err(leaf, slot, in check_csum_item()
362 generic_err(leaf, slot, in check_csum_item()
670 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
1149 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1271 extent_err(leaf, slot, in check_extent_item()
1673 generic_err(leaf, 0, in check_leaf()
1696 generic_err(leaf, 0, in check_leaf()
1704 generic_err(leaf, 0, in check_leaf()
[all …]
A Ddir-item.c33 struct extent_buffer *leaf; in insert_with_overflow() local
45 leaf = path->nodes[0]; in insert_with_overflow()
67 struct extent_buffer *leaf; in btrfs_insert_xattr_item() local
84 leaf = path->nodes[0]; in btrfs_insert_xattr_item()
118 struct extent_buffer *leaf; in btrfs_insert_dir_item() local
147 leaf = path->nodes[0]; in btrfs_insert_dir_item()
240 struct extent_buffer *leaf; in btrfs_check_dir_item_collision() local
275 leaf = path->nodes[0]; in btrfs_check_dir_item_collision()
390 struct extent_buffer *leaf; in btrfs_match_dir_item_name() local
392 leaf = path->nodes[0]; in btrfs_match_dir_item_name()
[all …]
A Dinode-item.c116 struct extent_buffer *leaf; in btrfs_del_inode_extref() local
150 leaf = path->nodes[0]; in btrfs_del_inode_extref()
185 struct extent_buffer *leaf; in btrfs_del_inode_ref() local
217 leaf = path->nodes[0]; in btrfs_del_inode_ref()
266 struct extent_buffer *leaf; in btrfs_insert_inode_extref() local
291 leaf = path->nodes[0]; in btrfs_insert_inode_extref()
409 struct extent_buffer *leaf; in btrfs_lookup_inode() local
416 leaf = path->nodes[0]; in btrfs_lookup_inode()
428 struct extent_buffer *leaf, in btrfs_trace_truncate() argument
465 struct extent_buffer *leaf; in btrfs_truncate_inode_items() local
[all …]
A Dfile-item.c182 leaf = path->nodes[0]; in btrfs_insert_hole_extent()
224 leaf = path->nodes[0]; in btrfs_lookup_csum()
553 leaf = path->nodes[0]; in btrfs_lookup_csums_list()
582 leaf = path->nodes[0]; in btrfs_lookup_csums_list()
687 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap()
716 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap()
901 leaf = path->nodes[0]; in truncate_one_csum()
974 leaf = path->nodes[0]; in btrfs_del_csums()
1149 leaf = path->nodes[0]; in btrfs_csum_file_blocks()
1210 leaf = path->nodes[0]; in btrfs_csum_file_blocks()
[all …]
A Dxattr.c33 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()
75 btrfs_dir_data_len(leaf, di)); in btrfs_getxattr()
76 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr()
181 if (btrfs_leaf_free_space(leaf) < in btrfs_setxattr()
208 btrfs_mark_buffer_dirty(leaf); in btrfs_setxattr()
304 struct extent_buffer *leaf; in btrfs_listxattr() local
[all …]
A Dctree.c86 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, 0) + dst_offset, in memmove_leaf_data()
127 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, dst_item), in memmove_leaf_items()
2404 leaf = p->nodes[0]; in btrfs_search_slot_for_read()
2428 leaf = p->nodes[0]; in btrfs_search_slot_for_read()
3766 leaf = path->nodes[0]; in setup_leaf_for_split()
3793 leaf = path->nodes[0]; in setup_leaf_for_split()
3833 leaf = path->nodes[0]; in split_item()
3844 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
3931 leaf = path->nodes[0]; in btrfs_truncate_item()
4021 leaf = path->nodes[0]; in btrfs_extend_item()
[all …]
A Dfile.c205 struct extent_buffer *leaf; in btrfs_drop_extents() local
255 leaf = path->nodes[0]; in btrfs_drop_extents()
263 leaf = path->nodes[0]; in btrfs_drop_extents()
273 leaf = path->nodes[0]; in btrfs_drop_extents()
358 leaf = path->nodes[0]; in btrfs_drop_extents()
518 leaf = path->nodes[0]; in btrfs_drop_extents()
633 leaf = path->nodes[0]; in btrfs_mark_extent_written()
731 leaf = path->nodes[0]; in btrfs_mark_extent_written()
2094 leaf = path->nodes[0]; in fill_holes()
2265 leaf = path->nodes[0]; in btrfs_insert_replace_extent()
[all …]
A Droot-tree.c213 struct extent_buffer *leaf; in btrfs_find_orphan_roots() local
237 leaf = path->nodes[0]; in btrfs_find_orphan_roots()
244 leaf = path->nodes[0]; in btrfs_find_orphan_roots()
341 struct extent_buffer *leaf; in btrfs_del_root_ref() local
358 leaf = path->nodes[0]; in btrfs_del_root_ref()
359 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
368 *sequence = btrfs_root_ref_sequence(leaf, ref); in btrfs_del_root_ref()
415 struct extent_buffer *leaf; in btrfs_add_root_ref() local
434 leaf = path->nodes[0]; in btrfs_add_root_ref()
436 btrfs_set_root_ref_dirid(leaf, ref, dirid); in btrfs_add_root_ref()
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Dsev-shared.c268 if (cpuid_function_is_indexed(leaf->fn) && leaf->subfn) in sev_cpuid_hv()
271 ret = __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EAX, &leaf->eax); in sev_cpuid_hv()
272 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EBX, &leaf->ebx); in sev_cpuid_hv()
273 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_ECX, &leaf->ecx); in sev_cpuid_hv()
364 if (cpuid_function_is_indexed(leaf->fn) && e->ecx_in != leaf->subfn) in snp_cpuid_get_validated_func()
398 switch (leaf->fn) { in snp_cpuid_postprocess()
405 leaf->edx = (leaf_hv.edx & BIT(9)) | (leaf->edx & ~BIT(9)); in snp_cpuid_postprocess()
429 if (leaf->subfn != 0 && leaf->subfn != 1) in snp_cpuid_postprocess()
513 leaf->eax = leaf->ebx = leaf->ecx = leaf->edx = 0; in snp_cpuid()
518 (leaf->fn >= 0x80000000 && leaf->fn <= cpuid_ext_range_max))) in snp_cpuid()
[all …]
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_iext_tree.c242 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 Dxfs_dir2_leaf.c142 struct xfs_dir2_leaf *leaf, in xfs_dir3_leaf_check_int() argument
152 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int()
328 memset(leaf, 0, sizeof(*leaf)); in xfs_dir3_leaf_init()
425 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf()
660 leaf = lbp->b_addr; in xfs_dir2_leaf_addname()
931 leaf = bp->b_addr; in xfs_dir3_leaf_compact()
1128 (uint)((char *)&leaf->hdr - (char *)leaf), in xfs_dir3_leaf_log_header()
1245 leaf = lbp->b_addr; in xfs_dir2_leaf_lookup_int()
1378 leaf = lbp->b_addr; in xfs_dir2_leaf_removename()
1618 leaf = lbp->b_addr; in xfs_dir2_leaf_trim_data()
[all …]
A Dxfs_attr_leaf.c1018 leaf = bp->b_addr; in xfs_attr_shortform_allfit()
1310 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()
2146 leaf = bp->b_addr; in xfs_attr3_leaf_remove()
2231 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_remove()
2266 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_remove()
2425 leaf = bp->b_addr; in xfs_attr3_leaf_lookup_int()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
A Dnv04.c75 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.3-rc2/arch/loongarch/mm/
A Dcache.c44 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.3-rc2/tools/arch/x86/kcpuid/
A Dkcpuid.c127 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-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
A Dtu102.c27 tu102_vfn_intr_reset(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_reset() argument
31 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1000 + (leaf * 4), mask); in tu102_vfn_intr_reset()
35 tu102_vfn_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_allow() argument
39 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1200 + (leaf * 4), mask); in tu102_vfn_intr_allow()
43 tu102_vfn_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_block() argument
72 int pending = 0, leaf; in tu102_vfn_intr_pending() local
74 for (leaf = 0; leaf < 8; leaf++) { in tu102_vfn_intr_pending()
75 if (intr_top & BIT(leaf / 2)) { in tu102_vfn_intr_pending()
76 intr->stat[leaf] = nvkm_rd32(device, vfn->addr.priv + 0x1000 + (leaf * 4)); in tu102_vfn_intr_pending()
77 if (intr->stat[leaf]) in tu102_vfn_intr_pending()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/
A Dintr.c46 *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.3-rc2/drivers/net/ethernet/dec/tulip/
A Deeprom.c246 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.3-rc2/arch/x86/kernel/cpu/
A Dtopology.c35 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()
101 int leaf; in detect_extended_topology() local
103 leaf = detect_extended_topology_leaf(c); in detect_extended_topology()
104 if (leaf < 0) in detect_extended_topology()
110 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
[all …]
/linux-6.3-rc2/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_leaf.c180 } __packed leaf; member
350 } __packed leaf; member
417 } leaf; member
1064 leaf = priv->sub_priv; in kvaser_usb_leaf_rx_error()
1251 es.leaf.error_factor = cmd->u.leaf.can_error_event.error_factor; in kvaser_usb_leaf_leaf_rx_error()
1258 es.leaf.error_factor = cmd->u.leaf.log_message.data[1]; in kvaser_usb_leaf_leaf_rx_error()
1713 leaf = devm_kzalloc(&priv->dev->intf->dev, sizeof(*leaf), GFP_KERNEL); in kvaser_usb_leaf_init_channel()
1714 if (!leaf) in kvaser_usb_leaf_init_channel()
1717 leaf->net = priv; in kvaser_usb_leaf_init_channel()
1721 priv->sub_priv = leaf; in kvaser_usb_leaf_init_channel()
[all …]
/linux-6.3-rc2/fs/unicode/
A Dmkutf8data.c410 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 …]
A Dutf8-norm.c389 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.3-rc2/tools/testing/selftests/cgroup/
A Dtest_cpu.c411 struct cpu_hogger leaf[3] = {NULL}; in run_cpucg_nested_weight_test() local
442 for (i = 0; i < ARRAY_SIZE(leaf); i++) { in run_cpucg_nested_weight_test()
454 if (!leaf[i].cgroup) in run_cpucg_nested_weight_test()
457 if (cg_create(leaf[i].cgroup)) in run_cpucg_nested_weight_test()
479 leaf[i].pid = pid; in run_cpucg_nested_weight_test()
485 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test()
493 leaf[i].usage = cg_read_key_long(leaf[i].cgroup, in run_cpucg_nested_weight_test()
495 if (leaf[i].usage <= 0) in run_cpucg_nested_weight_test()
499 nested_leaf_usage = leaf[1].usage + leaf[2].usage; in run_cpucg_nested_weight_test()
516 cg_destroy(leaf[i].cgroup); in run_cpucg_nested_weight_test()
[all …]
/linux-6.3-rc2/arch/mips/kernel/
A Dcacheinfo.c8 #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-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dxdpwall.c118 __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()

Completed in 124 milliseconds

123456789