/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 381 smb_server_t *sv; in smb_server_create() local 386 sv = smb_llist_head(&smb_servers); in smb_server_create() 387 while (sv) { in smb_server_create() 388 SMB_SERVER_VALID(sv); in smb_server_create() 389 if (sv->sv_zid == zid) { in smb_server_create() 393 sv = smb_llist_next(&smb_servers, sv); in smb_server_create() 396 sv = kmem_zalloc(sizeof (smb_server_t), KM_SLEEP); in smb_server_create() 398 sv->sv_magic = SMB_SERVER_MAGIC; in smb_server_create() 399 sv->sv_state = SMB_SERVER_STATE_CREATED; in smb_server_create() 400 sv->sv_zid = zid; in smb_server_create() [all …]
|
H A D | smb_kdoor.c | 49 smb_kdoor_init(smb_server_t *sv) in smb_kdoor_init() argument 51 sv->sv_kdoor_id = -1; in smb_kdoor_init() 52 mutex_init(&sv->sv_kdoor_mutex, NULL, MUTEX_DEFAULT, NULL); in smb_kdoor_init() 53 cv_init(&sv->sv_kdoor_cv, NULL, CV_DEFAULT, NULL); in smb_kdoor_init() 57 smb_kdoor_fini(smb_server_t *sv) in smb_kdoor_fini() argument 59 smb_kdoor_close(sv); in smb_kdoor_fini() 60 cv_destroy(&sv->sv_kdoor_cv); in smb_kdoor_fini() 61 mutex_destroy(&sv->sv_kdoor_mutex); in smb_kdoor_fini() 69 smb_kdoor_open(smb_server_t *sv, int door_id) in smb_kdoor_open() argument 73 smb_kdoor_close(sv); in smb_kdoor_open() [all …]
|
H A D | smb_kshare.c | 191 smb_kshare_exec(smb_server_t *sv, smb_shr_execinfo_t *execinfo) in smb_kshare_exec() argument 195 (void) smb_kdoor_upcall(sv, SMB_DR_SHR_EXEC, in smb_kshare_exec() 260 smb_export_start(smb_server_t *sv) in smb_export_start() argument 262 mutex_enter(&sv->sv_export.e_mutex); in smb_export_start() 263 if (sv->sv_export.e_ready) { in smb_export_start() 264 mutex_exit(&sv->sv_export.e_mutex); in smb_export_start() 268 sv->sv_export.e_ready = B_TRUE; in smb_export_start() 269 mutex_exit(&sv->sv_export.e_mutex); in smb_export_start() 271 smb_avl_create(&sv->sv_export.e_share_avl, sizeof (smb_kshare_t), in smb_export_start() 274 (void) smb_kshare_export_trans(sv, "IPC$", "IPC$", "Remote IPC"); in smb_export_start() [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_sv.c | 70 static void free_service(struct servent *sv); 83 struct irs_sv *sv; in irs_irp_sv() local 86 if ((sv = memget(sizeof *sv)) == NULL) { in irs_irp_sv() 90 memset(sv, 0x0, sizeof *sv); in irs_irp_sv() 93 memput(sv, sizeof *sv); in irs_irp_sv() 100 sv->private = pvt; in irs_irp_sv() 101 sv->close = sv_close; in irs_irp_sv() 102 sv->next = sv_next; in irs_irp_sv() 103 sv->byname = sv_byname; in irs_irp_sv() 104 sv->byport = sv_byport; in irs_irp_sv() [all …]
|
H A D | gen_sv.c | 71 struct irs_sv *sv; in irs_gen_sv() local 74 if (!(sv = memget(sizeof *sv))) { in irs_gen_sv() 78 memset(sv, 0x5e, sizeof *sv); in irs_gen_sv() 80 memput(sv, sizeof *sv); in irs_gen_sv() 87 sv->private = pvt; in irs_gen_sv() 88 sv->close = sv_close; in irs_gen_sv() 89 sv->next = sv_next; in irs_gen_sv() 90 sv->byname = sv_byname; in irs_gen_sv() 91 sv->byport = sv_byport; in irs_gen_sv() 92 sv->rewind = sv_rewind; in irs_gen_sv() [all …]
|
H A D | lcl_sv.c | 96 struct lcl_sv sv; member 123 struct irs_sv *sv; in irs_lcl_sv() local 128 if ((sv = memget(sizeof *sv)) == NULL) { in irs_lcl_sv() 132 memset(sv, 0x5e, sizeof *sv); in irs_lcl_sv() 134 memput(sv, sizeof *sv); in irs_lcl_sv() 139 sv->private = pvt; in irs_lcl_sv() 140 sv->close = sv_close; in irs_lcl_sv() 141 sv->next = sv_next; in irs_lcl_sv() 142 sv->byname = sv_byname; in irs_lcl_sv() 143 sv->byport = sv_byport; in irs_lcl_sv() [all …]
|
H A D | getservent.c | 89 struct irs_sv *sv; in getservent_p() local 91 if (!net_data || !(sv = net_data->sv)) in getservent_p() 93 net_data->sv_last = (*sv->next)(sv); in getservent_p() 100 struct irs_sv *sv; in getservbyname_p() local 103 if (!net_data || !(sv = net_data->sv)) in getservbyname_p() 114 net_data->sv_last = (*sv->byname)(sv, name, proto); in getservbyname_p() 122 struct irs_sv *sv; in getservbyport_p() local 124 if (!net_data || !(sv = net_data->sv)) in getservbyport_p() 131 net_data->sv_last = (*sv->byport)(sv, port, proto); in getservbyport_p() 137 struct irs_sv *sv; in setservent_p() local [all …]
|
H A D | dns_sv.c | 84 struct irs_sv *sv; in irs_dns_sv() local 97 if (!(sv = memget(sizeof *sv))) { in irs_dns_sv() 102 memset(sv, 0x5e, sizeof *sv); in irs_dns_sv() 103 sv->private = pvt; in irs_dns_sv() 104 sv->byname = sv_byname; in irs_dns_sv() 105 sv->byport = sv_byport; in irs_dns_sv() 106 sv->next = sv_next; in irs_dns_sv() 107 sv->rewind = sv_rewind; in irs_dns_sv() 108 sv->close = sv_close; in irs_dns_sv() 109 sv->minimize = sv_minimize; in irs_dns_sv() [all …]
|
/titanic_41/usr/src/cmd/avs/sv/etc/ |
H A D | Makefile | 28 SHFILES = sv sv.cluster 33 ROOTINIT_DPROG1 = $(ROOTINIT_D)/sv 34 ROOTINIT_DPROG2 = $(ROOTINIT_D)/sv.cluster 42 -$(RM) $(CLUSTERLIBDSCFGSTOPDIR)/10sv 43 -$(RM) $(CLUSTERLIBDSCFGSTARTDIR)/15sv 44 -$(RM) $(CLUSTERSBINDIR)/sv 45 -$(RM) $(ROOTLIBSVCMETHOD)/svc-sv 46 -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTOPDIR)/10sv 47 -$(SYMLINK) ../../../sbin/sv $(CLUSTERLIBDSCFGSTARTDIR)/15sv 48 $(LN) $(ROOTINIT_D)/sv $(ROOTLIBSVCMETHOD)/svc-sv [all …]
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | negprot.c | 108 struct smb_sopt *sv = &ctx->ct_sopt; in smb_negprot() local 168 sv = &ctx->ct_sopt; in smb_negprot() 169 bzero(sv, sizeof (struct smb_sopt)); in smb_negprot() 216 sv->sv_proto = dp->d_id; in smb_negprot() 227 md_get_uint8(mbp, &sv->sv_sm); /* SecurityMode */ in smb_negprot() 228 md_get_uint16le(mbp, &sv->sv_maxmux); /* MaxMpxCount */ in smb_negprot() 229 md_get_uint16le(mbp, &sv->sv_maxvcs); /* MaxCountVCs */ in smb_negprot() 230 md_get_uint32le(mbp, &sv->sv_maxtx); /* MaxBufferSize */ in smb_negprot() 231 md_get_uint32le(mbp, &sv->sv_maxraw); /* MaxRawSize */ in smb_negprot() 232 md_get_uint32le(mbp, &sv->sv_skey); /* SessionKey */ in smb_negprot() [all …]
|
/titanic_41/usr/src/lib/libsocket/socket/ |
H A D | socketpair.c | 59 _socketpair(int family, int type, int protocol, int sv[2]) in _socketpair() 61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT)); in _socketpair() 68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) in _socketpair_bsd() 70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD)); in _socketpair_bsd() 74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) in _socketpair_svr4() 76 return (_socketpair_create(family, type, protocol, sv, in _socketpair_svr4() 81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) in __xnet_socketpair() 83 return (_socketpair_create(family, type, protocol, sv, in __xnet_socketpair() 88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) in _socketpair_create() 108 sv[0] = fd1; in _socketpair_create() [all …]
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | portname.c | 16 struct servent *sv = NULL, *sv1 = NULL; local 20 if ((sv = getservbyport(htons(port), "tcp"))) { 21 strncpy(buf, sv->s_name, sizeof(buf)-1); 24 sv = strncasecmp(buf, sv->s_name, strlen(buf)) ? 27 if (sv) 30 if ((sv = getservbyport(htons(port), p->p_name))) { 31 strncpy(buf, sv->s_name, sizeof(buf)-1);
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_kdoor.c | 46 smb_kdoor_init(smb_server_t *sv) in smb_kdoor_init() argument 48 sv->sv_kdoor_id = -1; in smb_kdoor_init() 49 mutex_init(&sv->sv_kdoor_mutex, NULL, MUTEX_DEFAULT, NULL); in smb_kdoor_init() 50 cv_init(&sv->sv_kdoor_cv, NULL, CV_DEFAULT, NULL); in smb_kdoor_init() 54 smb_kdoor_fini(smb_server_t *sv) in smb_kdoor_fini() argument 56 smb_kdoor_close(sv); in smb_kdoor_fini() 57 cv_destroy(&sv->sv_kdoor_cv); in smb_kdoor_fini() 58 mutex_destroy(&sv->sv_kdoor_mutex); in smb_kdoor_fini() 68 fksmb_kdoor_open(smb_server_t *sv, void *varg) in fksmb_kdoor_open() argument 70 sv->sv_kdoor_hd = varg; in fksmb_kdoor_open() [all …]
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.sem.c | 165 struct sv { struct 169 } sv; local 181 sv.mask = sigblock(sigmask(SIGCHLD)); 182 sv.child = child; sv.setintr = setintr; 183 sv.haderr = haderr; sv.didfds = didfds; 184 sv.SHIN = SHIN; sv.SHOUT = SHOUT; 185 sv.SHDIAG = SHDIAG; sv.OLDSTD = OLDSTD; 186 sv.tpgrp = tpgrp; 188 (void) sigvec(SIGINT, (struct sigvec *)0, &sv.sigv); 191 (void) sigsetmask(sv.mask); [all …]
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | driver-storage-sv.mf | 32 set name=pkg.fmri value=pkg:/driver/storage/sv@$(PKGVERS) 68 driver name=sv devlink=type=ddi_pseudo;name=sv\t\D perms="* 0666 root sys" \ 70 file path=etc/init.d/sv mode=0744 71 file path=etc/init.d/sv.cluster mode=0744 72 file path=kernel/kmdb/$(ARCH64)/sv group=sys mode=0555 73 $(i386_ONLY)file path=kernel/kmdb/sv group=sys mode=0555 77 file path=usr/cluster/sbin/sv mode=0744 78 file path=usr/kernel/drv/$(ARCH64)/sv group=sys 79 $(i386_ONLY)file path=usr/kernel/drv/sv group=sys 80 file path=usr/kernel/drv/sv.conf group=sys [all …]
|
/titanic_41/usr/src/cmd/mandoc/ |
H A D | tbl_data.c | 43 int sv, spans; in data() local 93 sv = *pos; in data() 103 if (*pos - sv == 2 && 'T' == p[sv] && '{' == p[sv + 1]) { in data() 108 assert(*pos - sv >= 0); in data() 110 dat->string = mandoc_malloc((size_t)(*pos - sv + 1)); in data() 111 memcpy(dat->string, &p[sv], (size_t)(*pos - sv)); in data() 112 dat->string[*pos - sv] = '\0'; in data() 133 tbl->parse, ln, sv, NULL); in data()
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_ioctl.c | 316 drm_set_version_t sv; in drm_setversion() local 320 DRM_COPYFROM_WITH_RETURN(&sv, (void *)data, sizeof (sv)); in drm_setversion() 327 DRM_COPYTO_WITH_RETURN((void *)data, &retv, sizeof (sv)); in drm_setversion() 329 if (sv.drm_di_major != -1) { in drm_setversion() 330 if (sv.drm_di_major != DRM_IF_MAJOR || in drm_setversion() 331 sv.drm_di_minor < 0 || sv.drm_di_minor > DRM_IF_MINOR) in drm_setversion() 333 if_version = DRM_IF_VERSION(sv.drm_di_major, sv.drm_dd_minor); in drm_setversion() 335 if (sv.drm_di_minor >= 1) { in drm_setversion() 343 if (sv.drm_dd_major != -1) { in drm_setversion() 344 if (sv.drm_dd_major != dev->driver->driver_major || in drm_setversion() [all …]
|
/titanic_41/usr/src/cmd/rpcsvc/ |
H A D | rup.c | 81 statsvar sv; in main() local 143 sv.cp_time.cp_time_val = (int *)NULL; in main() 144 sv.dk_xfer.dk_xfer_val = (int *)NULL; in main() 155 sv.cp_time.cp_time_len = 0; in main() 156 sv.cp_time.cp_time_val = (int *)NULL; in main() 157 sv.dk_xfer.dk_xfer_len = 0; in main() 158 sv.dk_xfer.dk_xfer_val = (int *)NULL; in main() 162 xdr_void, NULL, xdr_statsvar, (caddr_t)&sv, in main() 317 statsvar *sv; local 350 sv = (statsvar *)resultsp; [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | getpass.c | 59 struct sigvec osv, sv; in getpass() local 69 sv.sv_handler = catch; in getpass() 70 sv.sv_mask = 0; in getpass() 71 sv.sv_flags = SV_INTERRUPT; in getpass() 72 (void) sigvec(SIGINT, &sv, &osv); in getpass()
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | sigact.h | 74 struct sigvec sv; member 80 #define sa_mask sv.sv_mask 82 #define sa_handler sv.sv_handler 84 #define sa_flags sv.sv_flags
|
/titanic_41/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 86 struct sigvec sv; local 173 sv.sv_handler = sigAbort; 174 sv.sv_flags = SA_RESTART; 175 (void) sigemptyset(&sv.sa_mask); 176 (void) sigvec(SIGALRM, &sv, (struct sigvec *)0); 196 struct sigvec sv; in alarmcatch() local 207 sv.sv_handler = alarmcatch; in alarmcatch() 208 sv.sv_flags = SA_RESTART; in alarmcatch() 209 (void) sigemptyset(&sv.sa_mask); in alarmcatch() 210 (void) sigvec(SIGALRM, &sv, (struct sigvec *)0); in alarmcatch()
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | byteorder.c | 161 u_offset_t sv; in normspcl() local 244 sv = sp->c_dinode.di_ic.ic_lsize; in normspcl() 245 sv = (sv << 32) | (sv >> 32); in normspcl() 246 sp->c_dinode.di_ic.ic_lsize = sv; in normspcl()
|
/titanic_41/usr/src/uts/sparc/v9/syscall/ |
H A D | install_utrap.c | 40 utrap_handler_t *ov, *nv, *pv, *sv, *tmp; in install_utrap() local 86 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) * in install_utrap() 88 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); in install_utrap() 153 utrap_handler_t *ov, *nvp, *pv, *sv, *tmp; in sparc_utrap_install() local 230 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) * in sparc_utrap_install() 232 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv); in sparc_utrap_install()
|
/titanic_41/usr/src/cmd/mdb/intel/ia32/sv/ |
H A D | Makefile | 26 MODULE = sv.so 29 MODSRCS = sv.c 34 include ../../../common/modules/sv/Makefile.com
|
/titanic_41/usr/src/cmd/mdb/intel/amd64/sv/ |
H A D | Makefile | 26 MODULE = sv.so 29 MODSRCS = sv.c 35 include ../../../common/modules/sv/Makefile.com
|