/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_session_setup_andx.c | 62 smb_arg_sessionsetup_t *sinfo; in smb_pre_session_setup_andx() local 70 sinfo = smb_srm_zalloc(sr, sizeof (smb_arg_sessionsetup_t)); in smb_pre_session_setup_andx() 71 sr->sr_ssetup = sinfo; in smb_pre_session_setup_andx() 76 &sinfo->ssi_maxmpxcount, &vcnumber, in smb_pre_session_setup_andx() 77 &junk_sesskey, &sinfo->ssi_cipwlen, in smb_pre_session_setup_andx() 78 &sinfo->ssi_cspwlen, &sinfo->ssi_capabilities); in smb_pre_session_setup_andx() 82 sinfo->ssi_cipwd = smb_srm_zalloc(sr, sinfo->ssi_cipwlen + 1); in smb_pre_session_setup_andx() 83 sinfo->ssi_cspwd = smb_srm_zalloc(sr, sinfo->ssi_cspwlen + 1); in smb_pre_session_setup_andx() 87 sinfo->ssi_cipwlen, sinfo->ssi_cipwd, in smb_pre_session_setup_andx() 88 sinfo->ssi_cspwlen, sinfo->ssi_cspwd, in smb_pre_session_setup_andx() [all …]
|
H A D | smb_set_fileinfo.c | 221 smb_setinfo_t sinfo; in smb_set_by_fid() local 245 sinfo.si_xa = xa; in smb_set_by_fid() 246 sinfo.si_infolev = infolev; in smb_set_by_fid() 247 sinfo.si_node = sr->fid_ofile->f_node; in smb_set_by_fid() 248 rc = smb_set_fileinfo(sr, &sinfo); in smb_set_by_fid() 272 smb_setinfo_t sinfo; in smb_set_by_path() local 308 sinfo.si_xa = xa; in smb_set_by_path() 309 sinfo.si_infolev = infolev; in smb_set_by_path() 310 sinfo.si_node = node; in smb_set_by_path() 311 rc = smb_set_fileinfo(sr, &sinfo); in smb_set_by_path() [all …]
|
H A D | smb_signing.c | 119 smb_arg_sessionsetup_t *sinfo = sr->sr_ssetup; in smb_sign_begin() local 163 sign->mackey_len = SSN_KEY_LEN + sinfo->ssi_cspwlen; in smb_sign_begin() 166 if (sinfo->ssi_cspwlen > 0) { in smb_sign_begin() 167 bcopy(sinfo->ssi_cspwd, sign->mackey + SSN_KEY_LEN, in smb_sign_begin() 168 sinfo->ssi_cspwlen); in smb_sign_begin()
|
H A D | smb_query_fileinfo.c | 639 smb_streaminfo_t *sinfo, *sinfo_next; in smb_encode_stream_info() local 657 sinfo = kmem_alloc(sizeof (smb_streaminfo_t), KM_SLEEP); in smb_encode_stream_info() 667 rc = smb_odir_read_streaminfo(sr, od, sinfo, &eos); in smb_encode_stream_info() 686 if (!done && !smb_stream_fits(sr, xa, sinfo->si_name, in smb_encode_stream_info() 708 stream_nlen = smb_ascii_or_unicode_strlen(sr, sinfo->si_name); in smb_encode_stream_info() 737 sinfo->si_size, sinfo->si_alloc_size, in smb_encode_stream_info() 738 sinfo->si_name, pad); in smb_encode_stream_info() 740 (void) memcpy(sinfo, sinfo_next, sizeof (smb_streaminfo_t)); in smb_encode_stream_info() 743 kmem_free(sinfo, sizeof (smb_streaminfo_t)); in smb_encode_stream_info()
|
H A D | smb_odir.c | 648 smb_streaminfo_t *sinfo, boolean_t *eof) in smb_odir_read_streaminfo() argument 659 ASSERT(sinfo); in smb_odir_read_streaminfo() 686 bzero(sinfo, sizeof (smb_streaminfo_t)); in smb_odir_read_streaminfo() 705 (void) strlcpy(sinfo->si_name, in smb_odir_read_streaminfo() 707 sizeof (sinfo->si_name)); in smb_odir_read_streaminfo() 708 sinfo->si_size = attr.sa_vattr.va_size; in smb_odir_read_streaminfo() 709 sinfo->si_alloc_size = attr.sa_allocsz; in smb_odir_read_streaminfo()
|
/titanic_44/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 149 server_info_ext_t sinfo[2]; /* 0: current, 1: update copy */ member 463 if (info->sinfo[1].server_status == INFO_SERVER_UP && in sync_current_with_update_copy() 464 info->sinfo[0].server_status != INFO_SERVER_UP) in sync_current_with_update_copy() 465 info->sinfo[1].change = NS_SERVER_UP; in sync_current_with_update_copy() 466 else if (info->sinfo[1].server_status != INFO_SERVER_UP && in sync_current_with_update_copy() 467 info->sinfo[0].server_status == INFO_SERVER_UP) in sync_current_with_update_copy() 468 info->sinfo[1].change = NS_SERVER_DOWN; in sync_current_with_update_copy() 470 info->sinfo[1].change = 0; in sync_current_with_update_copy() 474 if (info->sinfo[0].addr) in sync_current_with_update_copy() 475 free(info->sinfo[0].addr); in sync_current_with_update_copy() [all …]
|
/titanic_44/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 262 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) in sctp_recvmsg() argument 267 char cinmsg[sizeof (*sinfo) + sizeof (*cmsg) + _CMSG_HDR_ALIGNMENT]; in sctp_recvmsg() 274 if (sinfo != NULL) { in sctp_recvmsg() 295 if (sinfo != NULL) { in sctp_recvmsg() 300 bcopy(CMSG_DATA(cmsg), sinfo, sizeof (*sinfo)); in sctp_recvmsg() 315 struct sctp_sndrcvinfo *sinfo; in sctp_send_common() local 317 char coutmsg[sizeof (*sinfo) + sizeof (*cmsg) + _CMSG_HDR_ALIGNMENT]; in sctp_send_common() 324 hdr.msg_controllen = sizeof (*cmsg) + sizeof (*sinfo); in sctp_send_common() 332 cmsg->cmsg_len = sizeof (*cmsg) + sizeof (*sinfo); in sctp_send_common() 334 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_send_common() [all …]
|
/titanic_44/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 299 SINFO sinfo; member 317 sinfo_free(SINFO *sinfo, size_t n) in sinfo_free() argument 319 for (; n-- > 0; sinfo++) { in sinfo_free() 320 if (sinfo->data != NULL) { in sinfo_free() 321 if (sinfo->data->d_buf != NULL) in sinfo_free() 322 free(sinfo->data->d_buf); in sinfo_free() 323 free(sinfo->data); in sinfo_free() 324 sinfo->data = NULL; in sinfo_free() 327 if (sinfo->shdr) { in sinfo_free() 328 free(sinfo->shdr); in sinfo_free() [all …]
|
/titanic_44/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 321 section_info_table * sinfo; in traverse_file() local 341 sinfo = &state->sec_table[scn_index]; in traverse_file() 345 shdr = &(sinfo->shdr); in traverse_file() 358 sinfo->scn = scn; in traverse_file() 359 sinfo->secno = scn_index; in traverse_file() 360 sinfo->osecno = scn_index; in traverse_file() 361 SET_ACTION(sinfo->flags, ACT_NOP); in traverse_file() 362 sinfo->name = name; in traverse_file() 364 SET_LOC(sinfo->flags, NOSEG); in traverse_file() 366 SET_LOC(sinfo->flags, scn_location(scn, elf, state)); in traverse_file() [all …]
|
/titanic_44/usr/src/cmd/prtconf/ |
H A D | prtconf.c | 260 struct stat sinfo; in main() local 277 if (error = stat(path, &sinfo)) { in main() 284 } else if (((sinfo.st_mode & S_IFMT) == S_IFCHR) || in main() 285 ((sinfo.st_mode & S_IFMT) == S_IFBLK)) { in main() 287 opts.o_devt = sinfo.st_rdev; in main() 290 } else if ((sinfo.st_mode & S_IFMT) == S_IFDIR) { in main()
|
/titanic_44/usr/src/lib/libsldap/common/ |
H A D | ns_connect.c | 694 ns_server_info_t sinfo; in makeConnection() local 708 (void) memset(&sinfo, 0, sizeof (sinfo)); in makeConnection() 724 bindHost = &sinfo.serverFQDN; in makeConnection() 727 bindHost = &sinfo.server; in makeConnection() 736 sinfo.server = strdup(serverAddr); in makeConnection() 737 if (sinfo.server == NULL) in makeConnection() 741 rc = __s_api_ip2hostname(sinfo.server, in makeConnection() 742 &sinfo.serverFQDN); in makeConnection() 756 __s_api_free_server_info(&sinfo); in makeConnection() 771 sinfo.server = strdup(serverAddr); in makeConnection() [all …]
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 1964 rootnex_sglinfo_t *sinfo; in rootnex_coredma_bindhdl() local 1980 sinfo = &dma->dp_sglinfo; in rootnex_coredma_bindhdl() 2035 if (sinfo->si_cancross || in rootnex_coredma_bindhdl() 2037 dmao->dmao_size > sinfo->si_max_cookie_size) { in rootnex_coredma_bindhdl() 2041 sinfo->si_sgl_size = 1; in rootnex_coredma_bindhdl() 2071 sinfo->si_max_pages = mmu_btopr(dma->dp_dma.dmao_size) + 1; in rootnex_coredma_bindhdl() 2086 ncookies = (dma->dp_dma.dmao_size / sinfo->si_max_cookie_size) in rootnex_coredma_bindhdl() 2088 if (sinfo->si_cancross) in rootnex_coredma_bindhdl() 2093 sinfo->si_max_pages = MIN(sinfo->si_max_pages, ncookies); in rootnex_coredma_bindhdl() 2101 if (sinfo->si_max_pages <= rootnex_state->r_prealloc_cookies) { in rootnex_coredma_bindhdl() [all …]
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_cache.c | 148 struct stat64 sinfo; in cache_setup() local 151 if ((stat64(cachedirp, &sinfo) == -1) || in cache_setup() 152 (!S_ISDIR(sinfo.st_mode)) || in cache_setup()
|
H A D | cfsd_logfile.c | 237 struct stat sinfo; in logfile_setup() local 268 xx = fstat(logfile_object_p->i_fid, &sinfo); in logfile_setup() 280 logfile_object_p->i_size = sinfo.st_size; in logfile_setup() 283 if (!S_ISREG(sinfo.st_mode)) { in logfile_setup()
|
H A D | cfsd_maptbl.c | 390 struct stat sinfo; in maptbl_setup() local 424 xx = fstat(maptbl_object_p->i_fid, &sinfo); in maptbl_setup() 432 maptbl_object_p->i_size = sinfo.st_size; in maptbl_setup() 435 if (!S_ISREG(sinfo.st_mode)) { in maptbl_setup()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 547 struct sctp_sndrcvinfo *sinfo = ptr; in sctp_get_def_send_params() local 549 sinfo->sinfo_stream = sctp->sctp_def_stream; in sctp_get_def_send_params() 550 sinfo->sinfo_ssn = 0; in sctp_get_def_send_params() 551 sinfo->sinfo_flags = sctp->sctp_def_flags; in sctp_get_def_send_params() 552 sinfo->sinfo_ppid = sctp->sctp_def_ppid; in sctp_get_def_send_params() 553 sinfo->sinfo_context = sctp->sctp_def_context; in sctp_get_def_send_params() 554 sinfo->sinfo_timetolive = sctp->sctp_def_timetolive; in sctp_get_def_send_params() 555 sinfo->sinfo_tsn = 0; in sctp_get_def_send_params() 556 sinfo->sinfo_cumtsn = 0; in sctp_get_def_send_params() 558 return (sizeof (*sinfo)); in sctp_get_def_send_params() [all …]
|
/titanic_44/usr/src/lib/libndmp/common/ |
H A D | libndmp.c | 149 ndmp_get_session_info(ndmp_session_info_t **sinfo, size_t *size) in ndmp_get_session_info() argument 169 *sinfo = malloc((sizeof (ndmp_session_info_t)) * *size); in ndmp_get_session_info() 170 if (!*sinfo) { in ndmp_get_session_info() 175 sp = *sinfo; in ndmp_get_session_info() 318 ndmp_get_session_info_free(ndmp_session_info_t *sinfo, size_t size) in ndmp_get_session_info_free() argument 326 sp = sinfo; in ndmp_get_session_info_free() 363 free(sinfo); in ndmp_get_session_info_free()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | secobj.c | 423 secobj_info_t sinfo; in process_secobj_line() local 451 sinfo.si_name = ssp->ss_info.si_name; in process_secobj_line() 461 sinfo.si_name = str; in process_secobj_line() 484 sinfo.si_classp = &class; in process_secobj_line() 485 sinfo.si_val = val; in process_secobj_line() 486 sinfo.si_lenp = &vlen; in process_secobj_line() 487 if (parse_secobj_val(str, &sinfo) != 0) in process_secobj_line() 490 return ((*ssp->ss_op)(handle, ssp, buf, &sinfo, statusp)); in process_secobj_line()
|
/titanic_44/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_sdp.c | 47 static smod_reg_t sinfo = { variable 60 &mod_sockmodops, "SDP socket module", &sinfo
|
H A D | sockmod_sctp.c | 50 static smod_reg_t sinfo = { variable 66 &mod_sockmodops, "SCTP socket module", &sinfo
|
H A D | socksctp.c | 730 struct sctp_sndrcvinfo *sinfo; in sosctp_sendmsg() local 750 (sizeof (*sinfo) + sizeof (*cmsg))) { in sosctp_sendmsg() 754 sinfo = (struct sctp_sndrcvinfo *)(cmsg + 1); in sosctp_sendmsg() 757 if ((sinfo->sinfo_flags & MSG_EOF) && in sosctp_sendmsg() 758 (sinfo->sinfo_flags & MSG_ABORT)) { in sosctp_sendmsg() 764 if (sinfo->sinfo_flags & MSG_EOF) { in sosctp_sendmsg() 930 struct sctp_sndrcvinfo *sinfo; in sosctp_seq_sendmsg() local 947 if (cmsg->cmsg_len < (sizeof (*sinfo) + sizeof (*cmsg))) { in sosctp_seq_sendmsg() 951 sinfo = (struct sctp_sndrcvinfo *)(cmsg + 1); in sosctp_seq_sendmsg() 952 s_flags = sinfo->sinfo_flags; in sosctp_seq_sendmsg() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | af_rds.c | 915 struct rds_info_socket sinfo; in rdsv3_sock_info() local 931 sinfo.sndbuf = rdsv3_sk_sndbuf(rs); in rdsv3_sock_info() 932 sinfo.rcvbuf = rdsv3_sk_rcvbuf(rs); in rdsv3_sock_info() 933 sinfo.bound_addr = rs->rs_bound_addr; in rdsv3_sock_info() 934 sinfo.connected_addr = rs->rs_conn_addr; in rdsv3_sock_info() 935 sinfo.bound_port = rs->rs_bound_port; in rdsv3_sock_info() 936 sinfo.connected_port = rs->rs_conn_port; in rdsv3_sock_info() 938 rdsv3_info_copy(iter, &sinfo, bytes); in rdsv3_sock_info()
|
/titanic_44/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 397 ndmp_session_info_t *sinfo = NULL; in ndmp_show_sessions() local 465 ret = ndmp_get_session_info(&sinfo, &num); in ndmp_show_sessions() 471 ndmp_session_all_print(statarg, sinfo, num); in ndmp_show_sessions() 474 sp = sinfo; in ndmp_show_sessions() 489 ndmp_get_session_info_free(sinfo, num); in ndmp_show_sessions()
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netdfs.c | 937 netdfs_info_storage(netdfs_storage_info_t **sinfo, dfs_info_t *info, in netdfs_info_storage() argument 944 *sinfo = NULL; in netdfs_info_storage() 948 *sinfo = NDR_NEWN(mxa, netdfs_storage_info_t, info->i_ntargets); in netdfs_info_storage() 949 if (*sinfo == NULL) in netdfs_info_storage() 956 storage = *sinfo; in netdfs_info_storage() 977 netdfs_info_storage1(netdfs_storage_info1_t **sinfo, dfs_info_t *info, in netdfs_info_storage1() argument 984 *sinfo = NULL; in netdfs_info_storage1() 988 *sinfo = NDR_NEWN(mxa, netdfs_storage_info1_t, info->i_ntargets); in netdfs_info_storage1() 989 if (*sinfo == NULL) in netdfs_info_storage1() 996 storage = *sinfo; in netdfs_info_storage1()
|
/titanic_44/usr/src/uts/common/crypto/api/ |
H A D | kcf_cipher.c | 167 crypto_mech_info_t *sinfo; in crypto_cipher_init_prov() local 173 sinfo = &(KCF_TO_PROV_MECHINFO(tpd, mech->cm_type)); in crypto_cipher_init_prov() 179 if (sinfo->cm_mech_flags & CRYPTO_KEYSIZE_UNIT_IN_BYTES) in crypto_cipher_init_prov() 187 if ((sinfo->cm_mech_flags & CRYPTO_CAN_SHARE_OPSTATE) && in crypto_cipher_init_prov() 188 (tlen >= sinfo->cm_min_key_length) && in crypto_cipher_init_prov() 189 (tlen <= sinfo->cm_max_key_length)) { in crypto_cipher_init_prov()
|