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

/linux-master/fs/erofs/
H A Ddir.c11 unsigned int nameoff, unsigned int maxsize)
13 const struct erofs_dirent *end = dentry_blk + nameoff;
22 nameoff = le16_to_cpu(de->nameoff);
23 de_name = (char *)dentry_blk + nameoff;
27 de_namelen = strnlen(de_name, maxsize - nameoff);
29 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff;
32 if (nameoff + de_namelen > maxsize ||
64 unsigned int nameoff, maxsiz local
9 erofs_fill_dentries(struct inode *dir, struct dir_context *ctx, void *dentry_blk, struct erofs_dirent *de, unsigned int nameoff, unsigned int maxsize) argument
[all...]
H A Dnamei.c61 const int nameoff = nameoff_from_disk(de[mid].nameoff, local
65 .name = data + nameoff,
68 data + nameoff_from_disk(de[mid + 1].nameoff,
105 const int nameoff = nameoff_from_disk(de->nameoff, bsz); local
106 const int ndirents = nameoff / sizeof(*de);
123 dname.name = (u8 *)de + nameoff;
128 nameoff_from_disk(de[1].nameoff, bsz);
H A Derofs_fs.h278 __le16 nameoff; /* start offset of file name */ member in struct:erofs_dirent
/linux-master/scripts/dtc/libfdt/
H A Dfdt_sw.c296 int nameoff; local
304 nameoff = fdt_add_string_(fdt, name);
306 nameoff = fdt_find_add_string_(fdt, name, &allocated);
308 if (nameoff == 0)
319 prop->nameoff = cpu_to_fdt32(nameoff);
365 int nameoff; local
367 nameoff = fdt32_to_cpu(prop->nameoff);
368 nameoff
[all...]
H A Dfdt.h44 fdt32_t nameoff; member in struct:fdt_property
H A Dfdt_ro.c411 if (fdt_string_eq_(fdt, fdt32_ld_(&prop->nameoff),
482 name = fdt_get_string(fdt, fdt32_ld_(&prop->nameoff),
491 *namep = fdt_string(fdt, fdt32_ld_(&prop->nameoff));
H A Dfdt_rw.c230 (*prop)->nameoff = cpu_to_fdt32(namestroff);
/linux-master/fs/udf/
H A Ddirectory.c71 u32 off, len, nameoff; local
108 nameoff = off + sizeof(struct fileIdentDesc) +
111 iter->name = iter->bh[0]->b_data + nameoff;
112 } else if (nameoff >= blksize) {
113 iter->name = iter->bh[1]->b_data + (nameoff - blksize);
116 len = blksize - nameoff;
117 memcpy(iter->name, iter->bh[0]->b_data + nameoff, len);
/linux-master/kernel/
H A Dkallsyms.c619 unsigned int nameoff; /* If iterating in core kernel symbols. */ member in struct:kallsym_iter
694 unsigned off = iter->nameoff;
703 return off - iter->nameoff;
709 iter->nameoff = get_symbol_offset(new_pos);
753 iter->nameoff += get_ksymbol_core(iter);
/linux-master/scripts/dtc/
H A Dfdtget.c120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff));
H A Dflattree.c257 int nameoff; local
262 nameoff = stringtable_insert(strbuf, prop->name);
266 emit->cell(etarget, nameoff);
/linux-master/arch/mips/cavium-octeon/
H A Docteon-platform.c529 phy_handle_name = phy_prop->nameoff;
533 alt_prop->nameoff = phy_handle_name;

Completed in 485 milliseconds