Home
last modified time | relevance | path

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

/linux-6.15/arch/powerpc/platforms/powermac/
H A Dbootx_init.c224 char *namep; in bootx_scan_dt_build_strings() local
230 namep = ""; in bootx_scan_dt_build_strings()
256 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
288 if (namep == NULL) in bootx_scan_dt_build_struct()
289 namep = ""; in bootx_scan_dt_build_struct()
290 l = strlen(namep); in bootx_scan_dt_build_struct()
299 namep = (char *)*mem_end; in bootx_scan_dt_build_struct()
300 for (lp = p = namep, ep = namep + l; p < ep; p++) { in bootx_scan_dt_build_struct()
302 lp = namep; in bootx_scan_dt_build_struct()
316 if (namep == NULL || !strcmp(namep, "name")) in bootx_scan_dt_build_struct()
[all …]
/linux-6.15/arch/powerpc/kernel/
H A Dprom_init.c2543 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2567 soff = dt_find_string(namep); in scan_dt_build_strings()
2570 namep = sstart + soff; in scan_dt_build_strings()
2573 *mem_start = (unsigned long)namep + prom_strlen(namep) + 1; in scan_dt_build_strings()
2576 prev_name = namep; in scan_dt_build_strings()
2600 namep = (char *)*mem_start; in scan_dt_build_struct()
2612 namep[l] = '\0'; in scan_dt_build_struct()
2618 for (lp = p = namep, ep = namep + l; p < ep; p++) { in scan_dt_build_struct()
2620 lp = namep; in scan_dt_build_struct()
2706 char *namep; in flatten_device_tree() local
[all …]
/linux-6.15/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.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()
H A Dlibfdt.h788 const char **namep, int *lenp);
/linux-6.15/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-6.15/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.c1988 const char *namep = mlx5_command_str(opcode); in cmd_status_log() local
1992 if (!err || !(strcmp(namep, "unknown command opcode"))) in cmd_status_log()
/linux-6.15/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()
/linux-6.15/tools/perf/util/
H A Ddisasm.c50 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
988 ret = disasm_line__parse(name, namep, rawp); in disasm_line__parse_powerpc()
990 *namep = ""; in disasm_line__parse_powerpc()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dchip.h1384 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp);
1385 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
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-6.15/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() argument
2541 if (namep) { in qib_read_6120portcntrs()
2546 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
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() argument
3202 if (namep) { in qib_read_7220portcntrs()
3203 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
H A Dqib_iba7322.c4998 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument
5003 if (namep) { in qib_read_7322cntrs()
5008 *namep = (char *) cntr7322names; in qib_read_7322cntrs()
5034 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument
5038 if (namep) { in qib_read_7322portcntrs()
5043 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()
/linux-6.15/fs/nfsd/
H A Dnfs4xdr.c2207 nfsd4_decode_xattr_name(struct nfsd4_compoundargs *argp, char **namep) in nfsd4_decode_xattr_name() argument
2242 *namep = name; in nfsd4_decode_xattr_name()