Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 25 of 176) sorted by relevance

12345678

/titanic_44/usr/src/cmd/idmap/idmap/
H A Didmap.c820 sid_format(name_mapping_t *nm) in sid_format() argument
826 switch (nm->is_wuser) { in sid_format()
839 len = strlen(nm->sidprefix) + 7 + 3 * sizeof (nm->rid); in sid_format()
844 (void) snprintf(to, len, "%s:%s-%u", typestring, nm->sidprefix, in sid_format()
845 nm->rid); in sid_format()
868 nm2winqn(name_mapping_t *nm, char **winqn) in nm2winqn() argument
876 if (nm->winname == NULL && nm->sidprefix != NULL) { in nm2winqn()
877 *winqn = sid_format(nm); in nm2winqn()
881 switch (nm->is_wuser) { in nm2winqn()
896 if (nm->winname != NULL) in nm2winqn()
[all …]
/titanic_44/usr/src/tools/ndrgen/
H A Dndr_print.c45 char *nm; in print_node() local
53 case ALIGN_KW: nm = "align"; break; in print_node()
54 case STRUCT_KW: nm = "struct"; break; in print_node()
55 case UNION_KW: nm = "union"; break; in print_node()
56 case TYPEDEF_KW: nm = "typedef"; break; in print_node()
57 case INTERFACE_KW: nm = "interface"; break; in print_node()
58 case IN_KW: nm = "in"; break; in print_node()
59 case OUT_KW: nm = "out"; break; in print_node()
60 case SIZE_IS_KW: nm = "size_is"; break; in print_node()
61 case LENGTH_IS_KW: nm = "length_is"; break; in print_node()
[all …]
/titanic_44/usr/src/cmd/allocate/
H A Dmkdevalloc.c237 char *nm; /* name/device of special device */ in dotape() local
275 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1); in dotape()
276 if (nm == NULL) in dotape()
278 (void) strcpy(nm, "/dev/"); in dotape()
279 (void) strcat(nm, dep->d_name); in dotape()
280 tape[i].name = nm; in dotape()
294 nm = (char *)malloc(sz + 1); in dotape()
295 if (nm == NULL) in dotape()
297 (void) strncpy(nm, linkvalue, sz); in dotape()
298 nm[sz] = '\0'; in dotape()
[all …]
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_vtops.c73 devvt_str2minor(const char *nm, minor_t *mp) in devvt_str2minor() argument
78 if (nm == NULL || !isdigit(*nm)) in devvt_str2minor()
82 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 || in devvt_str2minor()
101 char *nm = dv->sdev_name; in devvt_validate() local
110 nm, (void *)dv)); in devvt_validate()
117 if (strcmp(nm, DEVVT_ACTIVE_NAME) == 0) { in devvt_validate()
126 if (strcmp(nm, DEVVT_CONSUSER_NAME) == 0) { in devvt_validate()
135 if (devvt_str2minor(nm, &min) != 0) { in devvt_validate()
151 devvt_create_rvp(struct sdev_node *ddv, char *nm, in devvt_create_rvp() argument
161 if (strcmp(nm, DEVVT_ACTIVE_NAME) == 0) { in devvt_create_rvp()
[all …]
H A Dsdev_ptsops.c74 devpts_strtol(const char *nm, minor_t *mp) in devpts_strtol() argument
79 if (nm == NULL || !isdigit(*nm)) in devpts_strtol()
83 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 || in devpts_strtol()
108 char *nm = dv->sdev_name; in devpts_validate() local
115 nm, (void *)dv)); in devpts_validate()
119 if (devpts_strtol(nm, &min) != 0) { in devpts_validate()
120 sdcmn_err7(("devpts_validate: not a valid minor: %s\n", nm)); in devpts_validate()
135 "%s\n", nm)); in devpts_validate()
139 nm)); in devpts_validate()
152 sdcmn_err7(("devpts_validate: update uid/gid/times%s\n", nm)); in devpts_validate()
[all …]
H A Dsdev_subr.c290 sdev_nodeinit(struct sdev_node *ddv, char *nm, struct sdev_node **newdv, in sdev_nodeinit() argument
298 nmlen = strlen(nm) + 1; in sdev_nodeinit()
301 " too long\n", nm)); in sdev_nodeinit()
309 bcopy(nm, dv->sdev_name, nmlen); in sdev_nodeinit()
311 len = strlen(ddv->sdev_path) + strlen(nm) + 2; in sdev_nodeinit()
313 (void) snprintf(dv->sdev_path, len, "%s/%s", ddv->sdev_path, nm); in sdev_nodeinit()
806 sdev_mknode(struct sdev_node *ddv, char *nm, struct sdev_node **newdv, in sdev_mknode() argument
827 error = sdev_nodeinit(ddv, nm, &dv, vap); in sdev_mknode()
831 error, nm)); in sdev_mknode()
837 sdev_cache_update(ddv, &dv, nm, SDEV_CACHE_ADD); in sdev_mknode()
[all …]
H A Dsdev_netops.c77 devnet_create_rvp(const char *nm, struct vattr *vap, dls_dl_handle_t *ddhp) in devnet_create_rvp() argument
83 if ((error = dls_devnet_open(nm, ddhp, &dev)) != 0) { in devnet_create_rvp()
85 "network node: %s\n", nm)); in devnet_create_rvp()
112 devnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in devnet_lookup() argument
129 nmlen = strlen(nm); in devnet_lookup()
130 if ((nmlen == 0) || ((nmlen == 1) && (nm[0] == '.'))) { in devnet_lookup()
139 if ((nmlen == 2) && (strcmp(nm, "..") == 0)) { in devnet_lookup()
150 if ((dv = sdev_cache_lookup(ddv, nm)) != NULL) { in devnet_lookup()
162 error = devnet_create_rvp(nm, &vattr, &ddh); in devnet_lookup()
166 error = sdev_mknode(ddv, nm, &dv, &vattr, NULL, NULL, cred, SDEV_READY); in devnet_lookup()
H A Dsdev_zvolops.c253 char *nm = dv->sdev_name; in devzvol_validate() local
256 sdcmn_err13(("validating ('%s' '%s')", dv->sdev_path, nm)); in devzvol_validate()
263 sdcmn_err13(("skipping '%s'", nm)); in devzvol_validate()
393 devzvol_create_dir(struct sdev_node *ddv, char *nm, void **arg, in devzvol_create_dir() argument
400 ddv->sdev_path, nm)); in devzvol_create_dir()
413 devzvol_create_link(struct sdev_node *ddv, char *nm, in devzvol_create_link() argument
423 ddv->sdev_path, nm)); in devzvol_create_link()
424 dsname = devzvol_make_dsname(ddv->sdev_path, nm); in devzvol_create_link()
502 devzvol_mk_ngz_node(struct sdev_node *parent, char *nm) in devzvol_mk_ngz_node() argument
522 if ((dsname = devzvol_make_dsname(parent->sdev_path, nm)) == NULL) in devzvol_mk_ngz_node()
[all …]
H A Dsdev_vnops.c616 sdev_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in sdev_lookup() argument
631 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_lookup()
632 return (devname_lookup_func(parent, nm, vpp, cred, NULL, 0)); in sdev_lookup()
637 sdev_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, in sdev_create() argument
666 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_create()
676 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_create()
700 nm, vap, excl, mode, &avp, cred, flag, ct, vsecp); in sdev_create()
736 error = sdev_mknode(parent, nm, &self, vap, NULL, NULL, in sdev_create()
763 sdev_remove(struct vnode *dvp, char *nm, struct cred *cred, in sdev_remove() argument
774 len = strlen(nm); in sdev_remove()
[all …]
H A Dsdev_profile.c475 char *nm; in walk_dir() local
512 nm = dp->d_name; in walk_dir()
514 if (strcmp(nm, ".") == 0 || in walk_dir()
515 strcmp(nm, "..") == 0) in walk_dir()
518 if (callback(nm, arg) == WALK_DIR_TERMINATE) in walk_dir()
587 prof_make_name_glob(char *nm, void *arg) in prof_make_name_glob() argument
591 if (prof_name_matched(nm, ddv)) in prof_make_name_glob()
592 prof_lookup_globaldev(ddv, ddv->sdev_origin, nm, nm); in prof_make_name_glob()
598 prof_make_name_zone(char *nm, void *arg) in prof_make_name_zone() argument
602 if (prof_zone_matched(nm, ddv)) in prof_make_name_zone()
[all …]
/titanic_44/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c331 dv_mkdir(struct dv_node *ddv, dev_info_t *devi, char *nm) in dv_mkdir() argument
338 dcmn_err4(("dv_mkdir: %s\n", nm)); in dv_mkdir()
341 nmlen = strlen(nm) + 1; in dv_mkdir()
343 bcopy(nm, dv->dv_name, nmlen); in dv_mkdir()
382 dv_mknod(struct dv_node *ddv, dev_info_t *devi, char *nm, in dv_mknod() argument
389 dcmn_err4(("dv_mknod: %s\n", nm)); in dv_mknod()
392 nmlen = strlen(nm) + 1; in dv_mknod()
394 bcopy(nm, dv->dv_name, nmlen); in dv_mknod()
495 dv_findbyname(struct dv_node *ddv, char *nm) in dv_findbyname() argument
502 dcmn_err3(("dv_findbyname: %s\n", nm)); in dv_findbyname()
[all …]
/titanic_44/usr/src/cmd/ndmpd/tlm/
H A Dtlm_util.c433 trim_name(char *nm) in trim_name() argument
435 while (*nm) { in trim_name()
436 if (*nm == '/') { in trim_name()
437 nm++; in trim_name()
440 if (*nm == '.' && nm[1] == '/' && nm[2]) { in trim_name()
441 nm += 2; in trim_name()
446 return (nm); in trim_name()
537 tlm_new_dir_info(struct fs_fhandle *fhp, char *dir, char *nm) in tlm_new_dir_info() argument
545 if (!tlm_cat_path(fdip->fd_dir_name, dir, nm)) { in tlm_new_dir_info()
548 dir, nm); in tlm_new_dir_info()
/titanic_44/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_8636_tech.out2 0 850 nm VCSEL
8 0 1310 nm VCSEL
14 0 1550 nm VCSEL
20 0 1310 nm FP
26 0 1310 nm DFB
32 0 1550 nm DFB
38 0 1310 nm EML
44 0 1550 nm EML
56 0 1490 nm DFB
H A Dlibsff_wave.out1 Laser Wavelength: 4660 nm
10 Laser Wavelength: 233.000 nm
11 Wavelength Tolerance: 1106.800 nm
/titanic_44/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_mem.c50 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_mem_serdnm_create() local
51 (void) snprintf(nm, sz, fmt, serdbase, serial); in gmem_mem_serdnm_create()
53 return (nm); in gmem_mem_serdnm_create()
62 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_page_serdnm_create() local
63 (void) snprintf(nm, sz, fmt, serdbase, phys_addr); in gmem_page_serdnm_create()
65 return (nm); in gmem_page_serdnm_create()
74 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_mq_serdnm_create() local
75 (void) snprintf(nm, sz, fmt, serdbase, phys_addr, cw, pos); in gmem_mq_serdnm_create()
77 return (nm); in gmem_mq_serdnm_create()
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_writes.c1912 char **nm, **lm; in __s_cvt_group() local
1971 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_group()
1972 if (nm == NULL) { in __s_cvt_group()
1977 nm[j] = strdup(lm[j]); in __s_cvt_group()
1978 if (nm[j] == NULL) { in __s_cvt_group()
1980 free(nm[k]); in __s_cvt_group()
1981 free(nm); in __s_cvt_group()
1986 rc = __s_add_attrlist(e, "memberUid", nm); in __s_cvt_group()
1988 free(nm[j]); in __s_cvt_group()
1990 free(nm); in __s_cvt_group()
[all …]
/titanic_44/usr/src/common/zfs/
H A Dzfs_comutil.c74 char *nm; in zpool_get_rewind_policy() local
87 nm = nvpair_name(elem); in zpool_get_rewind_policy()
88 if (strcmp(nm, ZPOOL_REWIND_POLICY) == 0) { in zpool_get_rewind_policy()
92 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST) == 0) { in zpool_get_rewind_policy()
96 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST_TXG) == 0) { in zpool_get_rewind_policy()
98 } else if (strcmp(nm, ZPOOL_REWIND_META_THRESH) == 0) { in zpool_get_rewind_policy()
100 } else if (strcmp(nm, ZPOOL_REWIND_DATA_THRESH) == 0) { in zpool_get_rewind_policy()
/titanic_44/usr/src/lib/libsqlite/src/
H A Dparse.y85 trans_opt ::= TRANSACTION nm.
93 create_table ::= CREATE(X) temp(T) TABLE nm(Y). { in CREATE()
114 columnid ::= nm(X). {sqliteAddColumn(pParse,&X);} in nm() function
157 %type nm {Token}
158 nm(A) ::= ID(X). {A = X;} in nm() function
159 nm(A) ::= STRING(X). {A = X;} in nm() function
160 nm(A) ::= JOIN_KW(X). {A = X;} in nm() function
176 carg ::= CONSTRAINT nm ccons.
196 ccons ::= REFERENCES nm(T) idxlist_opt(TA) refargs(R). in nm() function
212 refarg(A) ::= MATCH nm. { A.value = 0; A.mask = 0x000000; }
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c73 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_mem_serdnm_create() local
74 (void) snprintf(nm, sz, fmt, serdbase, unum); in cmd_mem_serdnm_create()
76 return (nm); in cmd_mem_serdnm_create()
85 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_page_serdnm_create() local
86 (void) snprintf(nm, sz, fmt, serdbase, phys_addr); in cmd_page_serdnm_create()
88 return (nm); in cmd_page_serdnm_create()
97 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_mq_serdnm_create() local
98 (void) snprintf(nm, sz, fmt, serdbase, phys_addr, cw, pos); in cmd_mq_serdnm_create()
100 return (nm); in cmd_mq_serdnm_create()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c178 nfs4_fname_t *nm; in sv_find() local
186 nm = *namepp; in sv_find()
200 if (sv_match(nm, drp->r_fh, master_svp)) { in sv_find()
202 fn_rele(&nm); in sv_find()
214 if (sv_match(nm, drp->r_fh, svp)) { in sv_find()
223 fn_rele(&nm); in sv_find()
250 svp->sv_name = nm; in sv_find()
265 sv_match(nfs4_fname_t *nm, nfs4_sharedfh_t *fhp, svnode_t *svp) in sv_match() argument
269 return (svp->sv_name != NULL && svp->sv_name == nm && in sv_match()
/titanic_44/usr/src/lib/efcode/include/fcode/
H A Dprivate.h76 #define FCODE(token, fl, nm, fnc) \ argument
79 do_code(env, token, nm, fnc);
81 #define ANSI(tk, t, nm, fnc) FCODE(tk, (ANSI_WORD|P1275_WORD|t), nm, fnc) argument
82 #define P1275(tk, t, nm, fnc) FCODE(tk, (P1275_WORD|t), nm, fnc) argument
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c355 char *nm, in auto_lookup() argument
376 (void *)dvp, dfnip->fi_map, nm)); in auto_lookup()
378 if (nm[0] == 0) { in auto_lookup()
387 if (nm[0] == '.' && nm[1] == 0) { in auto_lookup()
393 if (nm[0] == '.' && nm[1] == '.' && nm[2] == 0) { in auto_lookup()
417 error = VOP_LOOKUP(vp, nm, vpp, pnp, flags, rdir, cred, in auto_lookup()
430 searchnm = nm; in auto_lookup()
464 error = VOP_LOOKUP(newvp, nm, vpp, pnp, in auto_lookup()
473 error = auto_search(dfnp, nm, &fnp, cred); in auto_lookup()
509 error = auto_search(dfnp, nm, &fnp, cred); in auto_lookup()
[all …]
/titanic_44/usr/src/cmd/sgs/nm/i386/
H A DMakefile27 PROG= nm
28 XPG4PROG= nm
35 COMOBJS= nm.o
38 XPG4OBJS= objs.xpg4/nm.o
/titanic_44/usr/src/cmd/sgs/nm/sparc/
H A DMakefile28 PROG= nm
29 XPG4PROG= nm
36 COMOBJS= nm.o
39 XPG4OBJS= objs.xpg4/nm.o
/titanic_44/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c112 uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp,
115 static int strip_trailing(struct hsfs *fsp, char *nm, int len);
116 static int hs_namelen(struct hsfs *fsp, char *nm, int len);
1446 char *nm, /* upcase nm to compare against */ in process_dirblock() argument
1566 rr_namelen = rrip_namecopy(nm, &rrip_name_str[0], in process_dirblock()
1644 !HSFS_HAVE_LOWER_CASE(fsp) && *nm < *dname) { in process_dirblock()
1645 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1649 if (*nm != *dname || nmlen != dnamelen) in process_dirblock()
1652 if ((res = bcmp(dname, nm, nmlen)) == 0) { in process_dirblock()
1674 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
[all …]

12345678