Home
last modified time | relevance | path

Searched refs:namep (Results 1 – 6 of 6) 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/fs/xfs/
H A Dxfs_iops.c97 struct xfs_name *namep, in xfs_dentry_to_name() argument
100 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
101 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
102 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name()
107 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument
111 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name()
112 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name()
113 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name()
115 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
/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()
/linux/tools/perf/util/
H A Ddisasm.c52 static int disasm_line__parse(char *line, const char **namep, char **rawp);
499 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
520 *namep = strdup(name); in comment__symbol()
935 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
949 *namep = strdup(name); in disasm_line__parse()
951 if (*namep == NULL) in disasm_line__parse()
978 const char **namep = &dl->ins.name; in disasm_line__parse_powerpc() local
992 ret = disasm_line__parse(name, namep, rawp); in disasm_line__parse_powerpc()
994 *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()