Searched refs:nameoff (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/fs/erofs/ |
D | dir.c | 26 unsigned int nameoff, unsigned int maxsize) in erofs_fill_dentries() argument 28 const struct erofs_dirent *end = dentry_blk + nameoff; in erofs_fill_dentries() 37 nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries() 38 de_name = (char *)dentry_blk + nameoff; in erofs_fill_dentries() 42 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries() 44 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in erofs_fill_dentries() 47 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries() 78 unsigned int nameoff, maxsize; in erofs_readdir() local 89 nameoff = le16_to_cpu(de->nameoff); in erofs_readdir() 90 if (nameoff < sizeof(struct erofs_dirent) || in erofs_readdir() [all …]
|
D | namei.c | 62 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() 110 const int nameoff = nameoff_from_disk(de->nameoff, in find_target_block_classic() local 112 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()
|
D | erofs_fs.h | 410 __le16 nameoff; /* start offset of file name */ member
|
/linux-6.1.9/scripts/dtc/libfdt/ |
D | fdt_sw.c | 296 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()
|
D | fdt.h | 44 fdt32_t nameoff; member
|
D | fdt_ro.c | 411 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()
|
D | fdt_rw.c | 230 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
|
/linux-6.1.9/kernel/ |
D | kallsyms.c | 563 unsigned int nameoff; /* If iterating in core kernel symbols. */ member 658 unsigned off = iter->nameoff; in get_ksymbol_core() 667 return off - iter->nameoff; in get_ksymbol_core() 673 iter->nameoff = get_symbol_offset(new_pos); in reset_iter() 722 iter->nameoff += get_ksymbol_core(iter); in update_iter()
|
/linux-6.1.9/scripts/dtc/ |
D | fdtget.c | 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
|
D | flattree.c | 257 int nameoff; in flatten_tree() local 262 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree() 266 emit->cell(etarget, nameoff); in flatten_tree()
|
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 528 phy_handle_name = phy_prop->nameoff; in octeon_fdt_set_phy() 532 alt_prop->nameoff = phy_handle_name; in octeon_fdt_set_phy()
|