Home
last modified time | relevance | path

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

/xen/xen/common/libfdt/
A Dfdt_ro.c131 const char *name, int namelen) in fdt_subnode_offset_namelen() argument
261 int namelen, int *lenp) in fdt_get_property_namelen() argument
273 name, namelen)) in fdt_get_property_namelen()
291 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument
339 const char *name, int namelen) in fdt_get_alias_namelen() argument
358 int offset, depth, namelen; in fdt_get_path() local
377 name = fdt_get_name(fdt, offset, &namelen); in fdt_get_path()
379 return namelen; in fdt_get_path()
380 if ((p + namelen + 1) <= buflen) { in fdt_get_path()
381 memcpy(buf + p, name, namelen); in fdt_get_path()
[all …]
A Dfdt_sw.c139 int namelen = strlen(name) + 1; in fdt_begin_node() local
143 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
148 memcpy(nh->name, name, namelen); in fdt_begin_node()
A Dfdt_rw.c334 const char *name, int namelen) in fdt_add_subnode_namelen() argument
345 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
359 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
366 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
367 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
/xen/tools/libfsimage/xfs/
A Dfsys_xfs.c306 sf_ino (char *sfe, int namelen) in sf_ino() argument
308 void *p = sfe + namelen + 3; in sf_ino()
334 int namelen = 1; in next_dentry() local
361 ++namelen; in next_dentry()
368 namelen = sfe->namelen; in next_dentry()
369 *ino = sf_ino ((char *)sfe, namelen); in next_dentry()
372 ((char *)sfe + namelen + 11 - xfs.i8param); in next_dentry()
396 namelen = dau->entry.namelen; in next_dentry()
398 toread = roundup8 (namelen + 11) - 9; in next_dentry()
404 name[namelen] = 0; in next_dentry()
A Dxfs.h345 xfs_uint8_t namelen; /* name length */ member
452 xfs_uint8_t namelen; /* actual name length */ member
/xen/xen/include/xen/libfdt/
A Dlibfdt.h292 const char *name, int namelen);
448 int namelen, int *lenp);
533 const char *name, int namelen, int *lenp);
594 const char *name, int namelen);
1450 const char *name, int namelen);
/xen/xen/arch/x86/
A Dplatform_hypercall.c788 uint32_t namelen, copylen; in do_platform_op() local
796 namelen = strlen(name) + 1; in do_platform_op()
798 if ( namelen > op->u.symdata.namelen ) in do_platform_op()
799 copylen = op->u.symdata.namelen; in do_platform_op()
801 copylen = namelen; in do_platform_op()
803 op->u.symdata.namelen = namelen; in do_platform_op()
/xen/tools/python/scripts/
A Dconvert-legacy-stream325 phys, start, size, namelen = unpack("=QQQI", data[:28])
328 if namelen == 0:
333 namelen += 4
335 if len(data) < namelen:
338 name = data[:namelen]
339 data = data[namelen:]
/xen/xen/include/public/
A Dplatform.h602 uint32_t namelen; /* IN: size of name buffer */ member
/xen/stubdom/
A Dlwip.patch-cvs190 size_t namelen = strlen(nodename);
191 - ai->ai_canonname = mem_malloc(namelen + 1);
192 + LWIP_ASSERT("namelen is too long", (namelen + 1) <= (mem_size_t)-1);
193 + ai->ai_canonname = mem_malloc((mem_size_t)(namelen + 1));

Completed in 20 milliseconds