Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 3764) sorted by relevance

12345678910>>...151

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_archive_match_path.c32 struct archive *m; in test_exclusion_mbs()
34 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_mbs()
37 archive_match_free(m); in test_exclusion_mbs()
42 assertEqualIntA(m, 0, archive_match_exclude_pattern(m, "^aa*")); in test_exclusion_mbs()
47 assertEqualInt(1, archive_match_path_excluded(m, ae)); in test_exclusion_mbs()
48 assertEqualInt(1, archive_match_excluded(m, ae)); in test_exclusion_mbs()
52 assertEqualInt(1, archive_match_path_excluded(m, ae)); in test_exclusion_mbs()
53 assertEqualInt(1, archive_match_excluded(m, ae)); in test_exclusion_mbs()
58 assertEqualInt(0, archive_match_path_excluded(m, a in test_exclusion_mbs()
33 struct archive *m; test_exclusion_mbs() local
76 struct archive *m; test_exclusion_wcs() local
116 exclusion_from_file(struct archive * m) exclusion_from_file() argument
176 struct archive *m; test_exclusion_from_file_mbs() local
201 struct archive *m; test_exclusion_from_file_wcs() local
227 struct archive *m; test_inclusion_mbs() local
276 struct archive *m; test_inclusion_wcs() local
324 struct archive *m; test_inclusion_from_file_mbs() local
348 struct archive *m; test_inclusion_from_file_wcs() local
375 struct archive *m; test_exclusion_and_inclusion() local
[all...]
H A Dtest_archive_match_owner.c32 struct archive *m; in test_uid()
34 if (!assert((m = archive_match_new()) != NULL)) in test_uid()
37 archive_match_free(m); in test_uid()
41 assertEqualIntA(m, 0, archive_match_include_uid(m, 1000)); in test_uid()
42 assertEqualIntA(m, 0, archive_match_include_uid(m, 1002)); in test_uid()
46 assertEqualInt(1, archive_match_owner_excluded(m, ae)); in test_uid()
47 assertEqualInt(1, archive_match_excluded(m, ae)); in test_uid()
50 assertEqualInt(0, archive_match_owner_excluded(m, a in test_uid()
33 struct archive *m; test_uid() local
75 struct archive *m; test_gid() local
117 struct archive *m; test_uname_mbs() local
159 struct archive *m; test_uname_wcs() local
201 struct archive *m; test_gname_mbs() local
243 struct archive *m; test_gname_wcs() local
[all...]
H A Dtest_archive_match_time.c35 struct archive *m; in test_newer_time() local
37 if (!assert((m = archive_match_new()) != NULL)) in test_newer_time()
40 archive_match_free(m); in test_newer_time()
44 assertEqualIntA(m, 0, archive_match_include_time(m, in test_newer_time()
52 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time()
53 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time()
57 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time()
58 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time()
63 assertEqualInt(0, archive_match_time_excluded(m, ae)); in test_newer_time()
64 assertEqualInt(0, archive_match_excluded(m, ae)); in test_newer_time()
[all …]
/freebsd/sys/dev/sound/midi/
H A Dmidi.c125 struct snd_midi *m; member
295 struct snd_midi *m; in midi_init() local
307 TAILQ_FOREACH(m, &midi_devs, link) { in midi_init()
308 mtx_lock(&m->lock); in midi_init()
310 if (m->unit == unit && m->channel == channel) { in midi_init()
311 mtx_unlock(&m->lock); in midi_init()
318 if (m->unit > i) in midi_init()
319 i = m->unit; in midi_init()
321 mtx_unlock(&m->lock); in midi_init()
328 m = malloc(sizeof(*m), M_MIDI, M_WAITOK | M_ZERO); in midi_init()
[all …]
H A Dmpu401.c68 #define CMD(m,d) MPUFOI_WRITE(m, m->cookie, MPU_CMDPORT,d) argument
69 #define STATUS(m) MPUFOI_READ(m, m->cookie, MPU_STATPORT) argument
70 #define READ(m) MPUFOI_READ(m, m->cookie, MPU_DATAPORT) argument
71 #define WRITE(m, argument
111 struct mpu401 *m = (struct mpu401 *)a; mpu401_timeout() local
118 mpu401_intr(struct mpu401 * m) mpu401_intr() argument
128 RXRDY(m) mpu401_intr() argument
129 TXRDY(m) mpu401_intr() argument
177 struct mpu401 *m; mpu401_init() local
205 mpu401_uninit(struct mpu401 * m) mpu401_uninit() argument
220 struct mpu401 *m = arg; mpu401_minit() local
244 struct mpu401 *m = arg; mpu401_muninit() local
264 struct mpu401 *m = arg; mpu401_mcallback() local
293 mpu401_mprovider(struct snd_midi * m,void * arg) mpu401_mprovider() argument
[all...]
/freebsd/contrib/bsddialog/lib/
H A Dmenubox.c89 build_privatemenu(struct bsddialog_conf *conf, struct privatemenu *m, in build_privatemenu() argument
102 m->nitems = 0; in build_privatemenu()
105 m->nitems += (int)groups[i].nitems; in build_privatemenu()
109 m->pritems = calloc(m->nitems, sizeof (struct privateitem)); in build_privatemenu()
110 if (m->pritems == NULL) in build_privatemenu()
112 m->hasbottomdesc = false; in build_privatemenu()
118 pritem = &m->pritems[abs]; in build_privatemenu()
121 m->pritems[abs].on = false; in build_privatemenu()
123 m in build_privatemenu()
181 set_return_on(struct privatemenu * m,struct bsddialog_menugroup * groups) set_return_on() argument
299 drawseparators(struct bsddialog_conf * conf,struct privatemenu * m) drawseparators() argument
330 drawitem(struct bsddialog_conf * conf,struct privatemenu * m,int y,bool focus) drawitem() argument
397 update_menubox(struct bsddialog_conf * conf,struct privatemenu * m) update_menubox() argument
420 menu_size_position(struct dialog * d,struct privatemenu * m) menu_size_position() argument
457 mixedlist_redraw(struct dialog * d,struct privatemenu * m) mixedlist_redraw() argument
509 struct privatemenu m; do_mixedlist() local
[all...]
/freebsd/sys/vm/
H A Dvm_page.c167 static void vm_page_alloc_check(vm_page_t m);
169 static bool _vm_page_busy_sleep(vm_object_t obj, vm_page_t m,
171 static void vm_page_clear_dirty_mask(vm_page_t m, vm_page_bits_t pagebits);
172 static void vm_page_enqueue(vm_page_t m, uint8_t queue);
173 static bool vm_page_free_prep(vm_page_t m);
174 static void vm_page_free_toq(vm_page_t m);
176 static int vm_page_insert_after(vm_page_t m, vm_object_t object,
178 static void vm_page_insert_radixdone(vm_page_t m, vm_object_t object,
180 static void vm_page_mvqueue(vm_page_t m, const uint8_t queue,
184 static void vm_page_release_toq(vm_page_t m, uint8_
332 vm_page_t m; vm_page_blacklist_add() local
406 vm_page_t m; sysctl_vm_page_blacklist() local
504 vm_page_init_page(vm_page_t m,vm_paddr_t pa,int segind,int pool) vm_page_init_page() argument
558 vm_page_t m; vm_page_startup() local
878 vm_page_reference(vm_page_t m) vm_page_reference() argument
892 vm_page_trybusy(vm_page_t m,int allocflags) vm_page_trybusy() argument
909 vm_page_tryacquire(vm_page_t m,int allocflags) vm_page_tryacquire() argument
926 vm_page_busy_acquire(vm_page_t m,int allocflags) vm_page_busy_acquire() argument
966 vm_page_busy_downgrade(vm_page_t m) vm_page_busy_downgrade() argument
989 vm_page_busy_tryupgrade(vm_page_t m) vm_page_busy_tryupgrade() argument
1015 vm_page_sbusied(vm_page_t m) vm_page_sbusied() argument
1029 vm_page_sunbusy(vm_page_t m) vm_page_sunbusy() argument
1071 vm_page_busy_sleep(vm_page_t m,const char * wmesg,int allocflags) vm_page_busy_sleep() argument
1095 vm_page_busy_sleep_unlocked(vm_object_t obj,vm_page_t m,vm_pindex_t pindex,const char * wmesg,int allocflags) vm_page_busy_sleep_unlocked() argument
1116 _vm_page_busy_sleep(vm_object_t obj,vm_page_t m,vm_pindex_t pindex,const char * wmesg,int allocflags,bool locked) _vm_page_busy_sleep() argument
1170 vm_page_trysbusy(vm_page_t m) vm_page_trysbusy() argument
1208 vm_page_tryxbusy(vm_page_t m) vm_page_tryxbusy() argument
1225 vm_page_xunbusy_hard_tail(vm_page_t m) vm_page_xunbusy_hard_tail() argument
1238 vm_page_xunbusy_hard(vm_page_t m) vm_page_xunbusy_hard() argument
1245 vm_page_xunbusy_hard_unchecked(vm_page_t m) vm_page_xunbusy_hard_unchecked() argument
1252 vm_page_busy_free(vm_page_t m) vm_page_busy_free() argument
1280 vm_page_t m; PHYS_TO_VM_PAGE() local
1311 vm_page_t m; vm_page_getfake() local
1319 vm_page_initfake(vm_page_t m,vm_paddr_t paddr,vm_memattr_t memattr) vm_page_initfake() argument
1350 vm_page_putfake(vm_page_t m) vm_page_putfake() argument
1368 vm_page_updatefake(vm_page_t m,vm_paddr_t paddr,vm_memattr_t memattr) vm_page_updatefake() argument
1383 vm_page_free(vm_page_t m) vm_page_free() argument
1396 vm_page_free_zero(vm_page_t m) vm_page_free_zero() argument
1408 vm_page_readahead_finish(vm_page_t m) vm_page_readahead_finish() argument
1432 vm_page_free_invalid(vm_page_t m) vm_page_free_invalid() argument
1470 vm_page_dirty_KBI(vm_page_t m) vm_page_dirty_KBI() argument
1490 vm_page_insert_lookup(vm_page_t m,vm_object_t object,vm_pindex_t pindex,struct pctrie_iter * pages,bool iter,vm_page_t mpred,bool lookup) vm_page_insert_lookup() argument
1540 vm_page_insert(vm_page_t m,vm_object_t object,vm_pindex_t pindex) vm_page_insert() argument
1557 vm_page_insert_after(vm_page_t m,vm_object_t object,vm_pindex_t pindex,vm_page_t mpred) vm_page_insert_after() argument
1577 vm_page_iter_insert(struct pctrie_iter * pages,vm_page_t m,vm_object_t object,vm_pindex_t pindex,vm_page_t mpred) vm_page_iter_insert() argument
1596 vm_page_insert_radixdone(vm_page_t m,vm_object_t object,vm_page_t mpred) vm_page_insert_radixdone() argument
1652 vm_page_remove_radixdone(vm_page_t m) vm_page_remove_radixdone() argument
1694 vm_page_free_object_prep(vm_page_t m) vm_page_free_object_prep() argument
1721 vm_page_iter_free(struct pctrie_iter * pages,vm_page_t m) vm_page_iter_free() argument
1743 vm_page_remove(vm_page_t m) vm_page_remove() argument
1760 vm_page_iter_remove(struct pctrie_iter * pages,vm_page_t m) vm_page_iter_remove() argument
1778 vm_page_radix_remove(vm_page_t m) vm_page_radix_remove() argument
1794 vm_page_remove_xbusy(vm_page_t m) vm_page_remove_xbusy() argument
1882 vm_page_t m; vm_page_relookup() local
1898 vm_page_busy_release(vm_page_t m) vm_page_busy_release() argument
1934 vm_page_t m; vm_page_find_least() local
1965 vm_page_next(vm_page_t m) vm_page_next() argument
1985 vm_page_prev(vm_page_t m) vm_page_prev() argument
2089 vm_page_iter_rename(struct pctrie_iter * old_pages,vm_page_t m,vm_object_t new_object,vm_pindex_t new_pindex) vm_page_iter_rename() argument
2183 vm_page_t m; vm_page_alloc_after() local
2255 vm_page_t m; vm_page_alloc_domain_after() local
2426 vm_page_t m; vm_page_alloc_contig() local
2493 vm_page_t m, m_ret, mpred; vm_page_alloc_contig_domain() local
2599 vm_page_t m; vm_page_alloc_noobj_domain() local
2690 vm_page_t m; vm_page_alloc_nofree_domain() local
2725 vm_page_t m; vm_page_alloc_noobj() local
2744 vm_page_t m; vm_page_alloc_noobj_contig() local
2763 vm_page_t m, m_ret; vm_page_alloc_noobj_contig_domain() local
2825 vm_page_alloc_check(vm_page_t m) vm_page_alloc_check() argument
2876 vm_page_t m; vm_page_zone_release() local
2918 vm_page_t m, m_run; vm_page_scan_contig() local
3094 vm_page_t m, m_end, m_new; vm_page_reclaim_run() local
3753 _vm_page_pagequeue(vm_page_t m,uint8_t queue) _vm_page_pagequeue() argument
3761 vm_page_pagequeue(vm_page_t m) vm_page_pagequeue() argument
3769 vm_page_pqstate_fcmpset(vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) vm_page_pqstate_fcmpset() argument
3788 _vm_page_pqstate_commit_dequeue(struct vm_pagequeue * pq,vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) _vm_page_pqstate_commit_dequeue() argument
3829 vm_page_pqstate_commit_dequeue(vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) vm_page_pqstate_commit_dequeue() argument
3858 _vm_page_pqstate_commit_requeue(struct vm_pagequeue * pq,vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) _vm_page_pqstate_commit_requeue() argument
3898 vm_page_pqstate_commit_request(vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) vm_page_pqstate_commit_request() argument
3918 vm_page_pqstate_commit(vm_page_t m,vm_page_astate_t * old,vm_page_astate_t new) vm_page_pqstate_commit() argument
3943 vm_pqbatch_process_page(struct vm_pagequeue * pq,vm_page_t m,uint8_t queue) vm_pqbatch_process_page() argument
4002 vm_page_pqbatch_submit(vm_page_t m,uint8_t queue) vm_page_pqbatch_submit() argument
4089 vm_page_dequeue_deferred(vm_page_t m) vm_page_dequeue_deferred() argument
4113 vm_page_dequeue(vm_page_t m) vm_page_dequeue() argument
4137 vm_page_enqueue(vm_page_t m,uint8_t queue) vm_page_enqueue() argument
4164 vm_page_free_prep(vm_page_t m) vm_page_free_prep() argument
4259 vm_page_free_toq(vm_page_t m) vm_page_free_toq() argument
4289 vm_page_t m; vm_page_free_pages_toq() local
4312 vm_page_wire(vm_page_t m) vm_page_wire() argument
4343 vm_page_wire_mapped(vm_page_t m) vm_page_wire_mapped() argument
4369 vm_page_unwire_managed(vm_page_t m,uint8_t nqueue,bool noreuse) vm_page_unwire_managed() argument
4429 vm_page_unwire(vm_page_t m,uint8_t nqueue) vm_page_unwire() argument
4451 vm_page_unwire_noq(vm_page_t m) vm_page_unwire_noq() argument
4475 vm_page_mvqueue(vm_page_t m,const uint8_t nqueue,const uint16_t nflag) vm_page_mvqueue() argument
4514 vm_page_activate(vm_page_t m) vm_page_activate() argument
4525 vm_page_deactivate(vm_page_t m) vm_page_deactivate() argument
4532 vm_page_deactivate_noreuse(vm_page_t m) vm_page_deactivate_noreuse() argument
4542 vm_page_launder(vm_page_t m) vm_page_launder() argument
4552 vm_page_unswappable(vm_page_t m) vm_page_unswappable() argument
4567 vm_page_release_toq(vm_page_t m,uint8_t nqueue,const bool noreuse) vm_page_release_toq() argument
4613 vm_page_release(vm_page_t m,int flags) vm_page_release() argument
4641 vm_page_release_locked(vm_page_t m,int flags) vm_page_release_locked() argument
4669 vm_page_try_blocked_op(vm_page_t m,void (* op)(vm_page_t)) vm_page_try_blocked_op() argument
4707 vm_page_try_remove_all(vm_page_t m) vm_page_try_remove_all() argument
4717 vm_page_try_remove_write(vm_page_t m) vm_page_try_remove_write() argument
4729 vm_page_advise(vm_page_t m,int advice) vm_page_advise() argument
4776 vm_page_grab_release(vm_page_t m,int allocflags) vm_page_grab_release() argument
4798 vm_page_grab_sleep(vm_object_t object,vm_page_t m,vm_pindex_t pindex,const char * wmesg,int allocflags,bool locked) vm_page_grab_sleep() argument
4870 vm_page_t m; vm_page_grab() local
4917 vm_page_acquire_unlocked(vm_object_t object,vm_pindex_t pindex,vm_page_t m,int allocflags) vm_page_acquire_unlocked() argument
4949 vm_page_t m; vm_page_grab_unlocked() local
4984 vm_page_t m; vm_page_grab_valid() local
5095 vm_page_t m; vm_page_grab_valid_unlocked() local
5167 vm_page_t m, mpred; vm_page_grab_pages() local
5228 vm_page_t m; vm_page_grab_pages_unlocked() local
5309 vm_page_bits_set(vm_page_t m,vm_page_bits_t * bits,vm_page_bits_t set) vm_page_bits_set() argument
5342 vm_page_bits_clear(vm_page_t m,vm_page_bits_t * bits,vm_page_bits_t clear) vm_page_bits_clear() argument
5375 vm_page_bits_swap(vm_page_t m,vm_page_bits_t * bits,vm_page_bits_t newbits) vm_page_bits_swap() argument
5441 vm_page_set_valid_range(vm_page_t m,int base,int size) vm_page_set_valid_range() argument
5492 vm_page_set_dirty(vm_page_t m) vm_page_set_dirty() argument
5513 vm_page_clear_dirty_mask(vm_page_t m,vm_page_bits_t pagebits) vm_page_clear_dirty_mask() argument
5542 vm_page_set_validclean(vm_page_t m,int base,int size) vm_page_set_validclean() argument
5623 vm_page_clear_dirty(vm_page_t m,int base,int size) vm_page_clear_dirty() argument
5636 vm_page_set_invalid(vm_page_t m,int base,int size) vm_page_set_invalid() argument
5677 vm_page_invalid(vm_page_t m) vm_page_invalid() argument
5702 vm_page_zero_invalid(vm_page_t m,boolean_t setvalid) vm_page_zero_invalid() argument
5745 vm_page_is_valid(vm_page_t m,int base,int size) vm_page_is_valid() argument
5758 vm_page_ps_test(vm_page_t m,int psind,int flags,vm_page_t skip_m) vm_page_ps_test() argument
5805 vm_page_test_dirty(vm_page_t m) vm_page_test_dirty() argument
5814 vm_page_valid(vm_page_t m) vm_page_valid() argument
5825 vm_page_lock_KBI(vm_page_t m,const char * file,int line) vm_page_lock_KBI() argument
5832 vm_page_unlock_KBI(vm_page_t m,const char * file,int line) vm_page_unlock_KBI() argument
5839 vm_page_trylock_KBI(vm_page_t m,const char * file,int line) vm_page_trylock_KBI() argument
5847 vm_page_assert_locked_KBI(vm_page_t m,const char * file,int line) vm_page_assert_locked_KBI() argument
5854 vm_page_lock_assert_KBI(vm_page_t m,int a,const char * file,int line) vm_page_lock_assert_KBI() argument
5863 vm_page_object_busy_assert(vm_page_t m) vm_page_object_busy_assert() argument
5875 vm_page_assert_pga_writeable(vm_page_t m,uint16_t bits) vm_page_assert_pga_writeable() argument
5933 vm_page_t m; DB_SHOW_COMMAND() local
[all...]
H A Dvm_page.h369 #define vm_page_lock(m) vm_page_lock_KBI((m), LOCK_FILE, LOCK_LINE) argument
370 #define vm_page_unlock(m) vm_page_unlock_KBI((m), LOCK_FILE, LOCK_LINE) argument
371 #define vm_page_trylock(m) vm_page_trylock_KBI((m), LOCK_FILE, LOCK_LINE) argument
373 #define vm_page_lockptr(m) (PA_LOCKPTR(VM_PAGE_TO_PHYS((m)))) argument
374 #define vm_page_lock(m) mtx_lock(vm_page_lockptr((m))) argument
375 #define vm_page_unlock(m) mtx_unlock(vm_page_lockptr((m))) argument
376 #define vm_page_trylock(m) mtx_trylock(vm_page_lockptr((m))) argument
379 #define vm_page_assert_locked(m) \ argument
380 vm_page_assert_locked_KBI((m), __FILE__, __LINE__)
381 #define vm_page_lock_assert(m, a) \ argument
[all …]
/freebsd/sys/kern/
H A Duipc_sockbuf.c74 static void sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m,
84 sbm_clrprotoflags(struct mbuf *m, int flags) in sbm_clrprotoflags() argument
91 while (m) { in sbm_clrprotoflags()
92 m->m_flags &= mask; in sbm_clrprotoflags()
93 m = m->m_next; in sbm_clrprotoflags()
109 struct mbuf *m, *n; in sbready_compress() local
117 for (m = m0; m != end; m = m->m_next) { in sbready_compress()
118 MPASS((m->m_flags & M_NOTREADY) == 0); in sbready_compress()
127 n = m->m_next; in sbready_compress()
130 if ((n != NULL) && (n != end) && (m->m_flags & M_EOR) == 0 && in sbready_compress()
[all …]
H A Dkern_mutex.c93 #define mtx_unowned(m) ((m)->mtx_lock == MTX_UNOWNED) argument
95 #define mtx_destroyed(m) ((m)->mtx_lock == MTX_DESTROYED) argument
240 struct mtx *m; in unlock_mtx() local
242 m = (struct mtx *)lock; in unlock_mtx()
243 mtx_assert(m, MA_OWNED | MA_NOTRECURSED); in unlock_mtx()
244 mtx_unlock(m); in unlock_mtx()
251 struct mtx *m; in unlock_spin() local
253 m = (struct mtx *)lock; in unlock_spin()
254 mtx_assert(m, MA_OWNED | MA_NOTRECURSED); in unlock_spin()
255 mtx_unlock_spin(m); in unlock_spin()
[all …]
H A Duipc_mbuf.c238 mb_dupcl(struct mbuf *n, struct mbuf *m) in mb_dupcl() argument
242 KASSERT(m->m_flags & (M_EXT | M_EXTPG), in mb_dupcl()
243 ("%s: M_EXT | M_EXTPG not set on %p", __func__, m)); in mb_dupcl()
259 if (m->m_flags & M_EXTPG) { in mb_dupcl()
260 bcopy(&m->m_epg_startcopy, &n->m_epg_startcopy, in mb_dupcl()
262 bcopy(&m->m_ext, &n->m_ext, m_epg_ext_copylen); in mb_dupcl()
263 } else if (m->m_ext.ext_type == EXT_EXTREF) in mb_dupcl()
264 bcopy(&m->m_ext, &n->m_ext, sizeof(struct m_ext)); in mb_dupcl()
266 bcopy(&m->m_ext, &n->m_ext, m_ext_copylen); in mb_dupcl()
268 n->m_flags |= m->m_flags & (M_RDONLY | M_EXT | M_EXTPG); in mb_dupcl()
[all …]
H A Dkern_mbuf.c438 struct mbuf *m; in dn_buf_import() local
444 m = mbufq_dequeue(q); in dn_buf_import()
445 if (m == NULL) in dn_buf_import()
447 trash_init(m, q == &dn_mbufq ? MSIZE : dn_clsize, flags); in dn_buf_import()
448 store[i] = m; in dn_buf_import()
459 struct mbuf *m; in dn_buf_release() local
465 m = store[i]; in dn_buf_release()
466 (void)mbufq_enqueue(q, m); in dn_buf_release()
474 struct mbuf *m; in dn_pack_import() local
479 m = m_get(M_NOWAIT, MT_DATA); in dn_pack_import()
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Den.h171 #define MLX5E_VPORT_STATS(m) \ argument
173 m(+1, u64, rx_packets, "rx_packets", "Received packets") \
174 m(+1, u64, rx_bytes, "rx_bytes", "Received bytes") \
175 m(+1, u64, tx_packets, "tx_packets", "Transmitted packets") \
176 m(+1, u64, tx_bytes, "tx_bytes", "Transmitted bytes") \
177 m(+1, u64, rx_error_packets, "rx_error_packets", "Received error packets") \
178 m(+1, u64, rx_error_bytes, "rx_error_bytes", "Received error bytes") \
179 m(+1, u64, tx_error_packets, "tx_error_packets", "Transmitted error packets") \
180 m(+1, u64, tx_error_bytes, "tx_error_bytes", "Transmitted error bytes") \
181 m(+1, u64, rx_unicast_packets, "rx_unicast_packets", "Received unicast packets") \
[all …]
/freebsd/sys/dev/mlx5/
H A Ddiagnostics.h40 #define MLX5_CORE_PCI_DIAGNOSTICS(m) \ argument
41 m(+1, pxd_ready_bp, 0x0401) \
42 m(+1, pci_write_bp, 0x0402) \
43 m(+1, pci_read_bp, 0x0403) \
44 m(+1, pci_read_stuck_no_completion_buffer, 0x0404) \
45 m(+1, max_pci_bw, 0x0405) \
46 m(+1, used_pci_bw, 0x0406) \
47 m(+1, rx_pci_errors, 0) \
48 m(+1, tx_pci_errors, 0) \
49 m(+1, tx_pci_correctable_errors, 0) \
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-function-mocker.h357 #define MOCK_METHOD0(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 0, __VA_ARGS__) argument
358 #define MOCK_METHOD1(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 1, __VA_ARGS__) argument
359 #define MOCK_METHOD2(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 2, __VA_ARGS__) argument
360 #define MOCK_METHOD3(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 3, __VA_ARGS__) argument
361 #define MOCK_METHOD4(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 4, __VA_ARGS__) argument
362 #define MOCK_METHOD5(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 5, __VA_ARGS__) argument
363 #define MOCK_METHOD6(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 6, __VA_ARGS__) argument
364 #define MOCK_METHOD7(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 7, __VA_ARGS__) argument
365 #define MOCK_METHOD8(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 8, __VA_ARGS__) argument
366 #define MOCK_METHOD9(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 9, __VA_ARGS__) argument
[all …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_methods.c33 struct eap_method *m; in eap_peer_get_eap_method() local
34 for (m = eap_methods; m; m = m->next) { in eap_peer_get_eap_method()
35 if (m->vendor == vendor && m->method == method) in eap_peer_get_eap_method()
36 return m; in eap_peer_get_eap_method()
53 struct eap_method *m; in eap_peer_get_type() local
54 for (m = eap_methods; m; m = m->next) { in eap_peer_get_type()
55 if (os_strcmp(m->name, name) == 0) { in eap_peer_get_type()
56 *vendor = m->vendor; in eap_peer_get_type()
57 return m->method; in eap_peer_get_type()
76 struct eap_method *m; in eap_get_name() local
[all …]
/freebsd/sys/crypto/
H A Dsha1.c69 #define W(n) (ctxt->m.b32[(n)])
72 ctxt->m.b8[(COUNT % 64)] = (x); \
81 ctxt->m.b8[(COUNT % 64)] = (x); \
99 bcopy(&ctxt->m.b8[0], &tctxt.m.b8[0], 64); in sha1_step()
100 ctxt->m.b8[0] = tctxt.m.b8[3]; ctxt->m.b8[1] = tctxt.m.b8[2]; in sha1_step()
101 ctxt->m.b8[2] = tctxt.m.b8[1]; ctxt->m.b8[3] = tctxt.m.b8[0]; in sha1_step()
102 ctxt->m.b8[4] = tctxt.m.b8[7]; ctxt->m.b8[5] = tctxt.m.b8[6]; in sha1_step()
103 ctxt->m.b8[6] = tctxt.m.b8[5]; ctxt->m.b8[7] = tctxt.m.b8[4]; in sha1_step()
104 ctxt->m.b8[8] = tctxt.m.b8[11]; ctxt->m.b8[9] = tctxt.m.b8[10]; in sha1_step()
105 ctxt->m.b8[10] = tctxt.m.b8[9]; ctxt->m.b8[11] = tctxt.m.b8[8]; in sha1_step()
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_mutex.c81 static int mutex_qidx(struct pthread_mutex *m);
82 static bool is_robust_mutex(struct pthread_mutex *m);
83 static bool is_pshared_mutex(struct pthread_mutex *m);
120 mutex_init_link(struct pthread_mutex *m __unused) in mutex_init_link()
124 m->m_qe.tqe_prev = NULL; in mutex_init_link()
125 m->m_qe.tqe_next = NULL; in mutex_init_link()
126 m->m_pqe.tqe_prev = NULL; in mutex_init_link()
127 m->m_pqe.tqe_next = NULL; in mutex_init_link()
132 mutex_assert_is_owned(struct pthread_mutex *m __unused) in mutex_assert_is_owned()
136 if (__predict_false(m->m_qe.tqe_prev == NULL)) in mutex_assert_is_owned()
[all …]
/freebsd/crypto/openssh/
H A Dmonitor_wrap.c123 mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_send() argument
125 size_t mlen = sshbuf_len(m); in mm_request_send()
136 if (atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) in mm_request_send()
141 mm_request_receive(int sock, struct sshbuf *m) in mm_request_receive() argument
157 sshbuf_reset(m); in mm_request_receive()
158 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) in mm_request_receive()
165 mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_receive_expect() argument
172 mm_request_receive(sock, m); in mm_request_receive_expect()
173 if ((r = sshbuf_get_u8(m, &rtype)) != 0) in mm_request_receive_expect()
186 struct sshbuf *m; in mm_choose_dh() local
[all …]
/freebsd/lib/libmixer/
H A Dmixer.c67 struct mixer *m = NULL; in mixer_open() local
72 if ((m = calloc(1, sizeof(struct mixer))) == NULL) in mixer_open()
78 m->unit = -1; in mixer_open()
83 m->unit = strtol(name + strlen(BASEPATH), NULL, 10); in mixer_open()
85 (void)strlcpy(m->name, name, sizeof(m->name)); in mixer_open()
88 if ((m->unit = mixer_get_dunit()) < 0) in mixer_open()
90 (void)snprintf(m->name, sizeof(m->name), BASEPATH "%d", m->unit); in mixer_open()
93 if ((m->fd = open(m->name, O_RDWR)) < 0) in mixer_open()
96 m->devmask = m->recmask = m->recsrc = 0; in mixer_open()
97 m->f_default = m->unit == mixer_get_dunit(); in mixer_open()
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dmixer.c143 mixer_set_softpcmvol(struct snd_mixer *m, struct snddev_info *d, in mixer_set_softpcmvol() argument
152 if (mtx_owned(m->lock)) in mixer_set_softpcmvol()
169 MIXER_SET_UNLOCK(m, dropmtx); in mixer_set_softpcmvol()
182 MIXER_SET_LOCK(m, dropmtx); in mixer_set_softpcmvol()
188 mixer_set_eq(struct snd_mixer *m, struct snddev_info *d, in mixer_set_eq() argument
205 if (mtx_owned(m->lock)) in mixer_set_eq()
222 MIXER_SET_UNLOCK(m, dropmtx); in mixer_set_eq()
234 MIXER_SET_LOCK(m, dropmtx); in mixer_set_eq()
240 mixer_set(struct snd_mixer *m, u_int dev, u_int32_t muted, u_int lev) in mixer_set() argument
248 if (m == NULL || dev >= SOUND_MIXER_NRDEVICES || in mixer_set()
[all …]
/freebsd/sys/sys/
H A Dmbuf.h108 #define mtod(m, t) ((t)((m)->m_data)) argument
109 #define mtodo(m, o) ((void *)(((m)->m_data) + (o))) argument
415 m_epg_pagelen(const struct mbuf *m, int pidx, int pgoff) in m_epg_pagelen() argument
419 ("page %d with non-zero offset %d in %p", pidx, pgoff, m)); in m_epg_pagelen()
421 if (pidx == m->m_epg_npgs - 1) { in m_epg_pagelen()
422 return (m->m_epg_last_len); in m_epg_pagelen()
431 m, __FILE__, __LINE__))
436 #define MBUF_EXT_PGS_ASSERT_SANITY(m) do { \ argument
437 MCHECK(m->m_epg_npgs > 0, "no valid pages"); \
438 MCHECK(m->m_epg_npgs <= nitems(m->m_epg_pa), \
[all …]
/freebsd/tools/test/stress2/misc/
H A Dbackingstore.sh38 m=$mdstart
40 mount | grep "$mntpoint" | grep -q md$m && umount $mntpoint$m
41 mdconfig -l | grep -q md$m && mdconfig -d -u $m
43 dd if=/dev/zero of=$D$m bs=100m count=1 status=none || exit 1
45 mdconfig -a -t vnode -f $D$m -u $m
47 newfs md${m} > /dev/null 2>&1
48 [ -d $mntpoint$m ] || mkdir -p $mntpoint$m
49 mount $opt /dev/md$m $mntpoint$m
51 n=$m
52 m=$((m + 1))
[all …]
/freebsd/contrib/less/
H A Dmark.c52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument
54 m->m_ifile = ifile; in cmark()
55 m->m_scrpos.pos = pos; in cmark()
56 m->m_scrpos.ln = ln; in cmark()
57 if (m->m_filename != NULL) in cmark()
59 free(m->m_filename); in cmark()
60 m->m_filename = NULL; in cmark()
86 static void mark_set_ifile(struct mark *m, IFILE ifile) in mark_set_ifile() argument
88 m->m_ifile = ifile; in mark_set_ifile()
90 free(m in mark_set_ifile()
97 mark_get_ifile(struct mark * m) mark_get_ifile() argument
130 struct mark *m; getmark() local
198 struct mark *m; setmark() local
219 struct mark *m; clrmark() local
254 struct mark *m; gomark() local
295 struct mark *m; markpos() local
352 struct mark *m = &amp;marks[i]; mark_check_ifile() local
380 struct mark *m = &amp;marks[i]; save_marks() local
399 struct mark *m; restore_mark() local
[all...]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_methods.c28 struct eap_method *m; in eap_server_get_eap_method() local
29 for (m = eap_methods; m; m = m->next) { in eap_server_get_eap_method()
30 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method()
31 return m; in eap_server_get_eap_method()
48 struct eap_method *m; in eap_server_get_type() local
49 for (m = eap_methods; m; m = m->next) { in eap_server_get_type()
50 if (os_strcmp(m->name, name) == 0) { in eap_server_get_type()
51 *vendor = m->vendor; in eap_server_get_type()
52 return m->method; in eap_server_get_type()
110 struct eap_method *m, *last = NULL; in eap_server_method_register() local
[all …]

12345678910>>...151