Home
last modified time | relevance | path

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

1234567

/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap.c998 nm->winname = nm->windomain = nm->unixname = nm->sidprefix = NULL; in name_mapping_init()
1458 (void) memset(&nm, 0, sizeof (nm)); in print_error_info()
1576 &nm->sidprefix, &nm->rid, &nm->pid, in do_dump()
1577 &nm->winname, &nm->windomain, in do_dump()
2186 nm->unixname, nm->is_nt4, nm->direction); in do_import()
2254 &nm->is_nt4, &nm->direction); in list_name_mappings()
2614 nm->winname, nm->unixname, nm->is_nt4, nm->direction); in do_add_name_mapping()
2731 nm->windomain, nm->winname, nm->unixname, nm->direction); in do_remove_name_mapping()
2963 nm->is_user, &nm->is_wuser, in do_show_mapping()
3251 nm->is_user, nm->is_wuser, nm->direction); in do_set_namemap()
[all …]
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_print.c49 char *nm; in print_node() local
63 case IN_KW: nm = "in"; break; in print_node()
64 case OUT_KW: nm = "out"; break; in print_node()
81 case STAR: nm = "<*>"; break; in print_node()
82 case LB: nm = "<[>"; break; in print_node()
83 case LP: nm = "<(>"; break; in print_node()
99 (void) printf("%s ", nm); in print_node()
113 (void) printf("%s", nm); in print_node()
122 (void) printf("%s(", nm); in print_node()
129 (void) printf("%s(", nm); in print_node()
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c276 if (nm == NULL) in dotape()
295 if (nm == NULL) in dotape()
298 nm[sz] = '\0'; in dotape()
334 if (nm == NULL) in dotape()
342 if (nm == NULL) in dotape()
483 if (nm == NULL) in doaudio()
502 if (nm == NULL) in doaudio()
505 nm[sz] = '\0'; in doaudio()
536 if (nm == NULL) in doaudio()
713 nm[sz] = '\0'; in dofloppy()
[all …]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vtops.c78 if (nm == NULL || !isdigit(*nm)) 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()
135 if (devvt_str2minor(nm, &min) != 0) { in devvt_validate()
161 if (strcmp(nm, DEVVT_ACTIVE_NAME) == 0) { in devvt_create_rvp()
170 if (devvt_str2minor(nm, &min) != 0) in devvt_create_rvp()
246 devvt_str2minor(nm, &min) != 0) in devvt_create_snode()
375 char nm[16]; in devvt_cleandir() local
380 (void) snprintf(nm, sizeof (nm), "%d", min); in devvt_cleandir()
[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()
135 "%s\n", nm)); in devpts_validate()
139 nm)); in devpts_validate()
164 devpts_create_rvp(struct sdev_node *ddv, char *nm, in devpts_create_rvp() argument
174 if (devpts_strtol(nm, &min) != 0) { in devpts_create_rvp()
[all …]
H A Dsdev_subr.c695 error, nm)); in sdev_mknode()
1300 char *nm; in sdev_filldir_from_store() local
1350 nm = dp->d_name; in sdev_filldir_from_store()
1419 char *nm = NULL; in sdev_filldir_dynamic() local
2534 char *nm; in sdev_modctl_lookup() local
2557 if (nm[0] == '.' && nm[1] == '.' && nm[2] == 0) { in sdev_modctl_lookup()
2560 nm[1] = 0; in sdev_modctl_lookup()
2700 char *nm; in sdev_modctl_readdir() local
2739 nm = dp->d_name; in sdev_modctl_readdir()
2741 if (strcmp(nm, ".") == 0 || strcmp(nm, "..") == 0) in sdev_modctl_readdir()
[all …]
H A Dsdev_zvolops.c281 char *nm = dv->sdev_name; in devzvol_validate() local
291 sdcmn_err13(("skipping '%s'", nm)); in devzvol_validate()
328 prof_name_matched(nm, parent)) { in devzvol_validate()
501 ddv->sdev_path, nm)); in devzvol_create_dir()
524 ddv->sdev_path, nm)); in devzvol_create_link()
525 dsname = devzvol_make_dsname(ddv->sdev_path, nm); in devzvol_create_link()
642 prof_name_matched(nm, parent)) { in devzvol_mk_ngz_node()
681 res = sdev_mknode(parent, nm, &dv, &vattr, in devzvol_mk_ngz_node()
727 res = prof_lookup(dvp, nm, vpp, cred); in devzvol_lookup()
739 if (devzvol_mk_ngz_node(parent, nm) != 0) in devzvol_lookup()
[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_vnops.c633 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_lookup()
670 error = prof_lookup(dvp, nm, vpp, cred); in sdev_create()
804 len = strlen(nm); in sdev_remove()
805 if (nm[0] == '.') { in sdev_remove()
808 } else if (len == 2 && nm[1] == '.') { in sdev_remove()
827 dv = sdev_cache_lookup(parent, nm); in sdev_remove()
1250 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_mkdir()
1276 error = sdev_mknode(parent, nm, &self, in sdev_mkdir()
1316 if (strcmp(nm, ".") == 0) in sdev_rmdir()
1318 if (strcmp(nm, "..") == 0) in sdev_rmdir()
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defichar.c56 while (*nm) { in utf8_len_of_ucs2()
57 c = *nm++; in utf8_len_of_ucs2()
77 sz = utf8_len_of_ucs2(nm) + 1; in ucs2_to_utf8()
86 while (*nm) { in ucs2_to_utf8()
87 c = *nm++; in ucs2_to_utf8()
122 CHAR16 *nm; in utf8_to_ucs2() local
133 nm = *nmp; in utf8_to_ucs2()
173 *nm++ = (CHAR16)ucs4; in utf8_to_ucs2()
179 free(nm); in utf8_to_ucs2()
185 *nm = 0; in utf8_to_ucs2()
[all …]
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c504 dvtmp.dv_name = nm; in dv_findbyname()
974 if (nm[0] == '@' || nm[0] == ':') { in dv_find()
1503 char *nm; in dv_reset_perm_dir() local
1511 nm = dv->dv_name; in dv_reset_perm_dir()
1635 char *nm; in devfs_remdrv_rmdir() local
1669 nm = dp->d_name; in devfs_remdrv_rmdir()
1671 if (strcmp(nm, ".") == 0 || strcmp(nm, "..") == 0) in devfs_remdrv_rmdir()
1733 char *nm; in devfs_remdrv_cleanup() local
1755 ASSERT((strcmp(nm, ".") != 0) && (strcmp(nm, "..") != 0)); in devfs_remdrv_cleanup()
1760 nm, error)); in devfs_remdrv_cleanup()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c1992 free(nm); in __s_cvt_group()
2085 free(nm); in __s_cvt_hosts()
2123 free(nm); in __s_cvt_hosts()
2188 for (i = 0; *nm; i++, nm++) in __s_cvt_rpc()
2278 for (i = 0; *nm; i++, nm++) in __s_cvt_protocols()
2378 for (i = 0; *nm; i++, nm++) in __s_cvt_services()
2476 for (i = 0; *nm; i++, nm++) in __s_cvt_networks()
2630 for (i = 0; *nm; i++, nm++) in __s_cvt_netgroups()
2650 for (i = 0; *nm; i++, nm++) in __s_cvt_netgroups()
2727 for (i = 0; *nm; i++, nm++) in __s_cvt_bootparams()
[all …]
/illumos-gate/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()
/illumos-gate/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
/illumos-gate/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()
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c74 char *nm; in zpool_get_load_policy() local
87 nm = nvpair_name(elem); in zpool_get_load_policy()
88 if (strcmp(nm, ZPOOL_LOAD_POLICY) == 0) { in zpool_get_load_policy()
92 } else if (strcmp(nm, ZPOOL_LOAD_REWIND_POLICY) == 0) { in zpool_get_load_policy()
96 } else if (strcmp(nm, ZPOOL_LOAD_REQUEST_TXG) == 0) { in zpool_get_load_policy()
98 } else if (strcmp(nm, ZPOOL_LOAD_META_THRESH) == 0) { in zpool_get_load_policy()
100 } else if (strcmp(nm, ZPOOL_LOAD_DATA_THRESH) == 0) { in zpool_get_load_policy()
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dparse.y85 trans_opt ::= TRANSACTION nm.
157 %type nm {Token}
176 carg ::= CONSTRAINT nm ccons.
237 tcons ::= CONSTRAINT nm.
277 cmd ::= DROP VIEW nm(X). {
411 dbnm(A) ::= DOT nm(X). {A = X;}
419 joinop(X) ::= JOIN_KW(A) nm(B) nm(C) JOIN.
542 expr(A) ::= nm(X) DOT nm(Y). {
547 expr(A) ::= nm(X) DOT nm(Y) DOT nm(Z). {
768 cmd ::= COPY orconf(R) nm(X) dbnm(D) FROM nm(Y) USING DELIMITERS STRING(Z).
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c181 nfs4_fname_t *nm; in sv_find() local
189 nm = *namepp; in sv_find()
203 if (sv_match(nm, drp->r_fh, master_svp)) { in sv_find()
205 fn_rele(&nm); in sv_find()
217 if (sv_match(nm, drp->r_fh, svp)) { in sv_find()
226 fn_rele(&nm); in sv_find()
253 svp->sv_name = nm; in sv_find()
268 sv_match(nfs4_fname_t *nm, nfs4_sharedfh_t *fhp, svnode_t *svp) in sv_match() argument
272 return (svp->sv_name != NULL && svp->sv_name == nm && in sv_match()
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c105 char nm[ZFS_MAX_DATASET_NAME_LEN]; in create_home() local
108 (void) snprintf(nm, sizeof (nm), "%s/%s", in create_home()
111 if ((zfs_create(g_zfs, nm, ZFS_TYPE_FILESYSTEM, NULL) in create_home()
113 ((zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) == in create_home()
218 char *nm, *rp; in rm_homedir() local
238 if ((nm = get_mnt_special(dir, stbuf.st_fstype)) != NULL) { in rm_homedir()
241 if ((zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) in rm_homedir()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c356 char *nm, in auto_lookup() argument
379 if (nm[0] == 0) { in auto_lookup()
388 if (nm[0] == '.' && nm[1] == 0) { in auto_lookup()
394 if (nm[0] == '.' && nm[1] == '.' && nm[2] == 0) { in auto_lookup()
431 searchnm = nm; in auto_lookup()
666 char *nm, in auto_create() argument
705 char *nm, in auto_remove() argument
739 char *nm, in auto_link() argument
748 (void *)svp, nm)); in auto_link()
866 char *nm, in auto_mkdir() argument
[all …]
/illumos-gate/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
/illumos-gate/usr/src/cmd/sgs/nm/i386/
H A DMakefile28 PROG= nm
29 XPG4PROG= nm
36 COMOBJS= nm.o
39 XPG4OBJS= objs.xpg4/nm.o
/illumos-gate/usr/src/cmd/sgs/nm/sparc/
H A DMakefile28 PROG= nm
29 XPG4PROG= nm
36 COMOBJS= nm.o
39 XPG4OBJS= objs.xpg4/nm.o
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c1644 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1698 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1725 for (c = nm + len - 1; c > nm; c--) { in strip_trailing()
1735 return ((int)(c - nm + 1)); in strip_trailing()
1741 char *p = nm + len; in hs_namelen()
1748 while (--p > &nm[1]) { in hs_namelen()
1752 return (p - nm); in hs_namelen()
1755 return (p - nm); in hs_namelen()
1761 while (--p > nm) { in hs_namelen()
1764 return (p - nm); in hs_namelen()
[all …]

1234567