Home
last modified time | relevance | path

Searched refs:namep (Results 1 – 12 of 12) 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, "nam in bootx_scan_dt_build_strings()
281 char *namep, *p, *ep, *lp; bootx_scan_dt_build_struct() local
[all...]
/linux/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.h759 * @namep: pointer to a string variable (will be overwritten) or NULL
766 * returned, in the integer pointed to by lenp. If namep is non-NULL,
768 * by namep (this will be a pointer to within the device tree's string
775 * if namep is non-NULL *namep contiains a pointer to the property
788 const char **namep, int *lenp);
/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()
H A Dcmd.c1987 const char *namep = mlx5_command_str(opcode); in cmd_status_log() local
1991 if (!err || !(strcmp(namep, "unknown command opcode"))) in cmd_status_log()
/linux/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/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/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/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()