/freebsd/contrib/diff/lib/ |
H A D | file-type.h | 52 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 54 # define S_ISBLK(m) 0 argument 60 # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 62 # define S_ISCHR(m) 0 argument 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 70 # define S_ISDIR(m) 0 argument 76 # define S_ISDOOR(m) (((m) & S_IFMT) == S_IFDOOR) argument 78 # define S_ISDOOR(m) 0 argument 84 # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 86 # define S_ISFIFO(m) 0 argument [all …]
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-function-mocker.h | 357 #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/sys/sys/ |
H A D | mutex.h | 168 #define mtx_init(m, n, t, o) \ argument 170 #define mtx_destroy(m) \ argument 172 #define mtx_trylock_flags_(m, o, f, l) \ argument 175 #define _mtx_lock_sleep(m, v, o, f, l) \ argument 177 #define _mtx_unlock_sleep(m, v, o, f, l) \ argument 180 #define _mtx_lock_sleep(m, v, o, f, l) \ argument 182 #define _mtx_unlock_sleep(m, v, o, f, l) \ argument 187 #define _mtx_lock_spin(m, v, o, f, l) \ argument 190 #define _mtx_lock_spin(m, v, o, f, l) \ argument 194 #define _mtx_lock_flags(m, o, f, l) \ argument [all …]
|
H A D | mbuf.h | 108 #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() 436 #define MBUF_EXT_PGS_ASSERT_SANITY(m) do { \ argument 457 #define MBUF_EXT_PGS_ASSERT_SANITY(m) do {} while (0) argument 576 #define M_HASHTYPE_CLEAR(m) ((m)->m_pkthdr.rsstype = 0) argument 577 #define M_HASHTYPE_GET(m) ((m)->m_pkthdr.rsstype & ~M_HASHTYPE_INNER) argument 578 #define M_HASHTYPE_SET(m, v) ((m)->m_pkthdr.rsstype = (v)) argument 579 #define M_HASHTYPE_TEST(m, v) (M_HASHTYPE_GET(m) == (v)) argument 580 #define M_HASHTYPE_ISHASH(m) \ argument [all …]
|
/freebsd/sys/vm/ |
H A D | vm_page.c | 332 vm_page_t m; in vm_page_blacklist_add() local 406 vm_page_t m; in sysctl_vm_page_blacklist() local 504 vm_page_init_page(vm_page_t m, vm_paddr_t pa, int segind, int pool) in vm_page_init_page() 558 vm_page_t m; in vm_page_startup() local 878 vm_page_reference(vm_page_t m) in vm_page_reference() 892 vm_page_trybusy(vm_page_t m, int allocflags) in vm_page_trybusy() 909 vm_page_tryacquire(vm_page_t m, int allocflags) in vm_page_tryacquire() 926 vm_page_busy_acquire(vm_page_t m, int allocflags) in vm_page_busy_acquire() 966 vm_page_busy_downgrade(vm_page_t m) in vm_page_busy_downgrade() 989 vm_page_busy_tryupgrade(vm_page_t m) in vm_page_busy_tryupgrade() [all …]
|
H A D | vm_page.h | 369 #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 381 #define vm_page_lock_assert(m, a) \ argument 384 #define vm_page_assert_locked(m) argument [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_match_path.c | 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 D | test_archive_match_time.c | 35 struct archive *m; in test_newer_time() local 87 struct archive *m; in test_newer_time_str() local 175 struct archive *m; in test_newer_time_str_w() local 264 struct archive *m; in test_newer_mtime_than_file_mbs() local 383 struct archive *m; in test_newer_mtime_than_file_wcs() local 502 struct archive *m; in test_older_time() local 554 struct archive *m; in test_older_time_str() local 644 struct archive *m; in test_older_time_str_w() local 735 struct archive *m; in test_older_mtime_than_file_mbs() local 855 struct archive *m; in test_older_mtime_than_file_wcs() local [all …]
|
H A D | test_archive_match_owner.c | 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...] |
/freebsd/sys/net/ |
H A D | ifq.h | 75 #define _IF_ENQUEUE(ifq, m) do { \ argument 85 #define IF_ENQUEUE(ifq, m) do { \ argument 91 #define _IF_PREPEND(ifq, m) do { \ argument 99 #define IF_PREPEND(ifq, m) do { \ argument 105 #define _IF_DEQUEUE(ifq, m) do { \ argument 115 #define IF_DEQUEUE(ifq, m) do { \ argument 121 #define _IF_DEQUEUE_ALL(ifq, m) do { \ argument 127 #define IF_DEQUEUE_ALL(ifq, m) do { \ argument 133 #define _IF_POLL(ifq, m) ((m) = (ifq)->ifq_head) argument 134 #define IF_POLL(ifq, m) _IF_POLL(ifq, m) argument [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_rfc1490.c | 309 struct mbuf *m; in ng_rfc1490_rcvdata() local 389 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 390 mtod(m, u_char *)[1] = NLPID_PPP; in ng_rfc1490_rcvdata() local 398 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 399 mtod(m, u_char *)[1] = NLPID_IP; in ng_rfc1490_rcvdata() local 410 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 411 mtod(m, u_char *)[1] = 0x00; /* PAD */ in ng_rfc1490_rcvdata() local 412 mtod(m, u_char *)[2] = NLPID_SNAP; in ng_rfc1490_rcvdata() local 429 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 430 mtod(m, u_char *)[1] = 0x00; /* pad */ in ng_rfc1490_rcvdata() local [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_mutex.c | 167 is_pshared_mutex(struct pthread_mutex *m) in is_pshared_mutex() 174 is_robust_mutex(struct pthread_mutex *m) in is_robust_mutex() 181 _mutex_enter_robust(struct pthread *curthread, struct pthread_mutex *m) in _mutex_enter_robust() 320 set_inherited_priority(struct pthread *curthread, struct pthread_mutex *m) in set_inherited_priority() 439 struct pthread_mutex *m; in queue_fork() local 464 pthread_mutex_t m, m1; in _thr_mutex_destroy() local 501 mutex_qidx(struct pthread_mutex *m) in mutex_qidx() 522 enqueue_mutex(struct pthread *curthread, struct pthread_mutex *m, in enqueue_mutex() 554 dequeue_mutex(struct pthread *curthread, struct pthread_mutex *m) in dequeue_mutex() 590 check_and_init_mutex(pthread_mutex_t *mutex, struct pthread_mutex **m) in check_and_init_mutex() [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | mixer.c | 143 mixer_set_softpcmvol(struct snd_mixer *m, struct snddev_info *d, in mixer_set_softpcmvol() 188 mixer_set_eq(struct snd_mixer *m, struct snddev_info *d, in mixer_set_eq() 240 mixer_set(struct snd_mixer *m, u_int dev, u_int32_t muted, u_int lev) in mixer_set() 423 mixer_get_recroute(struct snd_mixer *m, int *route) in mixer_get_recroute() 458 mixer_set_recroute(struct snd_mixer *m, int route) in mixer_set_recroute() 482 mix_setdevs(struct snd_mixer *m, u_int32_t v) in mix_setdevs() 522 mix_setrecdevs(struct snd_mixer *m, u_int32_t v) in mix_setrecdevs() 572 mix_setparentchild(struct snd_mixer *m, u_int32_t parent, u_int32_t childs) in mix_setparentchild() 595 mix_setrealdev(struct snd_mixer *m, u_int32_t dev, u_int32_t realdev) in mix_setrealdev() 604 mix_getparent(struct snd_mixer *m, u_int32_t dev) in mix_getparent() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 43 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { in INTERCEPTOR() 49 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { in INTERCEPTOR() 57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() 65 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { in INTERCEPTOR() 71 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { in INTERCEPTOR() 78 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { in INTERCEPTOR() 86 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { in INTERCEPTOR() 94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() 100 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() 106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() [all …]
|
/freebsd/sys/dev/sound/midi/ |
H A D | mpu401.c | 68 #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/googletest/googlemock/test/ |
H A D | gmock-matchers-arithmetic_test.cc | 54 Matcher<const Tuple2&> m = Eq(); in TEST() local 61 Matcher<const Tuple2&> m = Eq(); in TEST() local 68 Matcher<const Tuple2&> m = Ge(); in TEST() local 76 Matcher<const Tuple2&> m = Ge(); in TEST() local 83 Matcher<const Tuple2&> m = Gt(); in TEST() local 91 Matcher<const Tuple2&> m = Gt(); in TEST() local 98 Matcher<const Tuple2&> m = Le(); in TEST() local 106 Matcher<const Tuple2&> m = Le(); in TEST() local 113 Matcher<const Tuple2&> m = Lt(); in TEST() local 121 Matcher<const Tuple2&> m = Lt(); in TEST() local [all …]
|
/freebsd/sys/kern/ |
H A D | kern_mutex.c | 93 #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 251 struct mtx *m; in unlock_spin() local 263 const struct mtx *m; in owner_mtx() local 280 struct mtx *m; in __mtx_lock_flags() local 314 struct mtx *m; in __mtx_unlock_flags() local 340 struct mtx *m; in __mtx_lock_spin_flags() local 381 struct mtx *m; in __mtx_trylock_spin_flags() local 409 struct mtx *m; in __mtx_unlock_spin_flags() local [all …]
|
H A D | uipc_mbuf.c | 238 mb_dupcl(struct mbuf *n, struct mbuf *m) in mb_dupcl() 287 m_demote_pkthdr(struct mbuf *m) in m_demote_pkthdr() 306 struct mbuf *m; in m_demote() local 329 struct mbuf *m; in m_sanity() local 403 m_pkthdr_init(struct mbuf *m, int how) in m_pkthdr_init() 501 m_prepend(struct mbuf *m, int len, int how) in m_prepend() 531 m_copym(struct mbuf *m, int off0, int len, int wait) in m_copym() 604 m_copypacket(struct mbuf *m, int how) in m_copypacket() 651 m_copyfromunmapped(const struct mbuf *m, int off, int len, caddr_t cp) in m_copyfromunmapped() 679 m_copydata(const struct mbuf *m, int off, int len, caddr_t cp) in m_copydata() [all …]
|
/freebsd/crypto/openssh/ |
H A D | monitor_wrap.c | 123 mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_send() 141 mm_request_receive(int sock, struct sshbuf *m) in mm_request_receive() 165 mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_receive_expect() 186 struct sshbuf *m; in mm_choose_dh() local 222 struct sshbuf *m; in mm_sshkey_sign() local 258 struct sshbuf *m; in mm_getpwnamallow() local 353 struct sshbuf *m; in mm_auth2_read_banner() local 383 struct sshbuf *m; in mm_inform_authserv() local 403 struct sshbuf *m; in mm_auth_password() local 456 struct sshbuf *m; in mm_key_allowed() local [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_methods.c | 33 struct eap_method *m; in eap_peer_get_eap_method() local 53 struct eap_method *m; in eap_peer_get_type() local 76 struct eap_method *m; in eap_get_name() local 97 struct eap_method *m; in eap_get_names() local 131 struct eap_method *m; in eap_get_names_as_string_array() local 169 struct eap_method *m; in eap_peer_get_methods() local 236 struct eap_method *m, *prev; in eap_peer_method_unload() local 320 struct eap_method *m, *last = NULL; in eap_peer_method_register() local 355 struct eap_method *m; in eap_peer_unregister_methods() local
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() 33 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_add() 54 const BIGNUM *m) in bn_mod_add_fixed_top() 105 const BIGNUM *m) in BN_mod_add_quick() 115 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_sub() 138 const BIGNUM *m) in bn_mod_sub_fixed_top() 192 const BIGNUM *m) in BN_mod_sub_quick() 207 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() 236 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() 244 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_lshift1() [all …]
|
/freebsd/contrib/less/ |
H A D | mark.c | 52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument 86 static void mark_set_ifile(struct mark *m, IFILE ifile) in mark_set_ifile() argument 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 = &marks[i]; mark_check_ifile() local 380 struct mark *m = &marks[i]; save_marks() local 399 struct mark *m; restore_mark() local [all...] |
/freebsd/usr.bin/netstat/ |
H A D | inet.c | 597 #define p(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats() argument 599 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats() argument 601 #define p2(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats() argument 604 #define p2a(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats() argument 607 #define p3(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats() argument 919 #define p(f, m) if (udpstat.f || sflag <= 1) \ in udp_stats() argument 921 #define p1a(f, m) if (udpstat.f || sflag <= 1) \ in udp_stats() argument 976 #define p(f, m) if (carpstat.f || sflag <= 1) \ in carp_stats() argument 978 #define p2(f, m) if (carpstat.f || sflag <= 1) \ in carp_stats() argument 1031 #define p(f, m) if (ipstat.f || sflag <= 1) \ in ip_stats() argument [all …]
|
/freebsd/sys/security/mac/ |
H A D | mac_inet.c | 200 mac_ipq_reassemble(struct ipq *q, struct mbuf *m) in mac_ipq_reassemble() 214 mac_netinet_fragment(struct mbuf *m, struct mbuf *frag) in mac_netinet_fragment() 229 mac_ipq_create(struct mbuf *m, struct ipq *q) in mac_ipq_create() 242 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf() 258 mac_ipq_match(struct mbuf *m, struct ipq *q) in mac_ipq_match() 275 mac_netinet_arp_send(struct ifnet *ifp, struct mbuf *m) in mac_netinet_arp_send() 307 mac_netinet_icmp_replyinplace(struct mbuf *m) in mac_netinet_icmp_replyinplace() 320 mac_netinet_igmp_send(struct ifnet *ifp, struct mbuf *m) in mac_netinet_igmp_send() 337 mac_netinet_tcp_reply(struct mbuf *m) in mac_netinet_tcp_reply() 350 mac_ipq_update(struct mbuf *m, struct ipq *q) in mac_ipq_update() [all …]
|
/freebsd/usr.sbin/mixer/ |
H A D | mixer.c | 58 struct mixer *m; in main() local 228 initctls(struct mixer *m) in initctls() 245 printall(struct mixer *m, int oflag) in printall() 257 printminfo(struct mixer *m, int oflag) in printminfo() 286 printdev(struct mixer *m, int oflag) in printdev() 311 printrecsrc(struct mixer *m, int oflag) in printrecsrc() 334 set_dunit(struct mixer *m, int dunit, char *vctl) in set_dunit() 414 struct mixer *m; in mod_volume() local 490 struct mixer *m; in mod_mute() local 526 struct mixer *m; in mod_recsrc() local [all …]
|