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

/u-boot/fs/erofs/
H A Dnamei.c142 unsigned int nameoff,
146 const struct erofs_dirent *end = dentry_blk + nameoff;
152 nameoff = le16_to_cpu(de->nameoff);
153 de_name = (char *)dentry_blk + nameoff;
157 de_namelen = strnlen(de_name, maxsize - nameoff);
159 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff;
162 if (nameoff + de_namelen > maxsize ||
198 unsigned int nameoff; local
139 find_target_dirent(erofs_nid_t pnid, void *dentry_blk, const char *name, unsigned int len, unsigned int nameoff, unsigned int maxsize) argument
[all...]
H A Dfs.c119 unsigned int nameoff, de_namelen; local
137 dirs->de_end = le16_to_cpu(de->nameoff);
140 erofs_err("invalid de[0].nameoff %u @ nid %llu",
147 nameoff = le16_to_cpu(de->nameoff);
148 de_name = (char *)dirs->dblk + nameoff;
152 de_namelen = strnlen(de_name, dirs->maxsize - nameoff);
154 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff;
157 if (nameoff
[all...]
H A Derofs_fs.h280 __le16 nameoff; /* start offset of file name */ member in struct:erofs_dirent
/u-boot/tools/libfdt/
H A Dfdt_rw.c28 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff));
32 new_prop->nameoff = cpu_to_fdt32(ret);
/u-boot/scripts/dtc/libfdt/
H A Dfdt_sw.c298 int nameoff; local
306 nameoff = fdt_add_string_(fdt, name);
308 nameoff = fdt_find_add_string_(fdt, name, &allocated);
310 if (nameoff == 0)
321 prop->nameoff = cpu_to_fdt32(nameoff);
367 int nameoff; local
369 nameoff = fdt32_to_cpu(prop->nameoff);
370 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_to_cpu(prop->nameoff),
482 name = fdt_get_string(fdt, fdt32_to_cpu(prop->nameoff),
491 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
H A Dfdt_rw.c231 (*prop)->nameoff = cpu_to_fdt32(namestroff);
/u-boot/test/py/tests/
H A Dvboot_evil.py101 len_tag, nameoff = struct.unpack('>II',
104 prop_name = getstr(dt_strings, nameoff)
181 (len_tag, nameoff) = struct.unpack('>II',
189 added_data = struct.pack('>II', len(content), nameoff)
/u-boot/boot/
H A Dfdt_region.c72 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
274 name = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
523 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
/u-boot/lib/efi_selftest/
H A Defi_selftest_fdt.c96 const char *label = &strings[f2h(prop->nameoff)];
/u-boot/lib/efi_loader/
H A Dboothart.c165 const char *label = &strings[f2h(prop->nameoff)];
/u-boot/scripts/dtc/
H A Dflattree.c271 int nameoff; local
276 nameoff = stringtable_insert(strbuf, prop->name);
280 emit->cell(etarget, nameoff);
/u-boot/tools/
H A Dfdtgrep.c346 name = fdt_string(blob, fdt32_to_cpu(prop->nameoff));
605 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
/u-boot/cmd/
H A Dfdt.c1077 fdt32_to_cpu(fdt_prop->nameoff));
/u-boot/lib/
H A Dfdtdec.c420 path = fdt_string(blob, fdt32_to_cpu(prop->nameoff));

Completed in 204 milliseconds