/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | bootx_init.c | 227 char *namep; in bootx_scan_dt_build_strings() local 230 namep = np->full_name ? (char *)(base + np->full_name) : NULL; in bootx_scan_dt_build_strings() 231 if (namep == NULL) { in bootx_scan_dt_build_strings() 233 namep = ""; in bootx_scan_dt_build_strings() 235 DBG("* strings: %s\n", namep); in bootx_scan_dt_build_strings() 237 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings() 250 strlcpy(bootx_disp_path, namep, sizeof(bootx_disp_path)); in bootx_scan_dt_build_strings() 258 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings() 259 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings() 262 soff = bootx_dt_find_string(namep); in bootx_scan_dt_build_strings() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | prom_init.c | 2350 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local 2360 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings() 2361 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings() 2363 *mem_start = (unsigned long)namep; in scan_dt_build_strings() 2368 if (strcmp(namep, "name") == 0) { in scan_dt_build_strings() 2369 *mem_start = (unsigned long)namep; in scan_dt_build_strings() 2374 soff = dt_find_string(namep); in scan_dt_build_strings() 2376 *mem_start = (unsigned long)namep; in scan_dt_build_strings() 2377 namep = sstart + soff; in scan_dt_build_strings() 2380 *mem_start = (unsigned long)namep + strlen(namep) + 1; in scan_dt_build_strings() [all …]
|
/Linux-v4.19/scripts/dtc/libfdt/ |
D | fdt_rw.c | 251 char *namep; in fdt_set_name() local 257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 258 if (!namep) in fdt_set_name() 263 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name() 268 memcpy(namep, name, newlen+1); in fdt_set_name()
|
D | fdt_ro.c | 402 const char **namep, int *lenp) in fdt_getprop_by_offset() argument 409 if (namep) in fdt_getprop_by_offset() 410 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
|
D | libfdt.h | 639 const char **namep, int *lenp);
|
/Linux-v4.19/fs/xfs/ |
D | xfs_iops.c | 89 struct xfs_name *namep, in xfs_dentry_to_name() argument 92 namep->name = dentry->d_name.name; in xfs_dentry_to_name() 93 namep->len = dentry->d_name.len; in xfs_dentry_to_name() 94 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name() 99 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument 103 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name() 104 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name() 105 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name() 107 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | debugfs.c | 189 const char *namep; in mlx5_cmdif_debugfs_init() local 203 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init() 204 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init() 205 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
|
/Linux-v4.19/tools/perf/util/ |
D | annotate.c | 59 static int disasm_line__parse(char *line, const char **namep, char **rawp); 418 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument 439 *namep = strdup(name); in comment__symbol() 1066 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument 1080 *namep = strdup(name); in disasm_line__parse() 1082 if (*namep == NULL) in disasm_line__parse() 1091 free((void *)namep); in disasm_line__parse() 1092 *namep = NULL; in disasm_line__parse()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | chip.h | 1405 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp); 1406 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
|
D | chip.c | 12013 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp) in hfi1_read_cntrs() argument 12018 if (namep) { in hfi1_read_cntrs() 12020 *namep = dd->cntrnames; in hfi1_read_cntrs() 12084 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument 12089 if (namep) { in hfi1_read_portcntrs() 12091 *namep = ppd->dd->portcntrnames; in hfi1_read_portcntrs()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 2511 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument 2516 if (namep) { in qib_read_6120cntrs() 2521 *namep = (char *)cntr6120names; in qib_read_6120cntrs() 2545 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument 2549 if (namep) { in qib_read_6120portcntrs() 2554 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
|
D | qib_iba7220.c | 3162 static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7220cntrs() argument 3172 if (namep) { in qib_read_7220cntrs() 3173 *namep = (char *)cntr7220names; in qib_read_7220cntrs() 3197 char **namep, u64 **cntrp) in qib_read_7220portcntrs() argument 3205 if (namep) { in qib_read_7220portcntrs() 3206 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
|
D | qib_iba7322.c | 5027 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument 5032 if (namep) { in qib_read_7322cntrs() 5037 *namep = (char *) cntr7322names; in qib_read_7322cntrs() 5063 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument 5067 if (namep) { in qib_read_7322portcntrs() 5072 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()
|