/linux/arch/powerpc/platforms/powermac/ |
A D | bootx_init.c | 223 char *namep; in bootx_scan_dt_build_strings() local 229 namep = ""; in bootx_scan_dt_build_strings() 255 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings() 287 if (namep == NULL) in bootx_scan_dt_build_struct() 288 namep = ""; in bootx_scan_dt_build_struct() 289 l = strlen(namep); in bootx_scan_dt_build_struct() 298 namep = (char *)*mem_end; in bootx_scan_dt_build_struct() 299 for (lp = p = namep, ep = namep + l; p < ep; p++) { in bootx_scan_dt_build_struct() 301 lp = namep; in bootx_scan_dt_build_struct() 315 if (namep == NULL || !strcmp(namep, "name")) in bootx_scan_dt_build_struct() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | prom_init.c | 2539 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local 2563 soff = dt_find_string(namep); in scan_dt_build_strings() 2566 namep = sstart + soff; in scan_dt_build_strings() 2569 *mem_start = (unsigned long)namep + prom_strlen(namep) + 1; in scan_dt_build_strings() 2572 prev_name = namep; in scan_dt_build_strings() 2596 namep = (char *)*mem_start; in scan_dt_build_struct() 2608 namep[l] = '\0'; in scan_dt_build_struct() 2614 for (lp = p = namep, ep = namep + l; p < ep; p++) { in scan_dt_build_struct() 2616 lp = namep; in scan_dt_build_struct() 2702 char *namep; in flatten_device_tree() local [all …]
|
/linux/scripts/dtc/libfdt/ |
A D | fdt_rw.c | 237 char *namep; in fdt_set_name() local 243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 244 if (!namep) in fdt_set_name() 249 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name() 254 memcpy(namep, name, newlen+1); in fdt_set_name()
|
A D | fdt_ro.c | 470 const char **namep, int *lenp) in fdt_getprop_by_offset() argument 477 if (namep) { in fdt_getprop_by_offset() 489 *namep = name; in fdt_getprop_by_offset() 491 *namep = fdt_string(fdt, fdt32_ld_(&prop->nameoff)); in fdt_getprop_by_offset()
|
A D | libfdt.h | 756 const char **namep, int *lenp);
|
/linux/fs/xfs/ |
A D | xfs_iops.c | 88 struct xfs_name *namep, in xfs_dentry_to_name() argument 91 namep->name = dentry->d_name.name; in xfs_dentry_to_name() 92 namep->len = dentry->d_name.len; in xfs_dentry_to_name() 93 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name() 98 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument 102 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name() 103 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name() 104 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name() 106 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | debugfs.c | 168 const char *namep; in mlx5_cmdif_debugfs_init() local 176 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init() 177 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init() 178 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
|
/linux/fs/nfs/ |
A D | nfs42xattr.c | 180 char *namep; in nfs4_xattr_alloc_entry() local 208 namep = buf + sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry() 209 memcpy(namep, name, slen); in nfs4_xattr_alloc_entry() 211 namep = NULL; in nfs4_xattr_alloc_entry() 236 entry->xattr_name = namep; in nfs4_xattr_alloc_entry()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_iba6120.c | 2506 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument 2511 if (namep) { in qib_read_6120cntrs() 2516 *namep = (char *)cntr6120names; in qib_read_6120cntrs() 2540 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument 2544 if (namep) { in qib_read_6120portcntrs() 2549 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
|
A D | qib_iba7220.c | 3159 static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7220cntrs() argument 3169 if (namep) { in qib_read_7220cntrs() 3170 *namep = (char *)cntr7220names; in qib_read_7220cntrs() 3194 char **namep, u64 **cntrp) in qib_read_7220portcntrs() argument 3202 if (namep) { in qib_read_7220portcntrs() 3203 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
|
A D | qib_iba7322.c | 4999 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument 5004 if (namep) { in qib_read_7322cntrs() 5009 *namep = (char *) cntr7322names; in qib_read_7322cntrs() 5035 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument 5039 if (namep) { in qib_read_7322portcntrs() 5044 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | chip.h | 1385 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp); 1386 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
|
A D | chip.c | 12183 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp) in hfi1_read_cntrs() argument 12188 if (namep) { in hfi1_read_cntrs() 12190 *namep = dd->cntrnames; in hfi1_read_cntrs() 12254 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument 12259 if (namep) { in hfi1_read_portcntrs() 12261 *namep = ppd->dd->portcntrnames; in hfi1_read_portcntrs()
|
/linux/tools/perf/util/ |
A D | annotate.c | 70 static int disasm_line__parse(char *line, const char **namep, char **rawp); 467 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument 488 *namep = strdup(name); in comment__symbol() 1133 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument 1147 *namep = strdup(name); in disasm_line__parse() 1149 if (*namep == NULL) in disasm_line__parse()
|
/linux/fs/nfsd/ |
A D | nfs4xdr.c | 2065 nfsd4_decode_xattr_name(struct nfsd4_compoundargs *argp, char **namep) in nfsd4_decode_xattr_name() argument 2100 *namep = name; in nfsd4_decode_xattr_name()
|