Home
last modified time | relevance | path

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

/linux-6.12.1/fs/erofs/
Ddir.c17 unsigned int nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries() local
18 const char *de_name = (char *)dentry_blk + nameoff; in erofs_fill_dentries()
23 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries()
25 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in erofs_fill_dentries()
28 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries()
59 unsigned int nameoff, maxsize; in erofs_readdir() local
69 nameoff = le16_to_cpu(de->nameoff); in erofs_readdir()
70 if (nameoff < sizeof(struct erofs_dirent) || nameoff >= bsz) { in erofs_readdir()
72 nameoff, EROFS_I(dir)->nid); in erofs_readdir()
86 nameoff, maxsize); in erofs_readdir()
Dnamei.c61 const int nameoff = nameoff_from_disk(de[mid].nameoff, in find_target_dirent() local
65 .name = data + nameoff, in find_target_dirent()
68 data + nameoff_from_disk(de[mid + 1].nameoff, in find_target_dirent()
105 const int nameoff = nameoff_from_disk(de->nameoff, bsz); in erofs_find_target_block() local
106 const int ndirents = nameoff / sizeof(*de); in erofs_find_target_block()
123 dname.name = (u8 *)de + nameoff; in erofs_find_target_block()
128 nameoff_from_disk(de[1].nameoff, bsz); in erofs_find_target_block()
Derofs_fs.h278 __le16 nameoff; /* start offset of file name */ member
/linux-6.12.1/scripts/dtc/libfdt/
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()
Dfdt.h44 fdt32_t nameoff; member
Dfdt_ro.c414 if (fdt_string_eq_(fdt, fdt32_ld_(&prop->nameoff), in fdt_get_property_namelen_()
485 name = fdt_get_string(fdt, fdt32_ld_(&prop->nameoff), in fdt_getprop_by_offset()
494 *namep = fdt_string(fdt, fdt32_ld_(&prop->nameoff)); in fdt_getprop_by_offset()
Dfdt_rw.c230 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
/linux-6.12.1/fs/udf/
Ddirectory.c71 u32 off, len, nameoff; in udf_copy_fi() local
108 nameoff = off + sizeof(struct fileIdentDesc) + in udf_copy_fi()
111 iter->name = iter->bh[0]->b_data + nameoff; in udf_copy_fi()
112 } else if (nameoff >= blksize) { in udf_copy_fi()
113 iter->name = iter->bh[1]->b_data + (nameoff - blksize); in udf_copy_fi()
116 len = blksize - nameoff; in udf_copy_fi()
117 memcpy(iter->name, iter->bh[0]->b_data + nameoff, len); in udf_copy_fi()
/linux-6.12.1/kernel/
Dkallsyms.c568 unsigned int nameoff; /* If iterating in core kernel symbols. */ member
643 unsigned off = iter->nameoff; in get_ksymbol_core()
652 return off - iter->nameoff; in get_ksymbol_core()
658 iter->nameoff = get_symbol_offset(new_pos); in reset_iter()
702 iter->nameoff += get_ksymbol_core(iter); in update_iter()
/linux-6.12.1/scripts/dtc/
Dfdtget.c120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
Dflattree.c257 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.12.1/arch/mips/cavium-octeon/
Docteon-platform.c529 phy_handle_name = phy_prop->nameoff; in octeon_fdt_set_phy()
533 alt_prop->nameoff = phy_handle_name; in octeon_fdt_set_phy()