Searched defs:sv (Results 1 - 25 of 86) sorted by relevance

1234

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dportname.c16 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);
/illumos-gate/usr/src/lib/libsocket/socket/
H A Dsocketpair.c59 _socketpair(int family, int type, int protocol, int sv[2]) argument
61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT));
68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) argument
70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD));
74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) argument
76 return (_socketpair_create(family, type, protocol, sv,
81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) argument
83 return (_socketpair_create(family, type, protocol, sv,
88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) argument
108 sv[
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_data.c45 int sv; local
83 sv = *pos;
93 if (*pos - sv == 2 && p[sv] == 'T' && p[sv + 1] == '{') {
98 dat->string = mandoc_strndup(p + sv, *pos - sv);
119 tbl->parse, ln, sv, dat->string);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetservent.c89 struct irs_sv *sv; local
91 if (!net_data || !(sv = net_data->sv))
93 net_data->sv_last = (*sv->next)(sv);
100 struct irs_sv *sv; local
103 if (!net_data || !(sv = net_data->sv))
114 net_data->sv_last = (*sv->byname)(sv, nam
122 struct irs_sv *sv; local
137 struct irs_sv *sv; local
149 struct irs_sv *sv; local
[all...]
H A Dgen_sv.c71 struct irs_sv *sv; local
74 if (!(sv = memget(sizeof *sv))) {
78 memset(sv, 0x5e, sizeof *sv);
80 memput(sv, sizeof *sv);
87 sv->private = pvt;
88 sv->close = sv_close;
89 sv
113 struct irs_sv *sv; local
136 struct irs_sv *sv; local
153 struct irs_sv *sv; local
168 struct irs_sv *sv; local
183 struct irs_sv *sv = rule->inst->sv; local
222 struct irs_sv *sv = rule->inst->sv; local
[all...]
H A Dirp_sv.c70 static void free_service(struct servent *sv);
83 struct irs_sv *sv; local
86 if ((sv = memget(sizeof *sv)) == NULL) {
90 memset(sv, 0x0, sizeof *sv);
93 memput(sv, sizeof *sv);
100 sv->private = pvt;
101 sv
138 struct servent *sv = &pvt->service; local
183 struct servent *sv = &pvt->service; local
234 struct servent *sv = &pvt->service; local
324 free_service(struct servent *sv) argument
[all...]
H A Dirs_data.h31 struct irs_sv * sv; member in struct:net_data
H A Dlcl_sv.c96 struct lcl_sv sv; member in struct:pvt
123 struct irs_sv *sv; local
128 if ((sv = memget(sizeof *sv)) == NULL) {
132 memset(sv, 0x5e, sizeof *sv);
134 memput(sv, sizeof *sv);
139 sv->private = pvt;
140 sv
335 irs_lclsv_fnxt(struct lcl_sv *sv) argument
385 sv_db_rec(struct lcl_sv *sv, DBT *key, DBT *data) argument
[all...]
H A Ddns_sv.c84 struct irs_sv *sv; local
97 if (!(sv = memget(sizeof *sv))) {
102 memset(sv, 0x5e, sizeof *sv);
103 sv->private = pvt;
104 sv->byname = sv_byname;
105 sv->byport = sv_byport;
106 sv->next = sv_next;
107 sv
[all...]
H A Dgen_p.h72 struct irs_sv * sv; member in struct:irs_inst
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetpass.c59 struct sigvec osv, sv; local
69 sv.sv_handler = catch;
70 sv.sv_mask = 0;
71 sv.sv_flags = SV_INTERRUPT;
72 (void) sigvec(SIGINT, &sv, &osv);
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigqueue.c202 union sigval sv; local
204 bzero(&sv, sizeof (sv));
205 sv.sival_int = (int)value;
206 return (sigqueue(pid, sig, sv.sival_ptr, si_code, block));
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnegprot.c108 struct smb_sopt *sv = &ctx->ct_sopt; local
168 sv = &ctx->ct_sopt;
169 bzero(sv, sizeof (struct smb_sopt));
216 sv->sv_proto = dp->d_id;
227 md_get_uint8(mbp, &sv->sv_sm); /* SecurityMode */
228 md_get_uint16le(mbp, &sv->sv_maxmux); /* MaxMpxCount */
229 md_get_uint16le(mbp, &sv->sv_maxvcs); /* MaxCountVCs */
230 md_get_uint32le(mbp, &sv->sv_maxtx); /* MaxBufferSize */
231 md_get_uint32le(mbp, &sv->sv_maxraw); /* MaxRawSize */
232 md_get_uint32le(mbp, &sv
[all...]
H A Dssnsetup.c289 struct smb_sopt *sv = &ctx->ct_sopt; local
313 mb_put_uint16le(mbp, sv->sv_maxtx); /* 2: MaxBufferSize */
314 mb_put_uint16le(mbp, sv->sv_maxmux); /* 3: MaxMpxCount */
316 mb_put_uint32le(mbp, sv->sv_skey); /* 5,6: Session Key */
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsignalmap.c60 struct sigvec osv, sv; local
62 sv.sv_handler = a;
63 sv.sv_mask = 0;
65 sv.sv_flags = SV_INTERRUPT|SV_RESETHAND;
67 sv.sv_flags = 0;
69 if (sigvec(sig, &sv, &osv) < 0)
/illumos-gate/usr/src/cmd/regcmp/
H A Dregcmp.c55 char *bp, *cp, *sv; local
176 if (!(sv = v = regcmp(a1, 0))) {
192 free(sv);
/illumos-gate/usr/src/uts/sparc/v9/syscall/
H A Dinstall_utrap.c40 utrap_handler_t *ov, *nv, *pv, *sv, *tmp; local
86 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) *
88 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv);
153 utrap_handler_t *ov, *nvp, *pv, *sv, *tmp; local
230 pv = sv = kmem_zalloc((UT_PRECISE_MAXTRAPS+1) *
232 tmp = atomic_cas_ptr(&p->p_utraps, NULL, sv);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_kdoor.c46 smb_kdoor_init(smb_server_t *sv) argument
48 sv->sv_kdoor_id = -1;
49 mutex_init(&sv->sv_kdoor_mutex, NULL, MUTEX_DEFAULT, NULL);
50 cv_init(&sv->sv_kdoor_cv, NULL, CV_DEFAULT, NULL);
54 smb_kdoor_fini(smb_server_t *sv) argument
56 smb_kdoor_close(sv);
57 cv_destroy(&sv->sv_kdoor_cv);
58 mutex_destroy(&sv->sv_kdoor_mutex);
68 fksmb_kdoor_open(smb_server_t *sv, void *varg) argument
70 sv
74 smb_kdoor_close(smb_server_t *sv) argument
82 smb_kdoor_upcall(smb_server_t *sv, uint32_t cmd, void *req_data, xdrproc_t req_xdr, void *rsp_data, xdrproc_t rsp_xdr) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dtoken.c123 unsigned char *sv, *buf, *xdrmem; local
165 result->value = sv = buf;
189 xdrmem = &sv[start];
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c134 tabs(char *sv[], char *line) argument
139 sv[n++] = line;
143 sv[n++] = p+1;
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c165 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
[all...]
/illumos-gate/usr/src/cmd/backup/lib/
H A Dbyteorder.c161 u_offset_t sv; local
230 * sv = sp->c_dinode.di_ic.ic_size.val;
235 * foo = sv[1];
236 * sv[1] = sv[0];
237 * sv[0] = foo;
244 sv = sp->c_dinode.di_ic.ic_lsize;
245 sv = (sv << 32) | (sv >> 3
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Ddae.c131 struct sigaction sv; local
159 sv.sa_handler = extract_signal_handler;
160 (void) sigemptyset(&sv.sa_mask);
161 sv.sa_flags = 0;
162 (void) sigaction(SIGINT, &sv, &oldsv);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c316 drm_set_version_t sv; local
320 DRM_COPYFROM_WITH_RETURN(&sv, (void *)data, sizeof (sv));
327 DRM_COPYTO_WITH_RETURN((void *)data, &retv, sizeof (sv));
329 if (sv.drm_di_major != -1) {
330 if (sv.drm_di_major != DRM_IF_MAJOR ||
331 sv.drm_di_minor < 0 || sv.drm_di_minor > DRM_IF_MINOR)
333 if_version = DRM_IF_VERSION(sv.drm_di_major, sv
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kdoor.c49 smb_kdoor_init(smb_server_t *sv) argument
51 sv->sv_kdoor_id = -1;
52 mutex_init(&sv->sv_kdoor_mutex, NULL, MUTEX_DEFAULT, NULL);
53 cv_init(&sv->sv_kdoor_cv, NULL, CV_DEFAULT, NULL);
57 smb_kdoor_fini(smb_server_t *sv) argument
59 smb_kdoor_close(sv);
60 cv_destroy(&sv->sv_kdoor_cv);
61 mutex_destroy(&sv->sv_kdoor_mutex);
69 smb_kdoor_open(smb_server_t *sv, int door_id) argument
73 smb_kdoor_close(sv);
92 smb_kdoor_close(smb_server_t *sv) argument
112 smb_kdoor_upcall(smb_server_t *sv, uint32_t cmd, void *req_data, xdrproc_t req_xdr, void *rsp_data, xdrproc_t rsp_xdr) argument
184 smb_kdoor_send(smb_server_t *sv, smb_doorarg_t *outer_da) argument
207 smb_kdoor_receive(smb_server_t *sv, smb_doorarg_t *outer_da) argument
235 smb_kdoor_upcall_private(smb_server_t *sv, smb_doorarg_t *da) argument
[all...]

Completed in 85 milliseconds

1234