Home
last modified time | relevance | path

Searched refs:nameoff (Results 1 – 23 of 23) sorted by relevance

/OK3568_Linux_fs/kernel/fs/erofs/
H A Ddir.c26 unsigned int nameoff, unsigned int maxsize) in erofs_fill_dentries() argument
29 const struct erofs_dirent *end = dentry_blk + nameoff; in erofs_fill_dentries()
38 nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries()
39 de_name = (char *)dentry_blk + nameoff; in erofs_fill_dentries()
43 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries()
45 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in erofs_fill_dentries()
48 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries()
81 unsigned int nameoff, maxsize; in erofs_readdir() local
97 nameoff = le16_to_cpu(de->nameoff); in erofs_readdir()
99 if (nameoff < sizeof(struct erofs_dirent) || in erofs_readdir()
[all …]
H A Dnamei.c62 const int nameoff = nameoff_from_disk(de[mid].nameoff, in find_target_dirent() local
66 .name = data + nameoff, in find_target_dirent()
69 data + nameoff_from_disk(de[mid + 1].nameoff, in find_target_dirent()
109 const int nameoff = nameoff_from_disk(de->nameoff, in find_target_block_classic() local
111 const int ndirents = nameoff / sizeof(*de); in find_target_block_classic()
129 dname.name = (u8 *)de + nameoff; in find_target_block_classic()
134 nameoff_from_disk(de[1].nameoff, in find_target_block_classic()
H A Derofs_fs.h321 __le16 nameoff; /* start offset of file name */ member
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt_sw.c226 int nameoff; in fdt_property_placeholder() local
230 nameoff = _fdt_find_add_string(fdt, name); in fdt_property_placeholder()
231 if (nameoff == 0) in fdt_property_placeholder()
239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
285 int nameoff; in fdt_finish() local
287 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
288 nameoff += fdt_size_dt_strings(fdt); in fdt_finish()
289 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
H A Dfdt.h89 fdt32_t nameoff; member
H A Dfdt_ro.c306 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen()
345 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
H A Dfdt_rw.c244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in _fdt_add_property()
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dfdt_sw.c296 int nameoff; in fdt_property_placeholder() local
304 nameoff = fdt_add_string_(fdt, name); in fdt_property_placeholder()
306 nameoff = fdt_find_add_string_(fdt, name, &allocated); in fdt_property_placeholder()
308 if (nameoff == 0) in fdt_property_placeholder()
319 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
365 int nameoff; in fdt_finish() local
367 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
368 nameoff += fdt_size_dt_strings(fdt); in fdt_finish()
369 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
H A Dfdt.h44 fdt32_t nameoff; member
H A Dfdt_ro.c411 if (fdt_string_eq_(fdt, fdt32_ld(&prop->nameoff), in fdt_get_property_namelen_()
482 name = fdt_get_string(fdt, fdt32_ld(&prop->nameoff), in fdt_getprop_by_offset()
491 *namep = fdt_string(fdt, fdt32_ld(&prop->nameoff)); in fdt_getprop_by_offset()
H A Dfdt_rw.c230 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
/OK3568_Linux_fs/u-boot/tools/libfdt/
H A Dfdt_rw.c27 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff)); in fdt_remove_unused_strings()
31 new_prop->nameoff = cpu_to_fdt32(ret); in fdt_remove_unused_strings()
/OK3568_Linux_fs/kernel/kernel/
H A Dkallsyms.c487 unsigned int nameoff; /* If iterating in core kernel symbols. */ member
582 unsigned off = iter->nameoff; in get_ksymbol_core()
591 return off - iter->nameoff; in get_ksymbol_core()
597 iter->nameoff = get_symbol_offset(new_pos); in reset_iter()
646 iter->nameoff += get_ksymbol_core(iter); in update_iter()
/OK3568_Linux_fs/u-boot/lib/libfdt/
H A Dfdt_region.c67 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_find_regions()
256 name = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_add_alias_regions()
498 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_next_region()
H A Dfdt_ro.c285 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen()
324 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
/OK3568_Linux_fs/u-boot/scripts/dtc/
H A Dflattree.c271 int nameoff; in flatten_tree() local
276 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree()
280 emit->cell(etarget, nameoff); in flatten_tree()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dflattree.c256 int nameoff; in flatten_tree() local
261 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree()
265 emit->cell(etarget, nameoff); in flatten_tree()
H A Dfdtget.c120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
/OK3568_Linux_fs/u-boot/tools/
H A Dfdtgrep.c342 name = fdt_string(blob, fdt32_to_cpu(prop->nameoff)); in display_fdt_by_regions()
620 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in h_include()
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/
H A Docteon-platform.c528 phy_handle_name = phy_prop->nameoff; in octeon_fdt_set_phy()
532 alt_prop->nameoff = phy_handle_name; in octeon_fdt_set_phy()
/OK3568_Linux_fs/u-boot/cmd/
H A Dfdt.c1027 fdt32_to_cpu(fdt_prop->nameoff)); in fdt_print()
/OK3568_Linux_fs/u-boot/scripts/dtc/pylibfdt/
H A Dlibfdt.i_shipped417 fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
/OK3568_Linux_fs/u-boot/lib/
H A Dfdtdec.c434 path = fdt_string(blob, fdt32_to_cpu(prop->nameoff)); in fdtdec_add_aliases_for_id()