| /NextBSD/contrib/diff/lib/ |
| HD | 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 …]
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | gdb_stat.h | 41 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 44 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 50 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 53 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 56 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 59 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument 62 #define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) argument 63 #define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) argument 66 #define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) argument
|
| /NextBSD/lib/libdispatch/src/shims/ |
| HD | atomic.h | 115 #define _dispatch_atomic_barrier(m) \ argument 117 #define dispatch_atomic_load(p, m) \ argument 121 #define dispatch_atomic_store(p, v, m) \ argument 125 #define dispatch_atomic_xchg(p, v, m) \ argument 129 #define dispatch_atomic_cmpxchg(p, e, v, m) \ argument 134 #define dispatch_atomic_cmpxchgv(p, e, v, g, m) \ argument 139 #define dispatch_atomic_cmpxchgvw(p, e, v, g, m) \ argument 144 #define _dispatch_atomic_c11_op(p, v, m, o, op) \ argument 148 #define _dispatch_atomic_c11_op_orig(p, v, m, o, op) \ argument 153 #define dispatch_atomic_add(p, v, m) \ argument [all …]
|
| /NextBSD/lib/libthr/thread/ |
| HD | thr_mutex.c | 49 #define MUTEX_INIT_LINK(m) do { \ argument 53 #define MUTEX_ASSERT_IS_OWNED(m) do { \ argument 57 #define MUTEX_ASSERT_NOT_OWNED(m) do { \ argument 63 #define MUTEX_INIT_LINK(m) argument 64 #define MUTEX_ASSERT_IS_OWNED(m) argument 65 #define MUTEX_ASSERT_NOT_OWNED(m) argument 199 set_inherited_priority(struct pthread *curthread, struct pthread_mutex *m) in set_inherited_priority() 238 struct pthread_mutex *m; in _mutex_fork() local 259 pthread_mutex_t m; in _pthread_mutex_destroy() local 281 #define ENQUEUE_MUTEX(curthread, m) \ argument [all …]
|
| /NextBSD/contrib/libarchive/libarchive/test/ |
| HD | 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 321 struct archive *m; in test_newer_ctime_than_file_mbs() local 378 struct archive *m; in test_newer_mtime_than_file_wcs() local 435 struct archive *m; in test_newer_ctime_than_file_wcs() local 492 struct archive *m; in test_older_time() local 544 struct archive *m; in test_older_time_str() local 634 struct archive *m; in test_older_time_str_w() local [all …]
|
| HD | test_archive_match_path.c | 33 struct archive *m; in test_exclusion_mbs() local 76 struct archive *m; in test_exclusion_wcs() local 116 exclusion_from_file(struct archive *m) in exclusion_from_file() 176 struct archive *m; in test_exclusion_from_file_mbs() local 201 struct archive *m; in test_exclusion_from_file_wcs() local 227 struct archive *m; in test_inclusion_mbs() local 276 struct archive *m; in test_inclusion_wcs() local 324 struct archive *m; in test_inclusion_from_file_mbs() local 348 struct archive *m; in test_inclusion_from_file_wcs() local 375 struct archive *m; in test_exclusion_and_inclusion() local
|
| HD | test_archive_match_owner.c | 33 struct archive *m; in test_uid() local 75 struct archive *m; in test_gid() local 117 struct archive *m; in test_uname_mbs() local 159 struct archive *m; in test_uname_wcs() local 201 struct archive *m; in test_gname_mbs() local 243 struct archive *m; in test_gname_wcs() local
|
| /NextBSD/sys/vm/ |
| HD | vm_page.c | 216 vm_page_t m; in vm_page_percpu_alloc() local 257 vm_page_percpu_free(vm_page_t m) in vm_page_percpu_free() 402 vm_page_t m; in vm_page_blacklist_check() local 458 vm_page_t m; in sysctl_vm_page_blacklist() local 760 vm_page_reference(vm_page_t m) in vm_page_reference() 772 vm_page_busy_downgrade(vm_page_t m) in vm_page_busy_downgrade() 793 vm_page_sbusied(vm_page_t m) in vm_page_sbusied() 807 vm_page_sunbusy(vm_page_t m) in vm_page_sunbusy() 852 vm_page_busy_sleep(vm_page_t m, const char *wmesg) in vm_page_busy_sleep() 879 vm_page_trysbusy(vm_page_t m) in vm_page_trysbusy() [all …]
|
| HD | vm_page.h | 239 #define vm_page_queue_idx(m) \ argument 290 #define vm_page_lock(m) vm_page_lock_KBI((m), LOCK_FILE, LOCK_LINE) argument 291 #define vm_page_unlock(m) vm_page_unlock_KBI((m), LOCK_FILE, LOCK_LINE) argument 292 #define vm_page_trylock(m) vm_page_trylock_KBI((m), LOCK_FILE, LOCK_LINE) argument 294 #define vm_page_lockptr(m) (PA_LOCKPTR(VM_PAGE_TO_PHYS((m)))) argument 295 #define vm_page_lock(m) mtx_lock(vm_page_lockptr((m))) argument 296 #define vm_page_unlock(m) mtx_unlock(vm_page_lockptr((m))) argument 297 #define vm_page_trylock(m) mtx_trylock(vm_page_lockptr((m))) argument 300 #define vm_page_assert_locked(m) \ argument 302 #define vm_page_lock_assert(m, a) \ argument [all …]
|
| /NextBSD/sys/net/ |
| HD | ifq.h | 76 #define _IF_ENQUEUE(ifq, m) do { \ argument 86 #define IF_ENQUEUE(ifq, m) do { \ argument 92 #define _IF_PREPEND(ifq, m) do { \ argument 100 #define IF_PREPEND(ifq, m) do { \ argument 106 #define _IF_DEQUEUE(ifq, m) do { \ argument 116 #define IF_DEQUEUE(ifq, m) do { \ argument 122 #define _IF_DEQUEUE_ALL(ifq, m) do { \ argument 128 #define IF_DEQUEUE_ALL(ifq, m) do { \ argument 134 #define _IF_POLL(ifq, m) ((m) = (ifq)->ifq_head) argument 135 #define IF_POLL(ifq, m) _IF_POLL(ifq, m) argument [all …]
|
| /NextBSD/sys/sys/ |
| HD | mutex.h | 135 #define mtx_init(m, n, t, o) \ argument 137 #define mtx_destroy(m) \ argument 139 #define mtx_trylock_flags_(m, o, f, l) \ argument 141 #define _mtx_lock_sleep(m, t, o, f, l) \ argument 143 #define _mtx_unlock_sleep(m, o, f, l) \ argument 146 #define _mtx_lock_spin(m, t, o, f, l) \ argument 149 #define _mtx_lock_flags(m, o, f, l) \ argument 151 #define _mtx_unlock_flags(m, o, f, l) \ argument 153 #define _mtx_lock_spin_flags(m, o, f, l) \ argument 155 #define _mtx_unlock_spin_flags(m, o, f, l) \ argument [all …]
|
| /NextBSD/sys/fs/nfs/ |
| HD | nfskpiport.h | 37 #define vfs_statfs(m) (&((m)->mnt_stat)) argument 38 #define vfs_flags(m) ((m)->mnt_flag) argument 45 #define mbuf_freem(m) m_freem(m) argument 46 #define mbuf_data(m) mtod((m), void *) argument 47 #define mbuf_len(m) ((m)->m_len) argument 48 #define mbuf_next(m) ((m)->m_next) argument 49 #define mbuf_setlen(m, l) ((m)->m_len = (l)) argument 50 #define mbuf_setnext(m, p) ((m)->m_next = (p)) argument 51 #define mbuf_pkthdr_len(m) ((m)->m_pkthdr.len) argument 52 #define mbuf_pkthdr_setlen(m, l) ((m)->m_pkthdr.len = (l)) argument [all …]
|
| /NextBSD/sys/netgraph/ |
| HD | ng_rfc1490.c | 311 struct mbuf *m; in ng_rfc1490_rcvdata() local 391 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 392 mtod(m, u_char *)[1] = NLPID_PPP; in ng_rfc1490_rcvdata() local 400 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 401 mtod(m, u_char *)[1] = NLPID_IP; in ng_rfc1490_rcvdata() local 412 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 413 mtod(m, u_char *)[1] = 0x00; /* PAD */ in ng_rfc1490_rcvdata() local 414 mtod(m, u_char *)[2] = NLPID_SNAP; in ng_rfc1490_rcvdata() local 431 mtod(m, u_char *)[0] = HDLC_UI; in ng_rfc1490_rcvdata() local 432 mtod(m, u_char *)[1] = 0x00; /* pad */ in ng_rfc1490_rcvdata() local [all …]
|
| /NextBSD/crypto/openssl/crypto/bn/ |
| HD | bn_mod.c | 127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() 142 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_add() 155 const BIGNUM *m) in BN_mod_add_quick() 164 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_sub() 177 const BIGNUM *m) in BN_mod_sub_quick() 187 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() 216 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() 224 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_lshift1() 236 int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m) in BN_mod_lshift1_quick() 246 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, in BN_mod_lshift() [all …]
|
| /NextBSD/contrib/compiler-rt/lib/tsan/dd/ |
| HD | dd_interceptors.cc | 46 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { in INTERCEPTOR() 52 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { in INTERCEPTOR() 60 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() 68 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { in INTERCEPTOR() 74 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { in INTERCEPTOR() 81 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { in INTERCEPTOR() 89 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { in INTERCEPTOR() 97 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() 103 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() 109 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() [all …]
|
| /NextBSD/sys/contrib/octeon-sdk/cvmx-malloc/ |
| HD | thread-m.h | 48 #define mutex_init(m) cvmx_spinlock_init(m) argument 49 #define mutex_lock(m) cvmx_spinlock_lock(m) argument 50 #define mutex_trylock(m) (cvmx_spinlock_trylock(m)) argument 51 #define mutex_unlock(m) cvmx_spinlock_unlock(m) argument 57 #define mutex_init(m) (*(m) = 0) argument 58 #define mutex_lock(m) ((*(m) = 1), 0) argument 59 #define mutex_trylock(m) (*(m) ? 1 : ((*(m) = 1), 0)) argument 60 #define mutex_unlock(m) (*(m) = 0) argument
|
| /NextBSD/sys/dev/sound/pcm/ |
| HD | mixer.c | 148 mixer_set_softpcmvol(struct snd_mixer *m, struct snddev_info *d, in mixer_set_softpcmvol() 193 mixer_set_eq(struct snd_mixer *m, struct snddev_info *d, in mixer_set_eq() 245 mixer_set(struct snd_mixer *m, u_int dev, u_int lev) in mixer_set() 396 mixer_get_recroute(struct snd_mixer *m, int *route) in mixer_get_recroute() 431 mixer_set_recroute(struct snd_mixer *m, int route) in mixer_set_recroute() 455 mix_setdevs(struct snd_mixer *m, u_int32_t v) in mix_setdevs() 495 mix_setrecdevs(struct snd_mixer *m, u_int32_t v) in mix_setrecdevs() 545 mix_setparentchild(struct snd_mixer *m, u_int32_t parent, u_int32_t childs) in mix_setparentchild() 568 mix_setrealdev(struct snd_mixer *m, u_int32_t dev, u_int32_t realdev) in mix_setrealdev() 577 mix_getparent(struct snd_mixer *m, u_int32_t dev) in mix_getparent() [all …]
|
| /NextBSD/crypto/openssh/ |
| HD | monitor_wrap.c | 126 mm_request_send(int sock, enum monitor_reqtype type, Buffer *m) in mm_request_send() 142 mm_request_receive(int sock, Buffer *m) in mm_request_receive() 164 mm_request_receive_expect(int sock, enum monitor_reqtype type, Buffer *m) in mm_request_receive_expect() 182 Buffer m; in mm_choose_dh() local 215 Buffer m; in mm_key_sign() local 236 Buffer m; in mm_getpwnamallow() local 299 Buffer m; in mm_auth2_read_banner() local 326 Buffer m; in mm_inform_authserv() local 343 Buffer m; in mm_auth_password() local 392 Buffer m; in mm_key_allowed() local [all …]
|
| /NextBSD/sys/dev/sound/midi/ |
| HD | mpu401.c | 69 #define CMD(m,d) MPUFOI_WRITE(m, m->cookie, MPU_CMDPORT,d) argument 70 #define STATUS(m) MPUFOI_READ(m, m->cookie, MPU_STATPORT) argument 71 #define READ(m) MPUFOI_READ(m, m->cookie, MPU_DATAPORT) argument 72 #define WRITE(m,d) MPUFOI_WRITE(m, m->cookie, MPU_DATAPORT,d) argument 112 struct mpu401 *m = (struct mpu401 *)a; in mpu401_timeout() local 119 mpu401_intr(struct mpu401 *m) in mpu401_intr() 129 #define RXRDY(m) ( (STATUS(m) & MPU_INPUTBUSY) == 0) in mpu401_intr() argument 130 #define TXRDY(m) ( (STATUS(m) & MPU_OUTPUTBUSY) == 0) in mpu401_intr() argument 178 struct mpu401 *m; in mpu401_init() local 206 mpu401_uninit(struct mpu401 *m) in mpu401_uninit() [all …]
|
| /NextBSD/sys/kern/ |
| HD | 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 97 #define mtx_owner(m) ((struct thread *)((m)->mtx_lock & ~MTX_FLAGMASK)) argument 172 struct mtx *m; in unlock_mtx() local 191 const struct mtx *m = (const struct mtx *)lock; in owner_mtx() local 205 struct mtx *m; in __mtx_lock_flags() local 234 struct mtx *m; in __mtx_unlock_flags() local 259 struct mtx *m; in __mtx_lock_spin_flags() local 289 struct mtx *m; in __mtx_unlock_spin_flags() local 317 struct mtx *m; in _mtx_trylock_flags_() local [all …]
|
| HD | uipc_mbuf.c | 141 struct mbuf *m, *n; in m_get2() local 175 struct mbuf *m, *n; in m_getjcl() local 205 m_getm2(struct mbuf *m, int len, int how, short type, int flags) in m_getm2() 326 mb_free_ext(struct mbuf *m) in mb_free_ext() 402 mb_dupcl(struct mbuf *n, const struct mbuf *m) in mb_dupcl() 428 m_demote_pkthdr(struct mbuf *m) in m_demote_pkthdr() 446 struct mbuf *m; in m_demote() local 467 struct mbuf *m; in m_sanity() local 608 m_prepend(struct mbuf *m, int len, int how) in m_prepend() 638 m_copym(const struct mbuf *m, int off0, int len, int wait) in m_copym() [all …]
|
| /NextBSD/contrib/amd/amd/ |
| HD | mapc.c | 57 #define mapc_dup(m) ((m)->refc++, (m)) argument 75 # define MAPC_ISRE(m) ((m)->alloc == MAPC_RE) argument 77 # define MAPC_ISRE(m) FALSE argument 404 mapc_add_kv(mnt_map *m, char *key, char *val) in mapc_add_kv() 450 mapc_repl_kv(mnt_map *m, char *key, char *val) in mapc_repl_kv() 480 search_map(mnt_map *m, char *key, char **valp) in search_map() 501 mapc_find_wildcard(mnt_map *m) in mapc_find_wildcard() 520 mapc_reload_map(mnt_map *m) in mapc_reload_map() 587 mnt_map *m = ALLOC(struct mnt_map); in mapc_create() local 701 mapc_clear(mnt_map *m) in mapc_clear() [all …]
|
| /NextBSD/sys/netinet/ |
| HD | ip_ipsec.c | 89 ip_ipsec_filtertunnel(struct mbuf *m) in ip_ipsec_filtertunnel() 108 ip_ipsec_fwd(struct mbuf *m) in ip_ipsec_fwd() 122 ip_ipsec_input(struct mbuf *m, int nxt) in ip_ipsec_input() 140 ip_ipsec_mtu(struct mbuf *m, int mtu) in ip_ipsec_mtu() 158 ip_ipsec_output(struct mbuf **m, struct inpcb *inp, int *error) in ip_ipsec_output()
|
| /NextBSD/contrib/wpa/src/eap_peer/ |
| HD | eap_methods.c | 30 struct eap_method *m; in eap_peer_get_eap_method() local 50 struct eap_method *m; in eap_peer_get_type() local 73 struct eap_method *m; in eap_get_name() local 94 struct eap_method *m; in eap_get_names() local 128 struct eap_method *m; in eap_get_names_as_string_array() local 166 struct eap_method *m; in eap_peer_get_methods() local 233 struct eap_method *m, *prev; in eap_peer_method_unload() local 315 struct eap_method *m, *last = NULL; in eap_peer_method_register() local 346 struct eap_method *m; in eap_peer_unregister_methods() local
|
| /NextBSD/sys/security/mac/ |
| HD | mac_inet.c | 191 mac_ipq_reassemble(struct ipq *q, struct mbuf *m) in mac_ipq_reassemble() 205 mac_netinet_fragment(struct mbuf *m, struct mbuf *frag) in mac_netinet_fragment() 220 mac_ipq_create(struct mbuf *m, struct ipq *q) in mac_ipq_create() 233 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf() 249 mac_ipq_match(struct mbuf *m, struct ipq *q) in mac_ipq_match() 266 mac_netinet_arp_send(struct ifnet *ifp, struct mbuf *m) in mac_netinet_arp_send() 297 mac_netinet_icmp_replyinplace(struct mbuf *m) in mac_netinet_icmp_replyinplace() 310 mac_netinet_igmp_send(struct ifnet *ifp, struct mbuf *m) in mac_netinet_igmp_send() 326 mac_netinet_tcp_reply(struct mbuf *m) in mac_netinet_tcp_reply() 339 mac_ipq_update(struct mbuf *m, struct ipq *q) in mac_ipq_update() [all …]
|