Home
last modified time | relevance | path

Searched refs:namep (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/powermac/
Dbootx_init.c223 char *namep; in bootx_scan_dt_build_strings() local
226 namep = np->full_name ? (char *)(base + np->full_name) : NULL; in bootx_scan_dt_build_strings()
227 if (namep == NULL) { in bootx_scan_dt_build_strings()
229 namep = ""; in bootx_scan_dt_build_strings()
231 DBG("* strings: %s\n", namep); in bootx_scan_dt_build_strings()
233 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings()
246 strlcpy(bootx_disp_path, namep, sizeof(bootx_disp_path)); in bootx_scan_dt_build_strings()
254 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings()
255 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
258 soff = bootx_dt_find_string(namep); in bootx_scan_dt_build_strings()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dprom_init.c2468 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2478 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2479 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2481 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2486 if (prom_strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2487 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2492 soff = dt_find_string(namep); in scan_dt_build_strings()
2494 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2495 namep = sstart + soff; in scan_dt_build_strings()
2498 *mem_start = (unsigned long)namep + prom_strlen(namep) + 1; in scan_dt_build_strings()
[all …]
/Linux-v5.4/scripts/dtc/libfdt/
Dfdt_rw.c222 char *namep; in fdt_set_name() local
228 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
229 if (!namep) in fdt_set_name()
234 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
239 memcpy(namep, name, newlen+1); in fdt_set_name()
Dfdt_ro.c453 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
460 if (namep) { in fdt_getprop_by_offset()
470 *namep = name; in fdt_getprop_by_offset()
Dlibfdt.h730 const char **namep, int *lenp);
/Linux-v5.4/fs/xfs/
Dxfs_iops.c79 struct xfs_name *namep, in xfs_dentry_to_name() argument
82 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
83 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
84 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name()
89 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument
93 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name()
94 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name()
95 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name()
97 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c168 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-v5.4/drivers/infiniband/hw/hfi1/
Dchip.h1424 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp);
1425 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
Dchip.c12056 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp) in hfi1_read_cntrs() argument
12061 if (namep) { in hfi1_read_cntrs()
12063 *namep = dd->cntrnames; in hfi1_read_cntrs()
12127 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument
12132 if (namep) { in hfi1_read_portcntrs()
12134 *namep = ppd->dd->portcntrnames; in hfi1_read_portcntrs()
/Linux-v5.4/tools/perf/util/
Dannotate.c73 static int disasm_line__parse(char *line, const char **namep, char **rawp);
450 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
471 *namep = strdup(name); in comment__symbol()
1111 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
1125 *namep = strdup(name); in disasm_line__parse()
1127 if (*namep == NULL) in disasm_line__parse()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_iba6120.c2507 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument
2512 if (namep) { in qib_read_6120cntrs()
2517 *namep = (char *)cntr6120names; in qib_read_6120cntrs()
2541 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument
2545 if (namep) { in qib_read_6120portcntrs()
2550 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
Dqib_iba7220.c3159 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()
Dqib_iba7322.c5023 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument
5028 if (namep) { in qib_read_7322cntrs()
5033 *namep = (char *) cntr7322names; in qib_read_7322cntrs()
5059 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument
5063 if (namep) { in qib_read_7322portcntrs()
5068 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()