Searched refs:nameoff (Results 1 – 11 of 11) sorted by relevance
/linux/fs/erofs/ |
A D | dir.c | 37 nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries() 38 de_name = (char *)dentry_blk + 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() 80 unsigned int nameoff, maxsize; in erofs_readdir() local 96 nameoff = le16_to_cpu(de->nameoff); in erofs_readdir() 98 if (nameoff < sizeof(struct erofs_dirent) || in erofs_readdir() 99 nameoff >= PAGE_SIZE) { in erofs_readdir() 102 nameoff, EROFS_I(dir)->nid); in erofs_readdir() 115 if (ofs >= nameoff) in erofs_readdir() [all …]
|
A D | namei.c | 61 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() 108 const int nameoff = nameoff_from_disk(de->nameoff, in find_target_block_classic() local 110 const int ndirents = nameoff / sizeof(*de); in find_target_block_classic() 128 dname.name = (u8 *)de + nameoff; in find_target_block_classic() 133 nameoff_from_disk(de[1].nameoff, in find_target_block_classic()
|
A D | erofs_fs.h | 384 __le16 nameoff; /* start offset of file name */ member
|
/linux/scripts/dtc/libfdt/ |
A 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()
|
A D | fdt.h | 44 fdt32_t nameoff; member
|
A 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()
|
A D | fdt_rw.c | 230 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
|
/linux/kernel/ |
A D | kallsyms.c | 578 unsigned int nameoff; /* If iterating in core kernel symbols. */ member 673 unsigned off = iter->nameoff; in get_ksymbol_core() 682 return off - iter->nameoff; in get_ksymbol_core() 688 iter->nameoff = get_symbol_offset(new_pos); in reset_iter() 737 iter->nameoff += get_ksymbol_core(iter); in update_iter()
|
/linux/scripts/dtc/ |
A 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()
|
A D | fdtget.c | 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
|
/linux/arch/mips/cavium-octeon/ |
A D | octeon-platform.c | 525 phy_handle_name = phy_prop->nameoff; in octeon_fdt_set_phy() 529 alt_prop->nameoff = phy_handle_name; in octeon_fdt_set_phy()
|
Completed in 17 milliseconds