Searched refs:namep (Results 1 – 9 of 9) sorted by relevance
/linux/arch/powerpc/platforms/powermac/ |
H A D | bootx_init.c | 224 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/scripts/dtc/libfdt/ |
H A D | fdt_rw.c | 237 char *namep; in fdt_set_name() local 243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 244 if (!namep) in fdt_set_name() 249 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name() 254 memcpy(namep, name, newlen+1); in fdt_set_name()
|
H A D | fdt_ro.c | 473 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()
|
H A D | libfdt.h | 788 const char **namep, int *lenp);
|
/linux/fs/xfs/ |
H A D | xfs_iops.c | 96 struct xfs_name *namep, in xfs_dentry_to_name() argument 99 namep->name = dentry->d_name.name; in xfs_dentry_to_name() 100 namep->len = dentry->d_name.len; in xfs_dentry_to_name() 101 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name() 106 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument 110 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name() 111 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name() 112 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name() 114 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 223 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 D | cmd.c | 1962 const char *namep = mlx5_command_str(opcode); in cmd_status_log() local 1966 if (!err || !(strcmp(namep, "unknown command opcode"))) in cmd_status_log()
|
/linux/tools/perf/util/ |
H A D | disasm.c | 50 static int disasm_line__parse(char *line, const char **namep, char **rawp); 495 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument 516 *namep = strdup(name); in comment__symbol() 931 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument 945 *namep = strdup(name); in disasm_line__parse() 947 if (*namep == NULL) in disasm_line__parse() 974 const char **namep = &dl->ins.name; in disasm_line__parse_powerpc() local 987 disasm_line__parse(name, namep, rawp); in disasm_line__parse_powerpc() 989 *namep = ""; in disasm_line__parse_powerpc()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_iba6120.c | 2503 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument 2508 if (namep) { in qib_read_6120cntrs() 2513 *namep = (char *)cntr6120names; in qib_read_6120cntrs() 2537 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument 2541 if (namep) { in qib_read_6120portcntrs() 2546 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
|