Home
last modified time | relevance | path

Searched refs:namep (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A 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, "nam in bootx_scan_dt_build_strings()
280 char *namep, *p, *ep, *lp; bootx_scan_dt_build_struct() local
[all...]
/kernel/linux/linux-6.6/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, "nam in bootx_scan_dt_build_strings()
281 char *namep, *p, *ep, *lp; bootx_scan_dt_build_struct() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dprom_init.c2505 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2515 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2516 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2518 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2523 if (prom_strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2524 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2529 soff = dt_find_string(namep); in scan_dt_build_strings()
2531 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2532 namep = sstart + soff; in scan_dt_build_strings()
2535 *mem_start = (unsigned long)namep in scan_dt_build_strings()
2553 char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; scan_dt_build_struct() local
2668 char *namep; flatten_device_tree() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dprom_init.c2535 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2545 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2546 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2548 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2553 if (prom_strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2554 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2559 soff = dt_find_string(namep); in scan_dt_build_strings()
2561 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2562 namep = sstart + soff; in scan_dt_build_strings()
2565 *mem_start = (unsigned long)namep in scan_dt_build_strings()
2583 char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; scan_dt_build_struct() local
2698 char *namep; flatten_device_tree() local
[all...]
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dfdt_rw.c237 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 Dfdt_ro.c470 const char **namep, int *lenp) in fdt_getprop_by_offset()
477 if (namep) { in fdt_getprop_by_offset()
489 *namep = name; in fdt_getprop_by_offset()
491 *namep = fdt_string(fdt, fdt32_ld(&prop->nameoff)); in fdt_getprop_by_offset()
469 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) fdt_getprop_by_offset() argument
H A Dlibfdt.h706 * @namep: pointer to a string variable (will be overwritten) or NULL
713 * returned, in the integer pointed to by lenp. If namep is non-NULL,
715 * by namep (this will be a pointer to within the device tree's string
722 * if namep is non-NULL *namep contiains a pointer to the property
735 const char **namep, int *lenp);
/kernel/linux/linux-6.6/scripts/dtc/libfdt/
H A Dfdt_rw.c237 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 Dfdt_ro.c470 const char **namep, int *lenp) in fdt_getprop_by_offset()
477 if (namep) { in fdt_getprop_by_offset()
484 *namep = name; in fdt_getprop_by_offset()
491 *namep = fdt_string(fdt, fdt32_ld_(&prop->nameoff)); in fdt_getprop_by_offset()
469 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) fdt_getprop_by_offset() argument
H A Dlibfdt.h734 * @namep: pointer to a string variable (will be overwritten) or NULL
741 * returned, in the integer pointed to by lenp. If namep is non-NULL,
743 * by namep (this will be a pointer to within the device tree's string
750 * if namep is non-NULL *namep contiains a pointer to the property
763 const char **namep, int *lenp);
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_iops.c87 struct xfs_name *namep, in xfs_dentry_to_name()
90 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
91 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
92 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name()
97 struct xfs_name *namep, in xfs_dentry_mode_to_name()
101 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name()
102 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name()
103 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name()
105 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
86 xfs_dentry_to_name( struct xfs_name *namep, struct dentry *dentry) xfs_dentry_to_name() argument
96 xfs_dentry_mode_to_name( struct xfs_name *namep, struct dentry *dentry, int mode) xfs_dentry_mode_to_name() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_iops.c90 struct xfs_name *namep, in xfs_dentry_to_name()
93 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
94 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
95 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name()
100 struct xfs_name *namep, in xfs_dentry_mode_to_name()
104 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name()
105 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name()
106 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name()
108 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
89 xfs_dentry_to_name( struct xfs_name *namep, struct dentry *dentry) xfs_dentry_to_name() argument
99 xfs_dentry_mode_to_name( struct xfs_name *namep, struct dentry *dentry, int mode) xfs_dentry_mode_to_name() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c213 const char *namep; in mlx5_cmdif_debugfs_init() local
224 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init()
225 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init()
229 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
H A Dcmd.c1922 const char *namep = mlx5_command_str(opcode); in cmd_status_log() local
1926 if (!err || !(strcmp(namep, "unknown command opcode"))) in cmd_status_log()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs42xattr.c180 char *namep; in nfs4_xattr_alloc_entry() local
208 namep = buf + sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry()
209 memcpy(namep, name, slen); in nfs4_xattr_alloc_entry()
211 namep = NULL; in nfs4_xattr_alloc_entry()
236 entry->xattr_name = namep; in nfs4_xattr_alloc_entry()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs42xattr.c180 char *namep; in nfs4_xattr_alloc_entry() local
208 namep = buf + sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry()
209 memcpy(namep, name, slen); in nfs4_xattr_alloc_entry()
211 namep = NULL; in nfs4_xattr_alloc_entry()
236 entry->xattr_name = namep; in nfs4_xattr_alloc_entry()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_iba6120.c2506 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument
2511 if (namep) { in qib_read_6120cntrs()
2516 *namep = (char *)cntr6120names; in qib_read_6120cntrs()
2540 char **namep, u64 **cntrp) in qib_read_6120portcntrs()
2544 if (namep) { in qib_read_6120portcntrs()
2549 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
2539 qib_read_6120portcntrs(struct qib_devdata *dd, loff_t pos, u32 port, char **namep, u64 **cntrp) qib_read_6120portcntrs() argument
H A 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()
3202 if (namep) { in qib_read_7220portcntrs()
3203 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
3193 qib_read_7220portcntrs(struct qib_devdata *dd, loff_t pos, u32 port, char **namep, u64 **cntrp) qib_read_7220portcntrs() argument
/kernel/linux/linux-5.10/tools/perf/util/
H A Dannotate.c73 static int disasm_line__parse(char *line, const char **namep, char **rawp);
466 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
487 *namep = strdup(name); in comment__symbol()
1132 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
1146 *namep = strdup(name); in disasm_line__parse()
1148 if (*namep == NULL) in disasm_line__parse()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_iba6120.c2503 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()
2541 if (namep) { in qib_read_6120portcntrs()
2546 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
2536 qib_read_6120portcntrs(struct qib_devdata *dd, loff_t pos, u32 port, char **namep, u64 **cntrp) qib_read_6120portcntrs() argument
H A 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()
3202 if (namep) { in qib_read_7220portcntrs()
3203 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
3193 qib_read_7220portcntrs(struct qib_devdata *dd, loff_t pos, u32 port, char **namep, u64 **cntrp) qib_read_7220portcntrs() argument
/kernel/linux/linux-6.6/tools/perf/util/
H A Dannotate.c64 static int disasm_line__parse(char *line, const char **namep, char **rawp);
475 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
496 *namep = strdup(name); in comment__symbol()
1174 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
1188 *namep = strdup(name); in disasm_line__parse()
1190 if (*namep == NULL) in disasm_line__parse()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dchip.h1432 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp);
1433 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dchip.h1385 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp);
1386 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);

Completed in 64 milliseconds

12