/dragonfly/sys/vm/ |
H A D | vm_page.c | 301 m->queue = m->pc + PQ_FREE; in vm_add_new_page() 585 m->queue -= m->pc; in vm_numa_organize() 589 m->queue += m->pc; in vm_numa_organize() 691 m->queue -= m->pc; in vm_numa_organize_finalize() 693 m->queue += m->pc; in vm_numa_organize_finalize() 1418 m, m->hold_count, m->queue - m->pc)); in vm_page_unhold() 1616 m = mp->m; in vm_page_hash_get() 1690 if (mp->m == m && in vm_page_hash_enter() 1719 best->m = m; in vm_page_hash_enter() 2414 m, m->queue, m->flags, in vm_page_select_free() [all …]
|
H A D | vm_pageout.c | 1056 if (m->queue - m->pc == PQ_INACTIVE) { in vm_pageout_page() 1163 if (m->queue - m->pc == PQ_INACTIVE) { in vm_pageout_page() 1486 if (m->queue - m->pc == PQ_ACTIVE) { in vm_pageout_scan_active() 1515 if (m->queue - m->pc == PQ_ACTIVE) { in vm_pageout_scan_active() 1560 if (m->queue - m->pc == PQ_ACTIVE) { in vm_pageout_scan_active() 1575 m->act_count -= min(m->act_count, in vm_pageout_scan_active() 1579 m->act_count -= min(m->act_count, in vm_pageout_scan_active() 1727 if ((m->flags & PG_MAPPED) || (m->valid & m->dirty)) { in vm_pageout_scan_cache() 1730 m, m->queue - m->pc, m->dirty); in vm_pageout_scan_cache() 1740 (m->valid & m->dirty)) in vm_pageout_scan_cache() [all …]
|
H A D | vm_contig.c | 194 if (m->queue - m->pc != queue) { in vm_contig_pg_clean() 198 if (m->wire_count || m->hold_count) { in vm_contig_pg_clean() 207 if (m->dirty || (m->flags & PG_NEED_COMMIT)) { in vm_contig_pg_clean() 256 vm_page_t m; in vm_contig_pg_alloc() local 286 if (m) in vm_contig_pg_alloc() 306 pqtype = m->queue - m->pc; in vm_contig_pg_alloc() 311 m->wire_count == 0 && m->hold_count == 0 && in vm_contig_pg_alloc() 374 pqtype = m->queue - m->pc; in vm_contig_pg_alloc() 402 pqtype = m->queue - m->pc; in vm_contig_pg_alloc() 422 KKASSERT((m->valid & m->dirty) == 0); in vm_contig_pg_alloc() [all …]
|
/dragonfly/sys/dev/sound/midi/ |
H A D | midi.c | 313 m->synth->m = m; in midi_init() 367 m->dev->si_drv1 = m; in midi_init() 595 MPU_CALLBACKP(m, m->cookie, m->flags); in midi_out() 671 MPU_CALLBACK(m, m->cookie, m->flags); in midi_open() 715 MPU_CALLBACK(m, m->cookie, m->flags); in midi_close() 882 MPU_CALLBACK(m, m->cookie, m->flags); in midi_write() 1179 MPU_CALLBACK(m, m->cookie, m->flags); in midisynth_open() 1220 MPU_CALLBACK(m, m->cookie, m->flags); in midisynth_close() 1262 MPU_CALLBACK(m, m->cookie, m->flags); in midisynth_writeraw() 1308 MPU_CALLBACK(m, m->cookie, m->flags); in midisynth_writeraw() [all …]
|
H A D | mpu401.c | 63 #define CMD(m,d) MPUFOI_WRITE(m, m->cookie, MPU_CMDPORT,d) argument 64 #define STATUS(m) MPUFOI_READ(m, m->cookie, MPU_STATPORT) argument 65 #define READ(m) MPUFOI_READ(m, m->cookie, MPU_DATAPORT) argument 66 #define WRITE(m,d) MPUFOI_WRITE(m, m->cookie, MPU_DATAPORT,d) argument 109 (m->si)(m->cookie); in mpu401_timeout() 162 if ((m->flags & M_TXEN) && (m->si)) { in mpu401_intr() 163 callout_reset(&m->timer, 1, mpu401_timeout, m); in mpu401_intr() 185 m->mid = midi_init(&mpu401_class, 0, 0, m); in mpu401_init() 189 return m; in mpu401_init() 239 return MPUFOI_UNINIT(m, m->cookie); in mpu401_muninit() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | genmodes.c | 445 for (m = modes[cl]; m; m = m->next) in make_complex_modes() 469 m->file, m->line, m->name); in make_complex_modes() 507 for (m = modes[cl]; m; m = m->next) in make_vector_modes() 529 m->file, m->line, m->name); in make_vector_modes() 924 for (i = 0, m = modes[c]; m; i++, m = m->next) in calc_wider_mode() 1026 for (m = a->mode->contained; m; m = m->next_cont) in emit_mode_size_inline() 1252 for (m = modes[c]; m; m = m->next) in emit_insn_modes_h() 1276 for (m = first; m; last = m, m = m->next) in emit_insn_modes_h() 1685 for (m = modes[MODE_FLOAT]; m; m = m->next) in emit_real_format_for_mode() 1692 for (m = modes[MODE_DECIMAL_FLOAT]; m; m = m->next) in emit_real_format_for_mode() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | genmodes.c | 436 for (m = modes[cl]; m; m = m->next) in make_complex_modes() 445 m->file, m->line, m->name); in make_complex_modes() 462 m->file, m->line, m->name); in make_complex_modes() 495 for (m = modes[cl]; m; m = m->next) in make_vector_modes() 517 m->file, m->line, m->name); in make_vector_modes() 819 for (i = 0, m = modes[c]; m; i++, m = m->next) in calc_wider_mode() 868 for (m = modes[c]; m; m = m->next) in emit_insn_modes_h() 881 for (m = first; m; last = m, m = m->next) in emit_insn_modes_h() 1189 for (m = modes[MODE_FLOAT]; m; m = m->next) in emit_real_format_for_mode() 1196 for (m = modes[MODE_DECIMAL_FLOAT]; m; m = m->next) in emit_real_format_for_mode() [all …]
|
/dragonfly/sys/dev/raid/vinum/ |
H A D | vinumraid5.c | 159 m.stripebase = *diskaddr - m.stripeoffset; in bre5() 184 m.sdbase = m.stripebase / (plex->subdisks - 1); in bre5() 347 m.datalen = m.initlen; in bre5() 379 m.grouplen = m.datalen; in bre5() 424 m.grouplen = m.datalen; in bre5() 428 m.writelen = umax(m.writeoffset + m.writelen, in bre5() 429 m.dataoffset + m.datalen) in bre5() 431 m.writeoffset = m.dataoffset; in bre5() 433 m.writelen = umax(m.writeoffset + m.writelen, in bre5() 434 m.dataoffset + m.datalen) in bre5() [all …]
|
/dragonfly/sys/dev/sound/pcm/ |
H A D | mixer.c | 560 m->child[m->parent[i]] &= ~(1 << i); in mix_setparentchild() 626 ksnprintf(m->name, sizeof(m->name), "%s:mixer", in mixer_obj_create() 629 strlcat(m->name, ":", sizeof(m->name)); in mixer_obj_create() 630 strlcat(m->name, desc, sizeof(m->name)); in mixer_obj_create() 839 mixer_set(m, i, m->level[i]); in mixer_reinit() 841 mixer_setrecsrc(m, m->recsrc); in mixer_reinit() 901 mixer_set(m, m->hwvol_mixer, m->hwvol_mute_level); in mixer_hwvol_mute_locked() 904 m->hwvol_mute_level = mixer_get(m, m->hwvol_mixer); in mixer_hwvol_mute_locked() 905 mixer_set(m, m->hwvol_mixer, 0); in mixer_hwvol_mute_locked() 931 level = mixer_get(m, m->hwvol_mixer); in mixer_hwvol_step_locked() [all …]
|
/dragonfly/sys/kern/ |
H A D | uipc_mbuf.c | 127 if (mb1->m < mb2->m) in mbtrack_cmp() 129 if (mb1->m > mb2->m) in mbtrack_cmp() 147 mbt->m = m; in mbuftrack() 188 m = m->m_next; in mbuftrackid() 1473 m = m_free(m); in m_freem() 1548 m = m->m_next; in m_copym() 1638 m = m->m_next; in m_copypacket() 1844 m = m_last(m); in m_cat() 1918 for (; m; m = m->m_next) { in m_adj() 2177 for (m = m0; m && len > m->m_len; m = m->m_next) in m_split() [all …]
|
H A D | uipc_sockbuf.c | 90 if (m) { in sbappend() 132 for (m = sb->sb_mb; m; m = n) { in _sbcheck() 138 for (; m; m = m->m_next) { in _sbcheck() 276 m = m->m_next; in sbappendaddr() 367 m = o; in sbcompress() 401 m = o; in sbcompress() 417 m = m->m_next; /* advance to next mbuf */ in sbcompress() 491 m = sbunlinkmbuf(sb, m, &free_chain); in sbdrop() 501 while (m && m->m_len == 0) { in sbdrop() 502 m = sbunlinkmbuf(sb, m, &free_chain); in sbdrop() [all …]
|
/dragonfly/sbin/gpt/ |
H A D | map.c | 49 m = malloc(sizeof(*m)); in mkmap() 54 m->map_next = m->map_prev = NULL; in mkmap() 109 m->map_prev->map_next = m; in map_add() 120 m->map_next->map_prev = m; in map_add() 149 for (m = mediamap; m != NULL; m = m->map_next) { in map_alloc() 177 while (m != NULL && m->map_type != type) in map_find() 178 m = m->map_next; in map_find() 194 while (m != NULL && m->map_next != NULL) in map_last() 195 m = m->map_next; in map_last() 206 while (m != NULL && m->map_start + m->map_size <= start) in map_free() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/eap_peer/ |
H A D | eap_methods.c | 33 for (m = eap_methods; m; m = m->next) { in eap_peer_get_eap_method() 53 for (m = eap_methods; m; m = m->next) { in eap_peer_get_type() 78 for (m = eap_methods; m; m = m->next) { in eap_get_name() 105 for (m = eap_methods; m; m = m->next) { in eap_get_names() 135 for (m = eap_methods; m; m = m->next) in eap_get_names_as_string_array() 142 for (m = eap_methods; m; m = m->next) { in eap_get_names_as_string_array() 170 for (m = eap_methods; m; m = m->next) in eap_peer_get_methods() 244 m = m->next; in eap_peer_method_unload() 258 m->free(m); in eap_peer_method_unload() 326 for (m = eap_methods; m; m = m->next) { in eap_peer_method_register() [all …]
|
/dragonfly/sys/crypto/ |
H A D | sha1.c | 98 ctxt->m.b8[0] = tctxt.m.b8[3]; ctxt->m.b8[1] = tctxt.m.b8[2]; in sha1_step() 99 ctxt->m.b8[2] = tctxt.m.b8[1]; ctxt->m.b8[3] = tctxt.m.b8[0]; in sha1_step() 100 ctxt->m.b8[4] = tctxt.m.b8[7]; ctxt->m.b8[5] = tctxt.m.b8[6]; in sha1_step() 101 ctxt->m.b8[6] = tctxt.m.b8[5]; ctxt->m.b8[7] = tctxt.m.b8[4]; in sha1_step() 102 ctxt->m.b8[8] = tctxt.m.b8[11]; ctxt->m.b8[9] = tctxt.m.b8[10]; in sha1_step() 103 ctxt->m.b8[10] = tctxt.m.b8[9]; ctxt->m.b8[11] = tctxt.m.b8[8]; in sha1_step() 104 ctxt->m.b8[12] = tctxt.m.b8[15]; ctxt->m.b8[13] = tctxt.m.b8[14]; in sha1_step() 105 ctxt->m.b8[14] = tctxt.m.b8[13]; ctxt->m.b8[15] = tctxt.m.b8[12]; in sha1_step() 106 ctxt->m.b8[16] = tctxt.m.b8[19]; ctxt->m.b8[17] = tctxt.m.b8[18]; in sha1_step() 107 ctxt->m.b8[18] = tctxt.m.b8[17]; ctxt->m.b8[19] = tctxt.m.b8[16]; in sha1_step() [all …]
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_mutex.c | 81 __free(m); \ 324 m = *mutex; in _pthread_mutex_destroy() 349 m = *mutex; in mutex_trylock_common() 413 m = *mutex; in mutex_lock_common() 447 m, ret, m->m_lock, m->m_count); in mutex_lock_common() 569 m->m_count++; in mutex_self_trylock() 628 m->m_count++; in mutex_self_lock() 661 m->m_count--; in mutex_unlock_common() 680 m, m->m_lock); in mutex_unlock_common() 746 m->m_count = 0; in _mutex_cv_unlock() [all …]
|
/dragonfly/contrib/bmake/ |
H A D | bmake.cat1 | 7 …[1mbmake [22m[[1m-BeikNnqrSstWwX[22m] [[1m-C [4m[22mdirectory[24m] [[1m-D [4m[22mvariab… 8 …[[1m-f [4m[22mmakefile[24m] [[1m-I [4m[22mdirectory[24m] [[1m-J [4m[22mprivate[24m] [… 9 …[[1m-m [4m[22mdirectory[24m] [[1m-T [4m[22mfile[24m] [[1m-V [4m[22mvariable[24m] [[1m… 36 [1m-C [4m[22m/etc[24m. 41 [1m-d [22m[[1m-[22m][4mflags[0m 506 …The shorter forms (`[4m>[24m', `[4m![24m', `[4m<[24m', `[4m%[24m', `[4m?[24m', `[4m*[2… 817 [1m${[4m[22mvariable[24m[[1m:[4m[22mmodifier[24m[[1m:[22m...]][1m}[0m 826 …[1m${[4m[22mvariable[24m[1m:${[4m[22mmodifier_variable[24m[1m}[22m[[1m:[22m...][1m}[… 1008 [1m:@[4m[22mvarname[24m[1m@[4m[22mstring[24m[1m@[0m 1052 [1m:![4m[22mcmd[24m[1m![0m [all …]
|
/dragonfly/crypto/openssh/ |
H A D | monitor_wrap.c | 198 sshbuf_reset(m); in mm_request_receive() 256 sshbuf_free(m); in mm_choose_dh() 287 sshbuf_free(m); in mm_sshkey_sign() 401 sshbuf_free(m); in mm_getpwnamallow() 424 sshbuf_free(m); in mm_auth2_read_banner() 452 sshbuf_free(m); in mm_inform_authserv() 487 sshbuf_free(m); in mm_auth_password() 541 sshbuf_free(m); in mm_key_allowed() 601 sshbuf_free(m); in mm_sshkey_verify() 620 sshbuf_free(m); in mm_send_keystate() [all …]
|
/dragonfly/contrib/nvi2/regex/ |
H A D | engine.c | 197 endp = slow(m, m->coldp, stop, gf, gl); in matcher() 200 assert(m->coldp < m->endp); in matcher() 215 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher() 218 dp = dissect(m, m->coldp, endp, gf, gl); in matcher() 241 endp = slow(m, m->coldp, endp-1, gf, gl); in matcher() 266 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 453 m->pmatch[i].rm_so = sp - m->offp; in dissect() 458 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 592 ssp = m->offp + m->pmatch[i].rm_so; in backref() 647 m->pmatch[i].rm_so = sp - m->offp; in backref() [all …]
|
/dragonfly/contrib/less/ |
H A D | mark.c | 130 struct mark *m; in getmark() local 139 m = &sm; in getmark() 151 m = &sm; in getmark() 158 m = &sm; in getmark() 160 cmark(m, curr_ifile, m->m_scrpos.pos, m->m_scrpos.ln); in getmark() 182 return (m); in getmark() 202 if (m == NULL) in setmark() 222 if (m == NULL) in clrmark() 258 if (m == NULL) in gomark() 298 if (m == NULL) in markpos() [all …]
|
/dragonfly/sys/net/ |
H A D | if_ethersubr.c | 411 m_freem(m); in ether_output() 569 m = ip_fw_dn_io_ptr(m, args.cookie, in ether_ipfw_chk() 929 m = m->m_next; in altq_etherclassify() 978 *m0 = m; in ether_restore_header() 1104 m_freem(m); in ether_demux_oncpu() 1183 m_freem(m); in ether_demux_oncpu() 1223 m_freem(m); in ether_input_oncpu() 1252 m = bridge_input_p(ifp, m); in ether_input_oncpu() 1264 m = carp_input(carp, m); in ether_input_oncpu() 1374 *m0 = m; in ether_vlancheck() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/eap_server/ |
H A D | eap_server_methods.c | 28 for (m = eap_methods; m; m = m->next) { in eap_server_get_eap_method() 29 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method() 30 return m; in eap_server_get_eap_method() 48 for (m = eap_methods; m; m = m->next) { in eap_server_get_type() 51 return m->method; in eap_server_get_type() 116 for (m = eap_methods; m; m = m->next) { in eap_server_method_register() 123 last = m; in eap_server_method_register() 149 if (m->free) in eap_server_unregister_methods() 150 m->free(m); in eap_server_unregister_methods() 171 for (m = eap_methods; m; m = m->next) { in eap_server_get_name() [all …]
|
/dragonfly/test/stress/stress2/misc/ |
H A D | backingstore.sh | 40 m=$mdstart 43 mdconfig -l | grep -q md$m && mdconfig -d -u $m 45 dede $D$m 100m 1 || exit 1 47 mdconfig -a -t vnode -f $D$m -u $m 51 mount $opt /dev/md${m}${part} ${mntpoint}$m 53 n=$m 54 m=$((m + 1)) 57 mdconfig -l | grep -q md$m && mdconfig -d -u $m 64 mount $opt /dev/md${m}${part} ${mntpoint}$m 73 mdconfig -l | grep -q md$m && mdconfig -d -u $m [all …]
|
/dragonfly/test/debug/ |
H A D | vmpqinactive.c | 216 if (m.dirty || m.wire_count || m.busy_count || m.hold_count || in main() 266 if (m.object && m.object != kernel_object_ptr) { in main() 282 m.object, in main() 285 m.valid, in main() 286 m.dirty, in main() 289 m.act_count, in main() 343 else if (m.queue - m.pc != PQ_FREE) in main() 460 kkread(kd, (u_long)mptr, &m, sizeof(m)); in main() 463 hv = ((uintptr_t)m.object + m.pindex) ^ obj.hash_rand; in main() 537 *m = vpcache[(addr - vpbeg) / sizeof(*m)]; in kkread_vmpage() [all …]
|
H A D | vmpageinfo.c | 246 if (m.object && m.object != kernel_object_ptr) { in main() 263 m.object, in main() 266 m.valid, in main() 267 m.dirty, in main() 268 m.hold_count, in main() 270 m.act_count, in main() 324 else if (m.queue - m.pc != PQ_FREE) in main() 430 kkread(kd, (u_long)mptr, &m, sizeof(m)); in main() 433 hv = ((uintptr_t)m.object + m.pindex) ^ obj.hash_rand; in main() 505 *m = vpcache[(addr - vpbeg) / sizeof(*m)]; in kkread_vmpage() [all …]
|
/dragonfly/share/misc/ |
H A D | eqnchar | 10 tdefine =dot % "\z\(eq\v'-.6m'\h'.2m'\s+2.\s-2\v'.6m'\h'.1m'" % 12 tdefine orsign % "\s-2\v'-.15m'\z\e\e\h'-.05m'\z\(sl\(sl\v'.15m'\s+2" % 14 tdefine andsign % "\s-2\v'-.15m'\z\(sl\(sl\h'-.05m'\z\e\e\v'.15m'\s+2" % 16 tdefine =del % "\v'.3m'\z=\v'-.6m'\h'.3m'\s-1\(*D\s+1\v'.3m'" % 18 tdefine oppA % "\s-2\v'-.15m'\z\e\e\h'-.05m'\z\(sl\(sl\v'-.15m'\h'-.75m'\z-\z-\h'.2m'\z-\z-\v'.3m'\… 20 tdefine oppE %"\s-3\v'.2m'\z\(em\v'-.5m'\z\(em\v'-.5m'\z\(em\v'.55m'\h'.9m'\z\(br\z\(br\v'.25m'\s+3… 22 tdefine incl % "\s-1\z\(or\h'-.1m'\v'-.45m'\z\(em\v'.7m'\z\(em\v'.2m'\(em\v'-.45m'\s+1" % 26 tdefine angstrom % "\fR\zA\v'-.3m'\h'.2m'\(de\v'.3m'\fP\h'.2m'" % 39 tdefine hbar % "\zh\v'-.6m'\h'.05m'\(ru\v'.6m'" % 45 tdefine <=> % "\s-2\z<\v'.05m'\h'.2m'\z=\h'.55m'=\h'-.6m'\v'-.05m'>\s+2" % [all …]
|