Home
last modified time | relevance | path

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

/arch/powerpc/boot/libfdt/
Dfdt_ro.c101 const char *name, int namelen) in fdt_subnode_offset_namelen() argument
113 && _fdt_nodename_eq(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen()
271 int offset, depth, namelen; in fdt_get_path() local
292 name = fdt_get_name(fdt, offset, &namelen); in fdt_get_path()
294 return namelen; in fdt_get_path()
295 if ((p + namelen + 1) <= buflen) { in fdt_get_path()
296 memcpy(buf + p, name, namelen); in fdt_get_path()
297 p += namelen; in fdt_get_path()
Dfdt_sw.c141 int namelen = strlen(name) + 1; in fdt_begin_node() local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
150 memcpy(nh->name, name, namelen); in fdt_begin_node()
Dfdt_rw.c308 const char *name, int namelen) in fdt_add_subnode_namelen() argument
319 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
333 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
340 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
341 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
Dlibfdt.h272 const char *name, int namelen);
1014 const char *name, int namelen);
/arch/mips/include/asm/fw/cfe/
Dcfe_api.h100 int cfe_enumenv(int idx, char *name, int namelen, char *val, int vallen);
/arch/mips/include/asm/
Dsgiarcs.h145 ULONG namelen; member
180 unsigned long namelen; member
/arch/mips/fw/cfe/
Dcfe_api.c119 int cfe_enumenv(int idx, char *name, int namelen, char *val, int vallen) in cfe_enumenv() argument
130 xiocb.plist.xiocb_envbuf.name_length = namelen; in cfe_enumenv()
/arch/alpha/kernel/
Dosf_sys.c437 SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) in SYSCALL_DEFINE2() argument
442 if (!access_ok(VERIFY_WRITE, name, namelen)) in SYSCALL_DEFINE2()
445 len = namelen; in SYSCALL_DEFINE2()
446 if (namelen > 32) in SYSCALL_DEFINE2()