Home
last modified time | relevance | path

Searched refs:namelen (Results 1 – 15 of 15) sorted by relevance

/u-boot/fs/cramfs/
A Dcramfs.c126 int namelen; in cramfs_resolve() local
143 if (!namelen) in cramfs_resolve()
147 namelen--; in cramfs_resolve()
178 namelen, namelen, name); in cramfs_resolve()
195 namelen, namelen, name, in cramfs_resolve()
262 int namelen, nextoff; in cramfs_list_inode() local
271 nextoff = namelen; in cramfs_list_inode()
274 if (!namelen) in cramfs_list_inode()
275 return namelen; in cramfs_list_inode()
278 namelen--; in cramfs_list_inode()
[all …]
/u-boot/scripts/dtc/libfdt/
A Dfdt_ro.c252 const char *end = path + namelen; in fdt_path_offset_namelen()
397 int namelen, in fdt_get_property_namelen_() argument
412 name, namelen)) { in fdt_get_property_namelen_()
428 int namelen, int *lenp) in fdt_get_property_namelen() argument
479 int namelen; in fdt_getprop_by_offset() local
483 &namelen); in fdt_getprop_by_offset()
486 *lenp = namelen; in fdt_getprop_by_offset()
545 int offset, depth, namelen; in fdt_get_path() local
566 return namelen; in fdt_get_path()
568 memcpy(buf + p, name, namelen); in fdt_get_path()
[all …]
A Dlibfdt.h421 const char *name, int namelen);
459 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen);
626 int namelen, int *lenp);
716 const char *name, int namelen, int *lenp);
718 const char *name, int namelen, in fdt_getprop_namelen_w() argument
722 namelen, lenp); in fdt_getprop_namelen_w()
787 const char *name, int namelen);
1188 const char *name, int namelen,
1945 const char *name, int namelen);
A Dfdt_wip.c14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() argument
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
A Dfdt_sw.c224 int namelen; in fdt_begin_node() local
228 namelen = strlen(name) + 1; in fdt_begin_node()
229 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
234 memcpy(nh->name, name, namelen); in fdt_begin_node()
A Dfdt_overlay.c653 int len = 0, namelen; in get_path_len() local
659 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len()
661 return namelen; in get_path_len()
664 if (namelen == 0) in get_path_len()
670 len += namelen + 1; in get_path_len()
A Dfdt_rw.c335 const char *name, int namelen) in fdt_add_subnode_namelen() argument
346 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
368 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
/u-boot/include/cramfs/
A Dcramfs_fs.h41 u32 namelen:CRAMFS_NAMELEN_WIDTH, offset:CRAMFS_OFFSET_WIDTH; member
90 #define CRAMFS_GET_NAMELEN(x) ((x)->namelen)
93 #define CRAMFS_SET_NAMELEN(x,y) ((x)->namelen = (y))
/u-boot/fs/yaffs2/
A Dyaffs_nameval.c93 int namelen = yaffs_strnlen(name, xb_size); in nval_set() local
109 reclen = (sizeof(int) + namelen + 1 + bsize); in nval_set()
124 pos += (namelen + 1); in nval_set()
/u-boot/fs/btrfs/
A Ddir-item.c15 u16 namelen = BTRFS_NAME_LEN; in verify_dir_item() local
19 namelen = XATTR_NAME_MAX; in verify_dir_item()
21 if (btrfs_dir_name_len(leaf, dir_item) > namelen) { in verify_dir_item()
A Dinode.c216 const char *name, int namelen, in resolve_one_filename() argument
226 namelen, 0); in resolve_one_filename()
/u-boot/drivers/serial/
A Dserial-uclass.c37 int namelen; in serial_check_stdout() local
43 namelen = p ? p - str : strlen(str); in serial_check_stdout()
44 node = fdt_path_offset_namelen(blob, str, namelen); in serial_check_stdout()
54 name = fdt_get_alias_namelen(blob, str, namelen); in serial_check_stdout()
/u-boot/fs/ext4/
A Dext4_common.c452 if (dir->namelen % 4 != 0) in check_void_in_dentry()
453 padding_factor = 4 - (dir->namelen % 4); in check_void_in_dentry()
456 dir->namelen + padding_factor; in check_void_in_dentry()
533 unsigned short used_len = ROUND(dir->namelen + in ext4fs_update_parent_dentry()
613 dir->namelen = strlen(filename); in ext4fs_update_parent_dentry()
677 if (dir->inode && (strlen(dirname) == dir->namelen) && in search_dir()
903 if (dir->inode && (strlen(filename) == dir->namelen) && in unlink_filename()
2077 if (dirent.namelen != 0) { in ext4fs_iterate_dir()
2078 char filename[dirent.namelen + 1]; in ext4fs_iterate_dir()
2085 dirent.namelen, filename, in ext4fs_iterate_dir()
[all …]
/u-boot/include/
A Dext_common.h197 __u8 namelen; member
/u-boot/tools/
A Defivar.py117 name, namelen = self._get_var_name(self.ents[offs:])
118 offs += namelen

Completed in 22 milliseconds