Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 1967) sorted by relevance

12345678910>>...79

/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_rpc.c44 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in create_principal_2()
62 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in create_principal3_2()
80 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in delete_principal_2()
98 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in modify_principal_2()
116 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in rename_principal_2()
134 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in get_principal_2()
152 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in get_princs_2()
170 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in chpass_principal_2()
188 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in chpass_principal3_2()
206 memset((char *)&clnt_res, 0, sizeof(clnt_res)); in setv4key_principal_2()
[all …]
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dio.c100 (void) memset(buf_ptr, 0, buf_len); in g_scsi_persistent_reserve_in_cmd()
101 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in g_scsi_persistent_reserve_in_cmd()
136 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in g_scsi_send_diag_cmd()
173 (void) memset(buf_ptr, 0, buf_len); in rec_diag_cmd()
174 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in rec_diag_cmd()
237 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in g_scsi_writebuffer_cmd()
273 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in g_scsi_readbuffer_cmd()
303 (void) memset(buf_ptr, 0, buf_len); in g_scsi_inquiry_cmd()
304 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in g_scsi_inquiry_cmd()
346 (void) memset(buf_ptr, 0, buf_len); in g_scsi_log_sense_cmd()
[all …]
/titanic_41/usr/src/lib/print/libprint/common/
H A Dnss_convert.c80 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry()
86 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry()
102 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry()
124 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry()
130 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry()
152 (void) memset(buf, NULL, sizeof (buf)); in _cvt_nss_entry_to_printer()
169 (void) memset(buf, NULL, sizeof (buf)); in _cvt_nss_entry_to_printer()
176 (void) memset(buf, NULL, sizeof (buf)); in _cvt_nss_entry_to_printer()
189 (void) memset(buf, NULL, sizeof (buf)); in _cvt_nss_entry_to_printer()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_metad.c416 (void) memset(&v1_args, 0, sizeof (v1_args)); in clnt_add_drv_sidenms()
417 (void) memset(&v2_args, 0, sizeof (v2_args)); in clnt_add_drv_sidenms()
418 (void) memset(&res, 0, sizeof (res)); in clnt_add_drv_sidenms()
535 (void) memset(&v2_args, 0, sizeof (v2_args)); in clnt_imp_adddrvs()
536 (void) memset(&res, 0, sizeof (res)); in clnt_imp_adddrvs()
622 (void) memset(&v1_args, 0, sizeof (v1_args)); in clnt_adddrvs()
623 (void) memset(&v2_args, 0, sizeof (v2_args)); in clnt_adddrvs()
624 (void) memset(&res, 0, sizeof (res)); in clnt_adddrvs()
717 (void) memset(&v2_args, 0, sizeof (v2_args)); in clnt_addhosts()
718 (void) memset(&res, 0, sizeof (res)); in clnt_addhosts()
[all …]
H A Dmeta_mh.c158 (void) memset(mhep, 0, sizeof (*mhep)); in mhstealerror()
217 (void) memset(&args, 0, sizeof (args)); in meta_take_own()
218 (void) memset(&mherror, 0, sizeof (mherror)); in meta_take_own()
356 (void) memset(&args, 0, sizeof (args)); in meta_rel_own()
357 (void) memset(&mherror, 0, sizeof (mherror)); in meta_rel_own()
462 (void) memset(&args, 0, sizeof (args)); in meta_status_own()
463 (void) memset(&results, 0, sizeof (results)); in meta_status_own()
506 (void) memset(&mherror, 0, sizeof (mherror)); in meta_status_own()
574 (void) memset(listp, 0, sizeof (*listp)); in meta_free_drive_info_list()
666 (void) memset(&args, 0, sizeof (args)); in meta_list_drives()
[all …]
H A Dmeta_med.c119 (void) memset(&nto, '\0', sizeof (nto)); in cl_sto_medd()
248 (void) memset(medep, 0, sizeof (*medep)); in meddstealerror()
399 (void) memset(&args, 0, sizeof (args)); in clnt_user_med_upd_data()
400 (void) memset(&res, 0, sizeof (res)); in clnt_user_med_upd_data()
456 (void) memset(&args, 0, sizeof (args)); in clnt_user_med_get_data()
457 (void) memset(&res, 0, sizeof (res)); in clnt_user_med_get_data()
511 (void) memset(&args, 0, sizeof (args)); in clnt_med_upd_data()
512 (void) memset(&res, 0, sizeof (res)); in clnt_med_upd_data()
580 (void) memset(&args, 0, sizeof (args)); in clnt_med_get_data()
581 (void) memset(&res, 0, sizeof (res)); in clnt_med_get_data()
[all …]
/titanic_41/usr/src/cmd/smserverd/
H A Dsmediad.c518 (void) memset((void *) inq, 0, sizeof (struct scsi_inquiry)); in get_device_type_scsi()
519 (void) memset((void *) &ucmd, 0, sizeof (ucmd)); in get_device_type_scsi()
520 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb)); in get_device_type_scsi()
555 (void) memset((void *)&data, 0, sizeof (data)); in get_media_capacity()
556 (void) memset((void *)&ucmd, 0, sizeof (ucmd)); in get_media_capacity()
557 (void) memset((void *)&cdb, 0, sizeof (cdb)); in get_media_capacity()
629 (void) memset((void *) &inq, 0, sizeof (inq)); in scsi_zip_format()
630 (void) memset((void *) &ucmd, 0, sizeof (ucmd)); in scsi_zip_format()
631 (void) memset((void *) &cdb, 0, sizeof (cdb)); in scsi_zip_format()
632 (void) memset((void *) &rq_data, 0, sizeof (rq_data)); in scsi_zip_format()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/
H A Dstringtokey.c82 memset(&foldkey, 0, sizeof (krb5_keyblock)); in krb5int_dk_string_to_key()
96 (void) memset(key->contents, 0, key->length); in krb5int_dk_string_to_key()
100 memset(concat, 0, concatlen); in krb5int_dk_string_to_key()
101 memset(foldstring, 0, keybytes); in krb5int_dk_string_to_key()
102 memset(foldkeydata, 0, keylength); in krb5int_dk_string_to_key()
/titanic_41/usr/src/cmd/lms/tools/
H A DATVersion.cpp125 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
137 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
154 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
165 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
168 memset(name_str, '\0', sizeof(name_str)); in IsAppRunning()
191 memset(path, '\0', sizeof(path)); in GetAppPathByPid()
193 memset(exe_buf, '\0', PATH_MAX); in GetAppPathByPid()
/titanic_41/usr/src/cmd/sendmail/db/dbm/
H A Ddbm.c193 memset(&dbinfo, 0, sizeof(dbinfo));
256 memset(&_key, 0, sizeof(DBT));
257 memset(&_data, 0, sizeof(DBT));
298 memset(&_key, 0, sizeof(DBT));
299 memset(&_data, 0, sizeof(DBT));
333 memset(&_key, 0, sizeof(DBT));
334 memset(&_data, 0, sizeof(DBT));
368 memset(&_key, 0, sizeof(DBT));
402 memset(&_key, 0, sizeof(DBT));
406 memset(&_data, 0, sizeof(DBT));
/titanic_41/usr/src/cmd/format/
H A Dctlr_scsi.c236 (void) memset((char *)&ucmd, 0, sizeof (ucmd));
237 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
438 (void) memset((char *)&ucmd, 0, sizeof (ucmd));
439 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
451 (void) memset((char *)fmt_long_param_header, 0,
489 (void) memset((char *)fmt_long_param_header, 0,
503 (void) memset((char *)fmt_long_param_header, 0,
570 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in scsi_raw_format()
571 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb)); in scsi_raw_format()
572 (void) memset((char *)&defect_hdr, 0, sizeof (defect_hdr)); in scsi_raw_format()
[all …]
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_md5.c361 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in md5_hmac_sign()
396 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in md5_hmac_sign()
403 (void) memset(&k_ipad[i], 0x36, MD5_BLOCK_SIZE - i); in md5_hmac_sign()
404 (void) memset(&k_opad[i], 0x5C, MD5_BLOCK_SIZE - i); in md5_hmac_sign()
413 (void) memset(&k_ipad[i], 0x36, MD5_BLOCK_SIZE - key_bytes); in md5_hmac_sign()
414 (void) memset(&k_opad[i], 0x5C, MD5_BLOCK_SIZE - key_bytes); in md5_hmac_sign()
449 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in md5_hmac_sign()
505 (void) memset(&hmac_ctx, 0, sizeof (SIGN_VERIFY_CONTEXT)); in md5_hmac_verify()
H A Dmech_sha.c94 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in sha1_hmac_sign()
127 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in sha1_hmac_sign()
134 (void) memset(&k_ipad[i], 0x36, SHA1_BLOCK_SIZE - i); in sha1_hmac_sign()
135 (void) memset(&k_opad[i], 0x5C, SHA1_BLOCK_SIZE - i); in sha1_hmac_sign()
144 (void) memset(&k_ipad[i], 0x36, SHA1_BLOCK_SIZE - key_bytes); in sha1_hmac_sign()
145 (void) memset(&k_opad[i], 0x5C, SHA1_BLOCK_SIZE - key_bytes); in sha1_hmac_sign()
178 (void) memset(&digest_ctx, 0x0, sizeof (DIGEST_CONTEXT)); in sha1_hmac_sign()
235 (void) memset(&hmac_ctx, 0, sizeof (SIGN_VERIFY_CONTEXT)); in sha1_hmac_verify()
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c97 (void) memset(tmpbuf, 0, strlen(tmpbuf)); /* clean up */ in pkcs11_get_pass()
111 (void) memset(databuf, 0, strlen(databuf)); in pkcs11_get_pass()
118 (void) memset(tmpbuf, 0, strlen(tmpbuf)); in pkcs11_get_pass()
119 (void) memset(databuf, 0, strlen(databuf)); in pkcs11_get_pass()
/titanic_41/usr/src/cmd/ypcmd/
H A Dnick.c62 (void) memset(nickname, 0, YPMAXMAP+1);
63 (void) memset(mapname, 0, YPMAXMAP+1);
99 (void) memset(nickname, 0, YPMAXMAP+1);
100 (void) memset(map, 0, YPMAXMAP+1);
H A Dypserv_proc.c133 memset(domain_name, 0, sizeof (domain_name)); in ypdomain()
201 memset(&req, 0, sizeof (req)); in ypmatch()
202 memset(&resp, 0, sizeof (resp)); in ypmatch()
309 memset(&req, 0, sizeof (req)); in ypfirst()
310 memset(&resp, 0, sizeof (resp)); in ypfirst()
349 memset(&req, 0, sizeof (req)); in ypnext()
350 memset(&resp, 0, sizeof (resp)); in ypnext()
398 memset(&newreq, 0, sizeof (newreq)); in ypxfr()
429 memset(&oldreq, 0, sizeof (oldreq)); in ypxfr()
520 memset((char *)&req, 0, sizeof (req)); in ypall()
[all …]
/titanic_41/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c118 (void) memset(line, 0, sizeof (line)); in pam_sm_authenticate()
124 (void) memset(line, 0, sizeof (line)); in pam_sm_authenticate()
146 (void) memset(line, 0, sizeof (line)); in pam_sm_authenticate()
161 (void) memset(password, 0, strlen(password)); in pam_sm_authenticate()
165 (void) memset(password, 0, strlen(password)); in pam_sm_authenticate()
/titanic_41/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c102 (void) memset(&ms, 0, sizeof (ms)); in test_wcsrtombs_1()
103 (void) memset(mbs, 0, sizeof (mbs)); in test_wcsrtombs_1()
148 (void) memset(&ms, 0, sizeof (ms)); in test_wcsrtombs_l()
149 (void) memset(mbs, 0, sizeof (mbs)); in test_wcsrtombs_l()
183 (void) memset(&ms, 0, sizeof (ms)); in test_wcsrtombs_thr_iter()
184 (void) memset(mbs, 0, sizeof (mbs)); in test_wcsrtombs_thr_iter()
235 (void) memset(&ms, 0, sizeof (ms)); in test_wcsrtombs_partial()
285 (void) memset(&ms, 0, sizeof (ms)); in test_wcsrtombs_negative()
315 (void) memset(&ms, 0, sizeof (ms)); in test_wcsnrtombs_partial()
/titanic_41/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1099 (void) memset(ucmd->uscsi_rqbuf, 0, ucmd->uscsi_rqlen); in uscsi_cmd()
1172 (void) memset(buf, 0, buflen); in uscsi_request_sense()
1173 (void) memset(&ucmd, 0, sizeof (ucmd)); in uscsi_request_sense()
1174 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); in uscsi_request_sense()
1221 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense()
1222 (void) memset(&ucmd, 0, sizeof (ucmd)); in uscsi_mode_sense()
1223 (void) memset(&cdb, 0, sizeof (union scsi_cdb)); in uscsi_mode_sense()
1246 (void) memset((caddr_t)header, 0, sizeof (struct scsi_ms_header)); in uscsi_mode_sense()
1341 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense_10()
1342 (void) memset((char *)&ucmd, 0, sizeof (ucmd)); in uscsi_mode_sense_10()
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c410 (void) memset(res, 0, sizeof (*res)); in mdrpc_flush_internal_common()
489 (void) memset(res, 0, sizeof (*res)); in mdrpc_add_drv_sidenms_1_svc()
528 (void) memset(res, 0, sizeof (*res)); in mdrpc_add_drv_sidenms_2_svc()
741 (void) memset(&req, 0, sizeof (req)); in imp_adddrvs()
852 (void) memset(&req, 0, sizeof (req)); in adddrvs()
943 (void) memset(res, 0, sizeof (*res)); in mdrpc_adddrvs_1_svc()
967 (void) memset(res, 0, sizeof (*res)); in mdrpc_adddrvs_2_svc()
992 (void) memset(res, 0, sizeof (*res)); in mdrpc_imp_adddrvs_2_svc()
1078 (void) memset(&req, 0, sizeof (req)); in addhosts()
1113 (void) memset(&snp, 0, sizeof (snp)); in addhosts()
[all …]
/titanic_41/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb1.c195 (void) memset(&dbkey, '\0', sizeof dbkey);
236 (void) memset(&dbdata, '\0', sizeof dbdata);
237 (void) memset(&dbkey, '\0', sizeof dbkey);
263 (void) memset(&dbdata, '\0', sizeof dbdata);
264 (void) memset(&dbkey, '\0', sizeof dbkey);
349 (void) memset(&dbdata, '\0', sizeof dbdata);
350 (void) memset(&dbkey, '\0', sizeof dbkey);
377 (void) memset(&dbdata, '\0', sizeof dbdata);
378 (void) memset(&dbkey, '\0', sizeof dbkey);
521 (void) memset(&hash_info, '\0', sizeof hash_info);
[all …]
/titanic_41/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c99 memset(attrs, 0, sizeof (HBA_ADAPTERATTRIBUTES)); in retrieveAttrs()
123 memset(port, 0, sizeof (HBA_PORTATTRIBUTES)); in retrieveAttrs()
239 memset(raw_luns, 0, sizeof (raw_luns)); in handleRemotePort()
270 memset(&rls_payload, 0, sizeof (rls_payload)); in printLinkStat()
451 memset(&discPort, 0, sizeof (discPort)); in processRemotePort()
510 memset(&sense, 0, sizeof (sense)); in handleScsiTarget()
538 memset(&inq, 0, sizeof (struct scsi_inquiry)); in handleScsiTarget()
539 memset(&sense, 0, sizeof (sense)); in handleScsiTarget()
680 memset(&attrs, 0, sizeof (attrs)); in fc_util_list_remoteport()
681 memset(&port, 0, sizeof (port)); in fc_util_list_remoteport()
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Drsa.c93 memset(outbuf, 0, olen); in rsa_public_encrypt()
94 memset(inbuf, 0, ilen); in rsa_public_encrypt()
118 memset(outbuf, 0, olen); in rsa_private_decrypt()
119 memset(inbuf, 0, ilen); in rsa_private_decrypt()
/titanic_41/usr/src/cmd/keyserv/
H A Dchkey_common.c62 if ((s)) { (void) memset((s), 0, strlen((s))); }
91 (void) memset(bindDN, 0, BUFSIZ); in get_ldap_bindDN()
128 (void) memset(bindDN, 0, BUFSIZ); in get_ldap_bindDN()
135 (void) memset(bindDN, 0, BUFSIZ); in get_ldap_bindDN()
152 (void) memset(bindPassword, 0, BUFSIZ); in get_ldap_bindPassword()
166 (void) memset(bindPass, 0, strlen(bindPass)); in get_ldap_bindPassword()
179 (void) memset(bindPassword, 0, BUFSIZ); in get_ldap_bindPassword()
184 (void) memset(bindPassword, 0, BUFSIZ); in get_ldap_bindPassword()
185 (void) memset(bindPass, 0, strlen(bindPass)); in get_ldap_bindPassword()
188 (void) memset(bindPass, 0, strlen(bindPass)); in get_ldap_bindPassword()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dkpasswd.c121 memset((char *)&params, 0, sizeof (params));
122 memset(&principal_entry, 0, sizeof (principal_entry));
123 memset(&policy_entry, 0, sizeof (policy_entry));
197 memset(password, 0, sizeof(password));
204 memset(password, 0, sizeof(password));
335 memset(password, 0, sizeof(password));

12345678910>>...79