Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powermac/
H A Dbootx_init.c224 char *namep; in bootx_scan_dt_build_strings() local
227 namep = np->full_name ? (char *)(base + np->full_name) : NULL; in bootx_scan_dt_build_strings()
228 if (namep == NULL) { in bootx_scan_dt_build_strings()
230 namep = ""; in bootx_scan_dt_build_strings()
232 DBG("* strings: %s\n", namep); in bootx_scan_dt_build_strings()
234 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings()
247 strscpy(bootx_disp_path, namep, sizeof(bootx_disp_path)); in bootx_scan_dt_build_strings()
255 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings()
256 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
259 soff = bootx_dt_find_string(namep); in bootx_scan_dt_build_strings()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c223 const char *namep; in mlx5_cmdif_debugfs_init() local
234 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init()
235 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init()
239 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
H A Dcmd.c2046 const char *namep = mlx5_command_str(opcode); in cmd_status_log() local
2050 if (!err || !(strcmp(namep, "unknown command opcode"))) in cmd_status_log()
/linux/tools/perf/util/
H A Ddisasm.c52 static int disasm_line__parse(char *line, const char **namep, char **rawp);
474 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
495 *namep = strdup(name); in comment__symbol()
830 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
844 *namep = strdup(name); in disasm_line__parse()
846 if (*namep == NULL) in disasm_line__parse()
873 const char **namep = &dl->ins.name; in disasm_line__parse_powerpc() local
887 ret = disasm_line__parse(name, namep, rawp); in disasm_line__parse_powerpc()
889 *namep = ""; in disasm_line__parse_powerpc()
/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c473 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
480 if (namep) { in fdt_getprop_by_offset()
487 *namep = name; in fdt_getprop_by_offset()
494 *namep = fdt_string(fdt, fdt32_ld_(&prop->nameoff)); in fdt_getprop_by_offset()
/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c12185 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp) in hfi1_read_cntrs() argument
12190 if (namep) { in hfi1_read_cntrs()
12192 *namep = dd->cntrnames; in hfi1_read_cntrs()
12256 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument
12261 if (namep) { in hfi1_read_portcntrs()
12263 *namep = ppd->dd->portcntrnames; in hfi1_read_portcntrs()
/linux/fs/nfsd/
H A Dnfs4xdr.c2332 nfsd4_decode_xattr_name(struct nfsd4_compoundargs *argp, char **namep) in nfsd4_decode_xattr_name() argument
2367 *namep = name; in nfsd4_decode_xattr_name()