/illumos-gate/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);
|
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | socketpair.c | 59 _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 D | tbl_data.c | 45 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 D | getservent.c | 89 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 D | gen_sv.c | 71 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 D | irp_sv.c | 70 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 D | irs_data.h | 31 struct irs_sv * sv; member in struct:net_data
|
H A D | lcl_sv.c | 96 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 D | dns_sv.c | 84 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 D | gen_p.h | 72 struct irs_sv * sv; member in struct:irs_inst
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getpass.c | 59 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 D | sigqueue.c | 202 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 D | negprot.c | 108 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 D | ssnsetup.c | 289 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 D | signalmap.c | 60 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 D | regcmp.c | 55 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 D | install_utrap.c | 40 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 D | fksmb_kdoor.c | 46 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 D | token.c | 123 unsigned char *sv, *buf, *xdrmem; local 165 result->value = sv = buf; 189 xdrmem = &sv[start];
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer6.c | 134 tabs(char *sv[], char *line) argument 139 sv[n++] = line; 143 sv[n++] = p+1;
|
/illumos-gate/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 [all...] |
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | byteorder.c | 161 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 D | dae.c | 131 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 D | drm_ioctl.c | 316 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 D | smb_kdoor.c | 49 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...] |