Home
last modified time | relevance | path

Searched refs:junk (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd-13.1/tools/tools/vhba/
H A Dvhba.c236 char junk[128]; in vhba_default_cmd() local
283 memset(junk, 0, sizeof (junk)); in vhba_default_cmd()
285 junk[2] = SSD_KEY_NO_SENSE; in vhba_default_cmd()
286 junk[7] = 10; in vhba_default_cmd()
288 (data_len > sizeof junk)? sizeof junk : data_len); in vhba_default_cmd()
320 if (junk[i] == 0) { in vhba_default_cmd()
321 junk[i] = ' '; in vhba_default_cmd()
365 junk[0] = (nlun << 3) >> 24; in vhba_default_cmd()
367 junk[2] = (nlun << 3) >> 8; in vhba_default_cmd()
368 junk[3] = (nlun << 3); in vhba_default_cmd()
[all …]
/freebsd-13.1/sys/powerpc/pseries/
H A Dmmu_phyp.c299 uint64_t junk; in mphyp_pte_synch() local
319 uint64_t ptelo, junk; in mphyp_pte_clear() local
350 &ptelo, &junk, &junk); in mphyp_pte_clear()
357 &ptelo, &junk, &junk); in mphyp_pte_clear()
372 uint64_t junk; in mphyp_pte_unset() local
381 &junk); in mphyp_pte_unset()
433 uint64_t index, junk; in mphyp_pte_insert_locked() local
499 &junk); in mphyp_pte_evict_and_insert_locked()
558 uint64_t junk; in mphyp_dump_pmap() local
586 uint64_t junk, refchg; in mphyp_pte_unset_sp() local
[all …]
/freebsd-13.1/contrib/libfido2/regress/
H A Dassert.c395 unsigned char *junk; in junk_cdh() local
398 assert(junk != NULL); in junk_cdh()
400 junk[0] = ~junk[0]; in junk_cdh()
416 free(junk); in junk_cdh()
446 unsigned char *junk; in junk_authdata() local
449 assert(junk != NULL); in junk_authdata()
451 junk[0] = ~junk[0]; in junk_authdata()
458 free(junk); in junk_authdata()
466 unsigned char *junk; in junk_sig() local
471 junk[0] = ~junk[0]; in junk_sig()
[all …]
H A Dcred.c604 unsigned char *junk; in junk_cdh() local
609 junk[0] = ~junk[0]; in junk_cdh()
629 free(junk); in junk_cdh()
705 unsigned char *junk; in junk_authdata() local
711 junk[0] = ~junk[0]; in junk_authdata()
739 free(junk); in junk_authdata()
747 unsigned char *junk; in junk_sig() local
752 junk[0] = ~junk[0]; in junk_sig()
772 free(junk); in junk_sig()
784 junk[0] = ~junk[0]; in junk_x509()
[all …]
/freebsd-13.1/crypto/heimdal/lib/gssapi/spnego/
H A Dcontext_stubs.c38 OM_uint32 ret, junk; in spnego_supported_mechs() local
48 gss_release_oid_set(&junk, &m); in spnego_supported_mechs()
58 gss_release_oid_set(&junk, &m); in spnego_supported_mechs()
63 gss_release_oid_set(&junk, &m); in spnego_supported_mechs()
370 OM_uint32 junk; in _gss_spnego_release_name() local
372 _gss_free_oid(&junk, &name->type); in _gss_spnego_release_name()
396 OM_uint32 maj_stat, junk; in _gss_spnego_inquire_context() local
428 gss_release_name(&junk, &src_mn); in _gss_spnego_inquire_context()
567 OM_uint32 ret, junk; in _gss_spnego_inquire_names_for_mech() local
591 gss_release_oid_set(&junk, &n); in _gss_spnego_inquire_names_for_mech()
[all …]
H A Daccept_sec_context.c70 OM_uint32 junk, ret; in acceptor_approved() local
75 gss_create_empty_oid_set(&junk, &oidset); in acceptor_approved()
76 gss_add_oid_set_member(&junk, mech, &oidset); in acceptor_approved()
80 gss_release_oid_set(&junk, &oidset); in acceptor_approved()
83 gss_release_cred(&junk, &cred); in acceptor_approved()
322 OM_uint32 ret, junk; in select_mech() local
348 ret = gss_indicate_mechs(&junk, &mechs); in select_mech()
357 gss_release_oid_set(&junk, &mechs); in select_mech()
360 gss_release_oid_set(&junk, &mechs); in select_mech()
397 gss_release_name(&junk, &name); in select_mech()
[all …]
/freebsd-13.1/sys/powerpc/ps3/
H A Dplatform_ps3.c143 uint64_t lpar_id, junk; in ps3_mem_regions() local
162 &phys[*physsz].mr_size, &junk); in ps3_mem_regions()
171 0, 0x04 /* any address */, &phys[*physsz].mr_start, &junk); in ps3_mem_regions()
180 uint64_t ticks, node_id, junk; in ps3_timebase_freq() local
183 lv1_repository_string("be") >> 32, 0, 0, 0, &node_id, &junk); in ps3_timebase_freq()
186 lv1_repository_string("clock"), 0, &ticks, &junk); in ps3_timebase_freq()
271 uint64_t lpar_id, junk, ppe_id; in ps3_real_maxaddr() local
283 &rm_maxaddr, &junk); in ps3_real_maxaddr()
/freebsd-13.1/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c248 OM_uint32 junk; in v2_unseal_message() local
249 gss_release_buffer(&junk, out); in v2_unseal_message()
275 OM_uint32 junk; in _gss_ntlm_get_mic() local
290 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic()
300 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic()
307 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic()
331 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic()
488 OM_uint32 junk; in _gss_ntlm_wrap() local
510 gss_release_buffer(&junk, &trailer); in _gss_ntlm_wrap()
516 gss_release_buffer(&junk, &trailer); in _gss_ntlm_wrap()
[all …]
/freebsd-13.1/crypto/heimdal/lib/gssapi/mech/
H A Dgss_inquire_names_for_mech.c59 OM_uint32 junk; in gss_inquire_names_for_mech() local
60 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
66 OM_uint32 junk; in gss_inquire_names_for_mech() local
67 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
H A Dgss_add_cred_with_password.c51 OM_uint32 junk, time_req; in gss_add_cred_with_password() local
87 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
104 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
121 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
137 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
H A Dgss_krb5.c193 OM_uint32 junk; in gsskrb5_register_acceptor_identity() local
204 return m->gm_set_sec_context_option(&junk, NULL, in gsskrb5_register_acceptor_identity()
220 OM_uint32 junk; in gsskrb5_set_dns_canonicalize() local
231 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gsskrb5_set_dns_canonicalize()
490 OM_uint32 junk; in gsskrb5_set_send_to_kdc() local
505 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gsskrb5_set_send_to_kdc()
523 OM_uint32 junk; in gss_krb5_ccache_name() local
814 OM_uint32 junk; in gsskrb5_set_default_realm() local
875 OM_uint32 junk; in gsskrb5_set_time_offset() local
898 OM_uint32 maj_stat, junk; in gsskrb5_get_time_offset() local
[all …]
H A Dgss_accept_sec_context.c157 OM_uint32 major_status, mech_ret_flags, junk; in gss_accept_sec_context() local
216 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
241 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
256 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
285 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
293 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
H A Dgss_store_cred.c48 OM_uint32 maj, junk; in gss_store_cred() local
82 gss_release_oid_set(&junk, elements_stored); in gss_store_cred()
87 gss_add_oid_set_member(&junk, in gss_store_cred()
/freebsd-13.1/lib/libgssapi/
H A Dgss_inquire_names_for_mech.c63 OM_uint32 junk; in gss_inquire_names_for_mech() local
64 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
70 OM_uint32 junk; in gss_inquire_names_for_mech() local
71 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
H A Dgss_add_cred.c102 OM_uint32 junk; in gss_add_cred() local
135 gss_release_cred(&junk, &release_cred); in gss_add_cred()
164 gss_release_cred(&junk, &release_cred); in gss_add_cred()
186 gss_release_cred(&junk, &release_cred); in gss_add_cred()
/freebsd-13.1/contrib/libevent/test/
H A Dregress_iocp.c243 char junk[1024]; in test_iocp_evbuffer() local
250 for (i = 0; i < (int)sizeof(junk); ++i) in test_iocp_evbuffer()
251 junk[i] = (char)(i); in test_iocp_evbuffer()
267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk)); in test_iocp_evbuffer()
/freebsd-13.1/contrib/ntp/sntp/libevent/test/
H A Dregress_iocp.c243 char junk[1024]; in test_iocp_evbuffer() local
250 for (i = 0; i < (int)sizeof(junk); ++i) in test_iocp_evbuffer()
251 junk[i] = (char)(i); in test_iocp_evbuffer()
267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk)); in test_iocp_evbuffer()
/freebsd-13.1/tools/tools/vhba/medium/
H A Dvhba_medium.c100 char junk[128]; in vhbamedium_act() local
142 memset(junk, 0, sizeof (junk)); in vhbamedium_act()
144 ptr = &junk[4]; in vhbamedium_act()
146 ptr = junk; in vhbamedium_act()
250 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act()
261 memcpy(csio->data_ptr, junk, data_len); in vhbamedium_act()
/freebsd-13.1/tools/tools/vhba/lots/
H A Dvhba_lots.c100 char junk[128]; in vhbalots_act() local
142 memset(junk, 0, sizeof (junk)); in vhbalots_act()
144 ptr = &junk[4]; in vhbalots_act()
146 ptr = junk; in vhbalots_act()
250 nbyte = (char *)ptr - &junk[0]; in vhbalots_act()
261 memcpy(csio->data_ptr, junk, data_len); in vhbalots_act()
/freebsd-13.1/tools/tools/vhba/simple/
H A Dvhba_simple.c100 char junk[128]; in vhbasimple_act() local
142 memset(junk, 0, sizeof (junk)); in vhbasimple_act()
144 ptr = &junk[4]; in vhbasimple_act()
146 ptr = junk; in vhbasimple_act()
250 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act()
261 memcpy(csio->data_ptr, junk, data_len); in vhbasimple_act()
/freebsd-13.1/sys/kgssapi/
H A Dgss_accept_sec_context.c117 OM_uint32 junk; in gss_accept_sec_context() local
118 gss_release_name(&junk, &name); in gss_accept_sec_context()
132 OM_uint32 junk; in gss_accept_sec_context() local
133 gss_release_cred(&junk, &cred); in gss_accept_sec_context()
/freebsd-13.1/contrib/tcp_wrappers/
H A Doptions.c299 char junk; local
301 if (sscanf(value, "%o%c", &mask, &junk) != 1 || (mask & 0777) != mask)
327 char junk; local
329 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1
364 char junk; local
366 if (value != 0 && sscanf(value, "%d%c", &niceval, &junk) != 1)
417 char junk; local
420 if (sscanf(value, "%d%c", &timeout, &junk) != 1 || timeout <= 0)
/freebsd-13.1/tools/tools/vhba/faulty/
H A Dvhba_faulty.c107 char junk[128]; in faulty_act() local
156 memset(junk, 0, sizeof (junk)); in faulty_act()
158 ptr = &junk[4]; in faulty_act()
160 ptr = junk; in faulty_act()
264 nbyte = (char *)ptr - &junk[0]; in faulty_act()
275 memcpy(csio->data_ptr, junk, data_len); in faulty_act()
/freebsd-13.1/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c121 char junk[128]; in vhbarptluns_act() local
171 memset(junk, 0, sizeof (junk)); in vhbarptluns_act()
173 ptr = &junk[4]; in vhbarptluns_act()
175 ptr = junk; in vhbarptluns_act()
279 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act()
290 memcpy(csio->data_ptr, junk, data_len); in vhbarptluns_act()
/freebsd-13.1/sys/rpc/
H A Dauthunix_prot.c70 uint32_t junk; in xdr_authunix_parms() local
84 junk = 0; in xdr_authunix_parms()
118 if (!xdr_uint32_t(xdrs, &junk)) in xdr_authunix_parms()

123456