| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | multilist.c | 30 multilist_d2l(multilist_t *ml, void *obj) in multilist_d2l() argument 32 return ((multilist_node_t *)((char *)obj + ml->ml_offset)); in multilist_d2l() 63 multilist_create(multilist_t *ml, size_t size, size_t offset, unsigned int num, in multilist_create() argument 66 ASSERT3P(ml, !=, NULL); in multilist_create() 72 ml->ml_offset = offset; in multilist_create() 73 ml->ml_num_sublists = num; in multilist_create() 74 ml->ml_index_func = index_func; in multilist_create() 76 ml->ml_sublists = kmem_zalloc(sizeof (multilist_sublist_t) * in multilist_create() 77 ml->ml_num_sublists, KM_SLEEP); in multilist_create() 79 ASSERT3P(ml->ml_sublists, !=, NULL); in multilist_create() [all …]
|
| /netbsd-src/usr.bin/systat/ |
| H A D | bufcache.c | 130 struct ml_entry *ml; in showbufcache() local 187 for (i = lastrow, ml = LIST_FIRST(&mount_list); ml != NULL; in showbufcache() 188 i++, ml = LIST_NEXT(ml, ml_entries)) { in showbufcache() 190 int cnt = ml->ml_count; in showbufcache() 191 double v = ml->ml_valid; in showbufcache() 192 double s = ml->ml_size; in showbufcache() 196 mvwprintw(wnd, i, 0, "%-20.20s", ml->ml_addr == NULL ? in showbufcache() 197 "NULL" : ml->ml_mount.mnt_stat.f_mntonname); in showbufcache() 256 struct ml_entry *ml; in fetchbufcache() local 332 if ((ml = LIST_FIRST(&mount_list)) == NULL || in fetchbufcache() [all …]
|
| /netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
| H A D | blamka-round-avx2.h | 14 __m256i ml = _mm256_mul_epu32(A0, B0); \ 15 ml = _mm256_add_epi64(ml, ml); \ 16 A0 = _mm256_add_epi64(A0, _mm256_add_epi64(B0, ml)); \ 20 ml = _mm256_mul_epu32(C0, D0); \ 21 ml = _mm256_add_epi64(ml, ml); \ 22 C0 = _mm256_add_epi64(C0, _mm256_add_epi64(D0, ml)); \ 27 ml = _mm256_mul_epu32(A1, B1); \ 28 ml = _mm256_add_epi64(ml, ml); \ 29 A1 = _mm256_add_epi64(A1, _mm256_add_epi64(B1, ml)); \ 33 ml = _mm256_mul_epu32(C1, D1); \ [all …]
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | fixup_tdescs.c | 67 mlist_t *ml; in fix_ptrptr_to_struct() local 74 for (ml = str->t_members; ml; ml = ml->ml_next) { in fix_ptrptr_to_struct() 75 if (streq(ml->ml_name, mems[i])) in fix_ptrptr_to_struct() 78 if (!ml) in fix_ptrptr_to_struct() 81 if (ml->ml_type->t_type != POINTER || ml->ml_type->t_name || in fix_ptrptr_to_struct() 82 ml->ml_type->t_tdesc->t_type != POINTER || in fix_ptrptr_to_struct() 83 ml->ml_type->t_tdesc->t_name) in fix_ptrptr_to_struct() 86 act = ml->ml_type->t_tdesc->t_tdesc; in fix_ptrptr_to_struct() 104 ml->ml_type = p1; in fix_ptrptr_to_struct() 118 mlist_t *ml; in fix_ptr_to_struct() local [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | memberof.c | 368 Modifications mod[ 2 ] = { { { 0 } } }, *ml; in memberof_value_modify() local 394 ml = &mod[ mcnt ]; in memberof_value_modify() 395 ml->sml_numvals = 1; in memberof_value_modify() 396 ml->sml_values = &values[ 0 ]; in memberof_value_modify() 397 ml->sml_values[ 0 ] = mo->mo_dn; in memberof_value_modify() 398 BER_BVZERO( &ml->sml_values[ 1 ] ); in memberof_value_modify() 399 ml->sml_nvalues = &nvalues[ 0 ]; in memberof_value_modify() 400 ml->sml_nvalues[ 0 ] = mo->mo_ndn; in memberof_value_modify() 401 BER_BVZERO( &ml->sml_nvalues[ 1 ] ); in memberof_value_modify() 402 ml->sml_desc = slap_schema.si_ad_modifiersName; in memberof_value_modify() [all …]
|
| H A D | ppolicy.c | 2358 *ml, *delmod, *addmod; in ppolicy_modify() local 2394 for( prev = &op->orm_modlist, ml = *prev; ml; ml = *prev ) { in ppolicy_modify() 2396 if ( ml->sml_desc == slap_schema.si_ad_userPassword ) in ppolicy_modify() 2402 if ( ml->sml_op == LDAP_MOD_DELETE || in ppolicy_modify() 2403 ml->sml_op == SLAP_MOD_SOFTDEL ) { in ppolicy_modify() 2406 if ( ml->sml_desc == ad_pwdGraceUseTime ) { in ppolicy_modify() 2408 drop = ml->sml_op == LDAP_MOD_DELETE; in ppolicy_modify() 2413 if ( ml->sml_desc == ad_pwdAccountLockedTime ) { in ppolicy_modify() 2415 drop = ml->sml_op == LDAP_MOD_DELETE; in ppolicy_modify() 2420 if ( ml->sml_desc == ad_pwdFailureTime ) { in ppolicy_modify() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
| H A D | tsan_test_util.h | 75 void Read(const MemLoc &ml, int size, bool expect_race = false) { 76 Access(ml.loc(), false, size, expect_race); 78 void Write(const MemLoc &ml, int size, bool expect_race = false) { 79 Access(ml.loc(), true, size, expect_race); 81 void Read1(const MemLoc &ml, bool expect_race = false) { 82 Read(ml, 1, expect_race); } 83 void Read2(const MemLoc &ml, bool expect_race = false) { 84 Read(ml, 2, expect_race); } 85 void Read4(const MemLoc &ml, bool expect_race = false) { 86 Read(ml, 4, expect_race); } [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | modify.c | 352 Modifications *ml, in slap_mods_obsolete_check() argument 359 for ( ; ml != NULL; ml = ml->sml_next ) { in slap_mods_obsolete_check() 360 if ( is_at_obsolete( ml->sml_desc->ad_type ) && in slap_mods_obsolete_check() 361 (( ml->sml_op != LDAP_MOD_REPLACE && in slap_mods_obsolete_check() 362 ml->sml_op != LDAP_MOD_DELETE ) || in slap_mods_obsolete_check() 363 ml->sml_values != NULL )) in slap_mods_obsolete_check() 371 ml->sml_type.bv_val ); in slap_mods_obsolete_check() 386 Modifications *ml, in slap_mods_no_user_mod_check() argument 391 for ( ; ml != NULL; ml = ml->sml_next ) { in slap_mods_no_user_mod_check() 392 if ( !is_at_no_user_mod( ml->sml_desc->ad_type ) ) { in slap_mods_no_user_mod_check() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/ |
| H A D | smbk5pwd.c | 348 Modifications *ml; in smbk5pwd_exop_passwd() local 430 ml = ch_malloc(sizeof(Modifications)); in smbk5pwd_exop_passwd() 431 if (!qpw->rs_modtail) qpw->rs_modtail = &ml->sml_next; in smbk5pwd_exop_passwd() 432 ml->sml_next = qpw->rs_mods; in smbk5pwd_exop_passwd() 433 qpw->rs_mods = ml; in smbk5pwd_exop_passwd() 435 ml->sml_desc = ad_krb5Key; in smbk5pwd_exop_passwd() 436 ml->sml_op = LDAP_MOD_REPLACE; in smbk5pwd_exop_passwd() 438 ml->sml_flags = SLAP_MOD_INTERNAL; in smbk5pwd_exop_passwd() 440 ml->sml_numvals = i; in smbk5pwd_exop_passwd() 441 ml->sml_values = keys; in smbk5pwd_exop_passwd() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/ |
| H A D | modify.c | 48 Modifications *ml; in meta_back_modify() local 79 for ( i = 0, ml = op->orm_modlist; ml; i++ ,ml = ml->sml_next ) in meta_back_modify() 97 for ( i = 0, ml = op->orm_modlist; ml; ml = ml->sml_next ) { in meta_back_modify() 100 if ( !isupdate && !get_relax( op ) && ml->sml_desc->ad_type->sat_no_user_mod ) in meta_back_modify() 105 if ( ml->sml_desc == slap_schema.si_ad_objectClass in meta_back_modify() 106 || ml->sml_desc == slap_schema.si_ad_structuralObjectClass ) in meta_back_modify() 109 mapped = ml->sml_desc->ad_cname; in meta_back_modify() 113 &ml->sml_desc->ad_cname, &mapped, in meta_back_modify() 121 mods[ i ].mod_op = ml->sml_op | LDAP_MOD_BVALUES; in meta_back_modify() 129 if ( ml->sml_values != NULL ) { in meta_back_modify() [all …]
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | cmdbuf.c | 637 struct mlist *ml; in cmd_updown() local 656 for (ml = curr_mlist->curr_mp;;) in cmd_updown() 658 ml = (action == EC_UP) ? ml->prev : ml->next; in cmd_updown() 659 if (ml == curr_mlist) in cmd_updown() 666 if (strncmp(cmdbuf, ml->string, updown_match) == 0) in cmd_updown() 672 curr_mlist->curr_mp = ml; in cmd_updown() 673 s = ml->string; in cmd_updown() 696 static void ml_link(struct mlist *mlist, struct mlist *ml) in ml_link() argument 698 ml->next = mlist; in ml_link() 699 ml->prev = mlist->prev; in ml_link() [all …]
|
| /netbsd-src/lib/libc/citrus/modules/ |
| H A D | citrus_mapper_serial.c | 114 struct maplink *ml; in uninit() local 116 while ((ml = SIMPLEQ_FIRST(&sr->sr_mappers)) != NULL) { in uninit() 118 _mapper_close(ml->ml_mapper); in uninit() 119 free(ml); in uninit() 130 struct maplink *ml; in parse_var() local 145 ml = malloc(sizeof(*ml)); in parse_var() 146 if (ml == NULL) in parse_var() 148 ret = _mapper_open(ma, &ml->ml_mapper, mapname); in parse_var() 150 free(ml); in parse_var() 154 if (_mapper_get_src_max(ml->ml_mapper) != 1 || in parse_var() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
| H A D | modify.c | 49 Modifications *ml; in ldap_back_modify() local 60 for ( i = 0, ml = op->orm_modlist; ml; i++, ml = ml->sml_next ) in ldap_back_modify() 72 for ( i = 0, ml = op->orm_modlist; ml; ml = ml->sml_next ) { in ldap_back_modify() 73 if ( !isupdate && !get_relax( op ) && ml->sml_desc->ad_type->sat_no_user_mod ) in ldap_back_modify() 79 mods[ i ].mod_op = ( ml->sml_op | LDAP_MOD_BVALUES ); in ldap_back_modify() 80 mods[ i ].mod_type = ml->sml_desc->ad_cname.bv_val; in ldap_back_modify() 82 if ( ml->sml_values != NULL ) { in ldap_back_modify() 83 for ( j = 0; !BER_BVISNULL( &ml->sml_values[ j ] ); j++ ) in ldap_back_modify() 87 for ( j = 0; !BER_BVISNULL( &ml->sml_values[ j ] ); j++ ) in ldap_back_modify() 89 mods[ i ].mod_bvalues[ j ] = &ml->sml_values[ j ]; in ldap_back_modify()
|
| /netbsd-src/external/bsd/unbound/dist/testcode/ |
| H A D | unitdname.c | 274 int ml = 0; /* number of labels that matched exactly */ in dname_test_dname_lab_cmp() local 278 unit_assert(dname_lab_cmp((uint8_t*)"", 1, (uint8_t*)"", 1, &ml) == 0); in dname_test_dname_lab_cmp() 279 unit_assert(ml == 1); in dname_test_dname_lab_cmp() 283 &ml) == 0); in dname_test_dname_lab_cmp() 284 unit_assert(ml == 2); in dname_test_dname_lab_cmp() 288 &ml) == 0); in dname_test_dname_lab_cmp() 289 unit_assert(ml == 3); in dname_test_dname_lab_cmp() 293 &ml) == 0); in dname_test_dname_lab_cmp() 294 unit_assert(ml == 4); in dname_test_dname_lab_cmp() 300 &ml) == -1); in dname_test_dname_lab_cmp() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
| H A D | vernum.c | 102 Modifications *ml, **mlp; in vernum_op_modify() local 107 for ( ml = op->orm_modlist; ml != NULL; ml = ml->sml_next ) { in vernum_op_modify() 108 if ( ml->sml_desc == vn->vn_vernum ) { in vernum_op_modify() 114 if ( ml->sml_desc == vn->vn_attr ) { in vernum_op_modify() 129 ml = ch_calloc( sizeof( Modifications ), 1 ); in vernum_op_modify() 130 ml->sml_values = ch_calloc( sizeof( struct berval ) , 2 ); in vernum_op_modify() 131 value_add_one( &ml->sml_values, &val_init ); in vernum_op_modify() 132 ml->sml_nvalues = NULL; in vernum_op_modify() 133 ml->sml_numvals = 1; in vernum_op_modify() 134 ml->sml_op = SLAP_MOD_ADD_IF_NOT_PRESENT; in vernum_op_modify() [all …]
|
| /netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/blake2/ |
| H A D | blamka-round-opt.h | 192 __m256i ml = _mm256_mul_epu32(A0, B0); \ 193 ml = _mm256_add_epi64(ml, ml); \ 194 A0 = _mm256_add_epi64(A0, _mm256_add_epi64(B0, ml)); \ 198 ml = _mm256_mul_epu32(C0, D0); \ 199 ml = _mm256_add_epi64(ml, ml); \ 200 C0 = _mm256_add_epi64(C0, _mm256_add_epi64(D0, ml)); \ 205 ml = _mm256_mul_epu32(A1, B1); \ 206 ml = _mm256_add_epi64(ml, ml); \ 207 A1 = _mm256_add_epi64(A1, _mm256_add_epi64(B1, ml)); \ 211 ml = _mm256_mul_epu32(C1, D1); \ [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/lastmod/ |
| H A D | lastmod.c | 225 Modifications *ml; in lastmod_modify() local 234 for ( ml = op->orm_modlist; ml; ml = ml->sml_next ) { in lastmod_modify() 237 if ( ml->sml_desc != lastmod_schema.lms_ad_lastmodEnabled ) { in lastmod_modify() 241 if ( ml->sml_op != LDAP_MOD_REPLACE ) { in lastmod_modify() 247 a = attr_find( lmi->lmi_e->e_attrs, ml->sml_desc ); in lastmod_modify() 256 ber_dupbv( &a->a_vals[ 0 ], &ml->sml_values[ 0 ] ); in lastmod_modify() 259 if ( ml->sml_nvalues && !BER_BVISNULL( &ml->sml_nvalues[ 0 ] ) ) { in lastmod_modify() 260 ber_dupbv( &a->a_nvals[ 0 ], &ml->sml_nvalues[ 0 ] ); in lastmod_modify() 262 ber_dupbv( &a->a_nvals[ 0 ], &ml->sml_values[ 0 ] ); in lastmod_modify() 266 if ( strcmp( ml->sml_values[ 0 ].bv_val, "TRUE" ) == 0 ) { in lastmod_modify() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | combine-stack-adj.c | 163 struct csa_reflist *ml; in record_one_stack_ref() local 165 ml = XNEW (struct csa_reflist); in record_one_stack_ref() 168 ml->sp_offset = 0; in record_one_stack_ref() 170 ml->sp_offset = INTVAL (XEXP (XEXP (*ref, 0), 1)); in record_one_stack_ref() 172 ml->insn = insn; in record_one_stack_ref() 173 ml->ref = ref; in record_one_stack_ref() 174 ml->next = next_reflist; in record_one_stack_ref() 176 return ml; in record_one_stack_ref() 226 struct csa_reflist *ml; in try_apply_stack_adjustment() local 237 for (ml = reflist; ml ; ml = ml->next) in try_apply_stack_adjustment() [all …]
|
| /netbsd-src/sys/arch/shark/stand/ofwboot/ |
| H A D | alloc.c | 112 struct ml { struct 114 LIST_ENTRY(ml) list; argument 117 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 118 LIST_HEAD(, ml) allocatedlist = LIST_HEAD_INITIALIZER(allocatedlist); 120 #define OVERHEAD ALIGN(sizeof (struct ml)) /* shorthand */ 125 struct ml *f, *bestf; in alloc() 181 f = (struct ml *)help; in alloc() 211 register struct ml *a = (struct ml *)((char*)ptr - OVERHEAD); in dealloc() 230 struct ml *m; in freeall()
|
| /netbsd-src/sys/arch/sparc/stand/ofwboot/ |
| H A D | alloc.c | 112 struct ml { struct 114 LIST_ENTRY(ml) list; argument 117 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 118 LIST_HEAD(, ml) allocatedlist = LIST_HEAD_INITIALIZER(allocatedlist); 120 #define OVERHEAD ALIGN(sizeof (struct ml)) /* shorthand */ 125 struct ml *f, *bestf; in alloc() 181 f = (struct ml *)help; in alloc() 211 register struct ml *a = (struct ml *)((char*)ptr - OVERHEAD); in dealloc() 231 struct ml *m; in freeall()
|
| /netbsd-src/sys/arch/macppc/stand/ofwboot/ |
| H A D | alloc.c | 111 struct ml { struct 113 LIST_ENTRY(ml) list; argument 116 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 117 LIST_HEAD(, ml) allocatedlist = LIST_HEAD_INITIALIZER(allocatedlist); 119 #define OVERHEAD ALIGN(sizeof (struct ml)) /* shorthand */ 124 struct ml *f, *bestf; in alloc() 180 f = (struct ml *)help; in alloc() 210 register struct ml *a = (struct ml *)((char*)ptr - OVERHEAD); in dealloc() 230 struct ml *m; in freeall()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
| H A D | modify.c | 55 Modifications *ml; in asyncmeta_back_modify_start() local 73 for ( i = 0, ml = op->orm_modlist; ml; i++ ,ml = ml->sml_next ) in asyncmeta_back_modify_start() 92 for ( i = 0, ml = op->orm_modlist; ml; ml = ml->sml_next ) { in asyncmeta_back_modify_start() 95 if ( !isupdate && !get_relax( op ) && ml->sml_desc->ad_type->sat_no_user_mod ) in asyncmeta_back_modify_start() 101 mods[ i ].mod_op = ml->sml_op | LDAP_MOD_BVALUES; in asyncmeta_back_modify_start() 102 mods[ i ].mod_type = ml->sml_desc->ad_cname.bv_val; in asyncmeta_back_modify_start() 104 if ( ml->sml_values != NULL ) { in asyncmeta_back_modify_start() 105 j = ml->sml_numvals; in asyncmeta_back_modify_start() 107 for ( j = 0; !BER_BVISNULL( &ml->sml_values[ j ] ); j++ ) { in asyncmeta_back_modify_start() 109 if ( ml->sml_desc->ad_type->sat_syntax == slap_schema.si_syn_distinguishedName ) in asyncmeta_back_modify_start() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | combine-stack-adj.cc | 167 struct csa_reflist *ml; in record_one_stack_ref() local 169 ml = XNEW (struct csa_reflist); in record_one_stack_ref() 172 ml->sp_offset = 0; in record_one_stack_ref() 174 ml->sp_offset = INTVAL (XEXP (XEXP (*ref, 0), 1)); in record_one_stack_ref() 176 ml->insn = insn; in record_one_stack_ref() 177 ml->ref = ref; in record_one_stack_ref() 178 ml->next = next_reflist; in record_one_stack_ref() 180 return ml; in record_one_stack_ref() 231 struct csa_reflist *ml; in try_apply_stack_adjustment() local 283 for (ml = reflist; ml ; ml = ml->next) in try_apply_stack_adjustment() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/ |
| H A D | t-sub.c | 34 mp_limb_t want_dh,want_dl, mh,ml, sh,sl; in check_data() member 53 sub_ddmmss (got_dh,got_dl, data[i].mh,data[i].ml, data[i].sh,data[i].sl); in check_data() 58 mp_limb_trace (" ml", data[i].ml); in check_data() 73 mp_limb_t want_dh,want_dl, got_dh,got_dl, mh,ml, sh,sl; in check_random() local 79 ml = urandom (); in check_random() 83 refmpn_sub_ddmmss (&want_dh,&want_dl, mh,ml, sh,sl); in check_random() 85 sub_ddmmss (got_dh,got_dl, mh,ml, sh,sl); in check_random() 91 mp_limb_trace (" ml", ml); in check_random()
|
| /netbsd-src/external/bsd/am-utils/dist/amd/ |
| H A D | amfs_host.c | 293 mntlist *ml; in already_mounted() local 295 for (ml = mlist; ml; ml = ml->mnext) in already_mounted() 296 if (STREQ(ml->mnt->mnt_dir, dir)) in already_mounted() 540 mntlist *ml, *mprev; in amfs_host_umount() local 559 ml = mlist; in amfs_host_umount() 561 while (ml) { in amfs_host_umount() 562 mntlist *ml2 = ml->mnext; in amfs_host_umount() 563 ml->mnext = mprev; in amfs_host_umount() 564 mprev = ml; in amfs_host_umount() 565 ml = ml2; in amfs_host_umount() [all …]
|