Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/fs/btrfs/
H 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()
457 generic_err(leaf, slot, in check_root_key()
684 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
1177 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1705 generic_err(leaf, 0, in __btrfs_check_leaf()
1728 generic_err(leaf, 0, in __btrfs_check_leaf()
1736 generic_err(leaf, 0, in __btrfs_check_leaf()
[all …]
H 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 …]
H 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 …]
H A Dfile-item.c183 leaf = path->nodes[0]; in btrfs_insert_hole_extent()
225 leaf = path->nodes[0]; in btrfs_lookup_csum()
492 leaf = path->nodes[0]; in btrfs_lookup_csums_list()
521 leaf = path->nodes[0]; in btrfs_lookup_csums_list()
641 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap()
671 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap()
826 leaf = path->nodes[0]; in truncate_one_csum()
899 leaf = path->nodes[0]; in btrfs_del_csums()
1074 leaf = path->nodes[0]; in btrfs_csum_file_blocks()
1135 leaf = path->nodes[0]; in btrfs_csum_file_blocks()
[all …]
H 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(trans, leaf); in btrfs_setxattr()
304 struct extent_buffer *leaf; in btrfs_listxattr() local
[all …]
H A Dctree.c84 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, 0) + dst_offset, in memmove_leaf_data()
125 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, dst_item), in memmove_leaf_items()
2580 leaf = p->nodes[0]; in btrfs_search_slot_for_read()
2604 leaf = p->nodes[0]; in btrfs_search_slot_for_read()
3974 leaf = path->nodes[0]; in setup_leaf_for_split()
4001 leaf = path->nodes[0]; in setup_leaf_for_split()
4042 leaf = path->nodes[0]; in split_item()
4058 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
4146 leaf = path->nodes[0]; in btrfs_truncate_item()
4237 leaf = path->nodes[0]; in btrfs_extend_item()
[all …]
H 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 …]
/openbmc/linux/fs/xfs/libxfs/
H 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 …]
H 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H 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()
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c272 if (cpuid_function_is_indexed(leaf->fn) && leaf->subfn) in __sev_cpuid_hv_msr()
275 ret = __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EAX, &leaf->eax); in __sev_cpuid_hv_msr()
276 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EBX, &leaf->ebx); in __sev_cpuid_hv_msr()
277 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_ECX, &leaf->ecx); in __sev_cpuid_hv_msr()
278 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_EDX, &leaf->edx); in __sev_cpuid_hv_msr()
401 if (cpuid_function_is_indexed(leaf->fn) && e->ecx_in != leaf->subfn) in snp_cpuid_get_validated_func()
436 switch (leaf->fn) { in snp_cpuid_postprocess()
443 leaf->edx = (leaf_hv.edx & BIT(9)) | (leaf->edx & ~BIT(9)); in snp_cpuid_postprocess()
467 if (leaf->subfn != 0 && leaf->subfn != 1) in snp_cpuid_postprocess()
552 leaf->eax = leaf->ebx = leaf->ecx = leaf->edx = 0; in snp_cpuid()
[all …]
/openbmc/libbej/test/
H A Dbej_tree_test.cpp83 EXPECT_THAT(child1.leaf.nodeAttr.sibling, &child2); in TEST()
95 EXPECT_THAT(child.leaf.nodeAttr.name, name); in TEST()
100 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
128 EXPECT_THAT(child.leaf.nodeAttr.name, name); in TEST()
133 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
147 EXPECT_THAT(child.leaf.nodeAttr.name, name); in TEST()
152 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
166 EXPECT_THAT(child.leaf.nodeAttr.name, name); in TEST()
171 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
185 EXPECT_THAT(child.leaf.nodeAttr.name, name); in TEST()
[all …]
/openbmc/libbej/src/
H A Dbej_encoder_metadata.c201 node->leaf.metaData.sflSize += BEJ_TUPLE_F_SIZE; in bejUpdateIntMetaData()
225 node->leaf.metaData.sflSize += BEJ_TUPLE_F_SIZE; in bejUpdateStringMetaData()
231 node->leaf.metaData.vSize = strLenWithNull; in bejUpdateStringMetaData()
260 node->leaf.metaData.sflSize += BEJ_TUPLE_F_SIZE; in bejUpdateRealMetaData()
304 node->leaf.metaData.vSize += in bejUpdateRealMetaData()
311 node->leaf.metaData.sflSize += in bejUpdateRealMetaData()
337 if (node->leaf.nodeAttr.name != NULL && node->leaf.nodeAttr.name[0] != '\0') in bejUpdateEnumMetaData()
361 node->leaf.metaData.vSize = in bejUpdateEnumMetaData()
364 node->leaf.metaData.sflSize += in bejUpdateEnumMetaData()
389 node->leaf.metaData.vSize = 1; in bejUpdateBoolMetaData()
[all …]
H A Dbej_encoder_core.c67 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejInteger()
71 RETURN_IF_IERROR(bejEncodeNnint(node->leaf.metaData.vSize, output)); in bejEncodeBejInteger()
84 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejEnum()
88 RETURN_IF_IERROR(bejEncodeNnint(node->leaf.metaData.vSize, output)); in bejEncodeBejEnum()
98 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejString()
102 RETURN_IF_IERROR(bejEncodeNnint(node->leaf.metaData.vSize, output)); in bejEncodeBejString()
113 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejReal()
117 RETURN_IF_IERROR(bejEncodeNnint(node->leaf.metaData.vSize, output)); in bejEncodeBejReal()
144 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejBool()
174 bejEncodeNnint(node->leaf.metaData.sequenceNumber, output)); in bejEncodeBejNull()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
H 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 …]
/openbmc/linux/arch/loongarch/mm/
H 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 …]
/openbmc/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c131 leaf->sub, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw()
134 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw()
174 leaf->eax = a; in cpuid_store()
175 leaf->ebx = b; in cpuid_store()
176 leaf->ecx = c; in cpuid_store()
478 if (!leaf) in show_leaf()
486 leaf->index, leaf->sub); in show_leaf()
489 decode_bits(leaf->eax, &leaf->info[R_EAX], R_EAX); in show_leaf()
490 decode_bits(leaf->ebx, &leaf->info[R_EBX], R_EBX); in show_leaf()
491 decode_bits(leaf->ecx, &leaf->info[R_ECX], R_ECX); in show_leaf()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H 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 …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H 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 …]
/openbmc/linux/arch/x86/kernel/cpu/
H 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 …]
/openbmc/linux/drivers/net/can/usb/kvaser_usb/
H 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 …]
/openbmc/linux/fs/unicode/
H 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 …]
H 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 …]
/openbmc/linux/arch/mips/kernel/
H 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++; \
/openbmc/linux/tools/testing/selftests/cgroup/
H 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 …]

1234567891011