Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/powermac/
Dbootx_init.c226 char *namep; in bootx_scan_dt_build_strings() local
229 namep = np->full_name ? (char *)(base + np->full_name) : NULL; in bootx_scan_dt_build_strings()
230 if (namep == NULL) { in bootx_scan_dt_build_strings()
232 namep = ""; in bootx_scan_dt_build_strings()
234 DBG("* strings: %s\n", namep); in bootx_scan_dt_build_strings()
236 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings()
249 strlcpy(bootx_disp_path, namep, sizeof(bootx_disp_path)); in bootx_scan_dt_build_strings()
257 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings()
258 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
261 soff = bootx_dt_find_string(namep); in bootx_scan_dt_build_strings()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dprom_init.c2068 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2078 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2079 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2081 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2086 if (strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2087 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2092 soff = dt_find_string(namep); in scan_dt_build_strings()
2094 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2095 namep = sstart + soff; in scan_dt_build_strings()
2098 *mem_start = (unsigned long)namep + strlen(namep) + 1; in scan_dt_build_strings()
[all …]
/linux-4.4.14/scripts/dtc/libfdt/
Dfdt_rw.c253 char *namep; in fdt_set_name() local
259 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
260 if (!namep) in fdt_set_name()
265 err = _fdt_splice_struct(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
270 memcpy(namep, name, newlen+1); in fdt_set_name()
Dfdt_ro.c311 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
318 if (namep) in fdt_getprop_by_offset()
319 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
Dlibfdt.h537 const char **namep, int *lenp);
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c199 const char *namep; in mlx5_cmdif_debugfs_init() local
213 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init()
214 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init()
215 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
/linux-4.4.14/tools/perf/util/
Dannotate.c29 static int disasm_line__parse(char *line, char **namep, char **rawp);
145 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
164 *namep = strdup(name); in comment__symbol()
681 static int disasm_line__parse(char *line, char **namep, char **rawp) in disasm_line__parse() argument
698 *namep = strdup(name); in disasm_line__parse()
700 if (*namep == NULL) in disasm_line__parse()
714 zfree(namep); in disasm_line__parse()
/linux-4.4.14/fs/xfs/
Dxfs_iops.c99 struct xfs_name *namep, in xfs_dentry_to_name() argument
103 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
104 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
105 namep->type = xfs_mode_to_ftype[(mode & S_IFMT) >> S_SHIFT]; in xfs_dentry_to_name()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dchip.h1009 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, loff_t pos, char **namep,
1012 char **namep, u64 **cntrp);
Dchip.c7831 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, loff_t pos, char **namep, in hfi1_read_cntrs() argument
7837 if (namep) { in hfi1_read_cntrs()
7843 *namep = dd->cntrnames; in hfi1_read_cntrs()
7898 char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument
7903 if (namep) { in hfi1_read_portcntrs()
7909 *namep = dd->portcntrnames; in hfi1_read_portcntrs()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_iba6120.c2549 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument
2554 if (namep) { in qib_read_6120cntrs()
2559 *namep = (char *)cntr6120names; in qib_read_6120cntrs()
2583 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument
2587 if (namep) { in qib_read_6120portcntrs()
2592 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
Dqib_iba7220.c3195 static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7220cntrs() argument
3205 if (namep) { in qib_read_7220cntrs()
3206 *namep = (char *)cntr7220names; in qib_read_7220cntrs()
3230 char **namep, u64 **cntrp) in qib_read_7220portcntrs() argument
3238 if (namep) { in qib_read_7220portcntrs()
3239 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
Dqib_iba7322.c5079 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument
5084 if (namep) { in qib_read_7322cntrs()
5089 *namep = (char *) cntr7322names; in qib_read_7322cntrs()
5115 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument
5119 if (namep) { in qib_read_7322portcntrs()
5124 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()