Searched refs:nameoff (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/fs/erofs/ |
D | dir.c | 26 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 …]
|
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() 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()
|
D | erofs_fs.h | 290 __le16 nameoff; /* start offset of file name */ member
|
/kernel/linux/linux-5.10/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_()
|
/kernel/linux/linux-5.10/kernel/ |
D | kallsyms.c | 508 unsigned int nameoff; /* If iterating in core kernel symbols. */ member 603 unsigned off = iter->nameoff; in get_ksymbol_core() 612 return off - iter->nameoff; in get_ksymbol_core() 618 iter->nameoff = get_symbol_offset(new_pos); in reset_iter() 667 iter->nameoff += get_ksymbol_core(iter); in update_iter()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | fdtget.c | 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
|
D | flattree.c | 256 int nameoff; in flatten_tree() local 261 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree() 265 emit->cell(etarget, nameoff); in flatten_tree()
|
/kernel/linux/linux-5.10/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()
|