Searched refs:mp (Results 1 - 25 of 764) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/nothreads/include/isc/
H A Dmutex.h29 #define isc_mutex_init(mp) \
30 (*(mp) = 0, ISC_R_SUCCESS)
31 #define isc_mutex_lock(mp) \
32 ((*(mp))++ == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
33 #define isc_mutex_unlock(mp) \
34 (--(*(mp)) == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
35 #define isc_mutex_trylock(mp) \
36 (*(mp) == 0 ? ((*(mp))++, ISC_R_SUCCESS) : ISC_R_LOCKBUSY)
37 #define isc_mutex_destroy(mp) \
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/nothreads/include/isc/
H A Dmutex.h29 #define isc_mutex_init(mp) \
30 (*(mp) = 0, ISC_R_SUCCESS)
31 #define isc_mutex_lock(mp) \
32 ((*(mp))++ == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
33 #define isc_mutex_unlock(mp) \
34 (--(*(mp)) == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
35 #define isc_mutex_trylock(mp) \
36 (*(mp) == 0 ? ((*(mp))++, ISC_R_SUCCESS) : ISC_R_LOCKBUSY)
37 #define isc_mutex_destroy(mp) \
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/lib/libumem/
H A Dstub_stand.c38 mutex_init(mutex_t *mp, int type, void *arg) argument
46 mutex_destroy(mutex_t *mp) argument
53 _mutex_held(mutex_t *mp) argument
59 mutex_owned(mutex_t *mp) argument
66 mutex_lock(mutex_t *mp) argument
73 mutex_trylock(mutex_t *mp) argument
80 mutex_unlock(mutex_t *mp) argument
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_wapbl.h98 ufs_wapbl_begin2(struct mount *mp, struct vnode *vp1, struct vnode *vp2, argument
101 if (mp->mnt_wapbl) {
108 error = wapbl_begin(mp->mnt_wapbl, file, line);
112 if (mp->mnt_wapbl->wl_lock.lk_exclusivecount == 1)
113 ufs_wapbl_verify_inodes(mp, "wapbl_begin");
120 ufs_wapbl_end2(struct mount *mp, struct vnode *vp1, struct vnode *vp2) argument
122 if (mp->mnt_wapbl) {
124 if (mp->mnt_wapbl->wl_lock.lk_exclusivecount == 1)
125 ufs_wapbl_verify_inodes(mp, "wapbl_end");
127 wapbl_end(mp
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/include/isc/
H A Dmutex.h41 #define isc_mutex_init(mp) \
42 (InitializeCriticalSection((mp)), ISC_R_SUCCESS)
43 #define isc_mutex_lock(mp) \
44 (EnterCriticalSection((mp)), ISC_R_SUCCESS)
45 #define isc_mutex_unlock(mp) \
46 (LeaveCriticalSection((mp)), ISC_R_SUCCESS)
47 #define isc_mutex_trylock(mp) \
48 (TryEnterCriticalSection((mp)) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
49 #define isc_mutex_destroy(mp) \
50 (DeleteCriticalSection((mp)), ISC_R_SUCCES
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/include/isc/
H A Dmutex.h41 #define isc_mutex_init(mp) \
42 (InitializeCriticalSection((mp)), ISC_R_SUCCESS)
43 #define isc_mutex_lock(mp) \
44 (EnterCriticalSection((mp)), ISC_R_SUCCESS)
45 #define isc_mutex_unlock(mp) \
46 (LeaveCriticalSection((mp)), ISC_R_SUCCESS)
47 #define isc_mutex_trylock(mp) \
48 (TryEnterCriticalSection((mp)) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
49 #define isc_mutex_destroy(mp) \
50 (DeleteCriticalSection((mp)), ISC_R_SUCCES
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dmap.c107 static void exported_ap_free(am_node *mp);
108 static void remove_am(am_node *mp);
155 am_node *mp; local
157 mp = get_first_exported_ap(&index);
158 while (mp != NULL) {
159 if (STREQ(mp->am_path, path))
161 mp = get_next_exported_ap(&index);
163 return mp;
192 get_ap_child(am_node *mp, char *fname) argument
195 mntfs *mf = mp
239 am_node *mp, **mpp; local
274 exported_ap_free(am_node *mp) argument
313 insert_am(am_node *mp, am_node *p_mp) argument
340 remove_am(am_node *mp) argument
369 new_ttl(am_node *mp) argument
407 init_map(am_node *mp, char *dir) argument
441 notify_child(am_node *mp, au_etype au_etype, int au_errno, int au_signal) argument
462 free_map(am_node *mp) argument
501 find_ap_recursive(char *dir, am_node *mp) argument
532 am_node *mp = exported_ap[i]; local
555 am_node *mp = exported_ap[i]; local
573 am_node *mp = get_root_ap(dir); local
591 am_node *mp = find_ap(dir); local
611 am_node *mp = exported_ap[i]; local
633 am_node *mp = (am_node *) arg; local
718 am_node *mp = exported_ap[i]; local
789 am_node *mp = (am_node *) arg; local
811 am_node *mp = (am_node *) arg; local
846 am_node *mp = (am_node *) arg; local
908 unmount_mp(am_node *mp) argument
986 am_node *mp = exported_ap[i]; local
[all...]
H A Damfs_linkx.c57 static int amfs_linkx_mount(am_node *mp, mntfs *mf);
58 static int amfs_linkx_umount(am_node *mp, mntfs *mf);
86 amfs_linkx_mount(am_node *mp, mntfs *mf) argument
94 if (mp->am_link)
95 ln = mp->am_link;
112 amfs_linkx_umount(am_node *mp, mntfs *mf) argument
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/pthreads/include/isc/
H A Dmutex.h72 #define isc_mutex_init(mp) \
73 isc_mutex_init_profile((mp), __FILE__, __LINE__)
76 #define isc_mutex_init(mp) \
77 isc_mutex_init_errcheck((mp))
79 #define isc_mutex_init(mp) \
80 isc__mutex_init((mp), __FILE__, __LINE__)
81 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
86 #define isc_mutex_lock(mp) \
87 isc_mutex_lock_profile((mp), __FILE__, __LINE__)
89 #define isc_mutex_lock(mp) \
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/pthreads/include/isc/
H A Dmutex.h72 #define isc_mutex_init(mp) \
73 isc_mutex_init_profile((mp), __FILE__, __LINE__)
76 #define isc_mutex_init(mp) \
77 isc_mutex_init_errcheck((mp))
79 #define isc_mutex_init(mp) \
80 isc__mutex_init((mp), __FILE__, __LINE__)
81 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
86 #define isc_mutex_lock(mp) \
87 isc_mutex_lock_profile((mp), __FILE__, __LINE__)
89 #define isc_mutex_lock(mp) \
[all...]
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dgetmode.c39 mode_t *mp = malloc(sizeof(mode_t)); local
41 *mp = strtoul(str, NULL, 8);
43 return mp;
47 getmode(const void *mp, mode_t mode) argument
51 m = *((const mode_t *)mp);
/netbsd-6-1-5-RELEASE/games/hack/
H A Ddef.edog.h74 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dmsgl-english.c43 message_ty *mp = mlp->item[j]; local
45 if (mp->msgid_plural == NULL)
47 if (mp->msgstr_len == 1 && mp->msgstr[0] == '\0')
49 mp->msgstr = mp->msgid; /* no need for xstrdup */
50 mp->msgstr_len = strlen (mp->msgid) + 1;
55 if (mp->msgstr_len == 2
56 && mp
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/milter/
H A Dmilter_macros.c27 /* void milter_macros_free(mp)
28 /* MILTER_MACROS *mp;
136 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
144 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_CONN, mp->conn_macros,
145 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_HELO, mp->helo_macros,
146 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_MAIL, mp->mail_macros,
147 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_RCPT, mp->rcpt_macros,
148 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_DATA, mp->data_macros,
149 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_EOH, mp->eoh_macros,
150 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_EOD, mp
161 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
217 MILTER_MACROS *mp; local
236 MILTER_MACROS *mp; local
270 milter_macros_free(MILTER_MACROS *mp) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/fs/tmpfs/
H A Dtmpfs_mem.c52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit) argument
55 mutex_init(&mp->tm_acc_lock, MUTEX_DEFAULT, IPL_NONE);
56 mp->tm_mem_limit = memlimit;
57 mp->tm_bytes_used = 0;
61 tmpfs_mntmem_destroy(struct tmpfs_mount *mp) argument
64 KASSERT(mp->tm_bytes_used == 0);
65 mutex_destroy(&mp->tm_acc_lock);
98 tmpfs_bytes_max(struct tmpfs_mount *mp) argument
108 avail_mem = round_page(mp->tm_bytes_used) + (freepages << PAGE_SHIFT);
109 return MIN(mp
113 tmpfs_pages_avail(struct tmpfs_mount *mp) argument
120 tmpfs_mem_incr(struct tmpfs_mount *mp, size_t sz) argument
136 tmpfs_mem_decr(struct tmpfs_mount *mp, size_t sz) argument
146 tmpfs_dirent_get(struct tmpfs_mount *mp) argument
156 tmpfs_dirent_put(struct tmpfs_mount *mp, struct tmpfs_dirent *de) argument
164 tmpfs_node_get(struct tmpfs_mount *mp) argument
178 tmpfs_node_put(struct tmpfs_mount *mp, struct tmpfs_node *tn) argument
193 tmpfs_strname_alloc(struct tmpfs_mount *mp, size_t len) argument
205 tmpfs_strname_free(struct tmpfs_mount *mp, char *str, size_t len) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dthread.c90 show_msg(struct message *mp) argument
92 if (mp == NULL)
100 mp->m_index, mp,
101 mp->m_flink, mp->m_blink, mp->m_clink, mp->m_plink,
102 mp->m_depth, mp
108 show_thread(struct message *mp) argument
137 is_tagged_core(struct message *mp) argument
150 is_tagged(struct message *mp) argument
161 has_parent(struct message *mp) argument
168 next_message1(struct message *mp) argument
186 prev_message1(struct message *mp) argument
198 next_message(struct message *mp) argument
210 prev_message(struct message *mp) argument
222 first_message(struct message *mp) argument
232 struct message *mp; local
242 get_msgnum(struct message *mp) argument
269 next_abs_message(struct message *mp) argument
292 thread_recursion_flist(struct message *mp, int (*fn)(struct message *, void *), void *args) argument
307 thread_recursion(struct message *mp, int (*fn)(struct message *, void *), void *args) argument
336 reindex_core(struct message *mp) argument
361 struct message *mp; local
393 redepth_core(struct message *mp, int depth, struct message *parent) argument
415 struct message *mp; local
472 thread_init(struct thread_s *tp, struct message *mp, int msgCount) argument
591 first_visible_message(struct message *mp) argument
623 thread_top(struct message *mp) argument
663 flattencmd_core(struct message *mp) argument
719 struct message *mp; local
726 struct message *mp; local
745 struct message *mp; /* the message the following refer to */ member in struct:key_sort_s
906 get_parent_id(struct message *mp) argument
928 thread_on_reference(struct message *mp) argument
931 struct message *mp; member in struct:__anon9832
1091 struct message *mp; local
1205 struct message *mp; local
1229 struct message *mp; local
1251 struct message *mp; local
1274 struct message *mp; local
1432 field_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key, int skin_it) argument
1446 subj_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key __unused, int flags __unused) argument
1467 lines_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key __unused, int flags) argument
1492 size_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key __unused, int flags __unused) argument
1509 date_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key __unused, int flags) argument
1541 from_load(struct key_sort_s *marray, size_t mcount, struct message *mp, const char *key __unused, int flags __unused) argument
1712 struct message *mp; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/db/mpool/
H A Dmpool.c77 MPOOL *mp; local
94 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL)
96 CIRCLEQ_INIT(&mp->lqh);
98 CIRCLEQ_INIT(&mp->hqh[entry]);
99 mp->maxcache = maxcache;
100 mp->npages = (pgno_t)(sb.st_size / pagesize);
101 mp->pagesize = pagesize;
102 mp->fd = fd;
103 return (mp);
111 mpool_filter(MPOOL *mp, voi argument
124 mpool_new( MPOOL *mp, pgno_t *pgnoaddr) argument
158 mpool_get(MPOOL *mp, pgno_t pgno, u_int flags) argument
239 mpool_put(MPOOL *mp, void *page, u_int flags) argument
264 mpool_close(MPOOL *mp) argument
284 mpool_sync(MPOOL *mp) argument
304 mpool_bkt(MPOOL *mp) argument
362 mpool_write(MPOOL *mp, BKT *bp) argument
396 mpool_look(MPOOL *mp, pgno_t pgno) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libskey/
H A Dskeylogin.c49 int getskeyprompt(struct skey *mp, char *name, char *prompt) argument
54 rval = skeylookup(mp, name);
63 mp->n - 1, SKEY_MAX_SEED_LEN, mp->seed);
66 fclose(mp->keyfile);
67 mp->keyfile = NULL;
80 int skeychallenge(struct skey *mp, const char *name, char *ss, size_t sslen) argument
84 rval = skeylookup(mp, name);
92 skey_get_algorithm(), mp->n - 1,
93 SKEY_MAX_SEED_LEN, mp
126 skeylookup(struct skey *mp, const char *name) argument
189 skeygetnext(struct skey *mp) argument
241 skeyverify(struct skey *mp, char *response) argument
598 skeyzero(struct skey *mp, char *response) argument
[all...]
/netbsd-6-1-5-RELEASE/libexec/talkd/
H A Dprocess.c69 process_request(CTL_MSG *mp, CTL_RESPONSE *rp) argument
74 rp->type = mp->type;
76 mp->id_num = ntohl(mp->id_num);
77 mp->addr.sa_family = ntohs(mp->addr.sa_family);
78 mp->ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
79 mp->pid = ntohl(mp
138 do_announce(CTL_MSG *mp, CTL_RESPONSE *rp) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/torture/
H A Dpr23424-1.c4 void f (char *s, char *se, char *mp, char *y) argument
10 p = s + *mp;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/torture/
H A Dpr23424-1.c4 void f (char *s, char *se, char *mp, char *y) argument
10 p = s + *mp;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/arm/
H A Darmv2-mp-bad.d3 #as: -march=armv2+mp
4 #error-output: armv2-mp-bad.l
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_clear_multi.c21 void mp_clear_multi(mp_int *mp, ...) argument
23 mp_int* next_mp = mp;
25 va_start(args, mp);
H A Dbn_mp_zero_multi.c22 void mp_zero_multi (mp_int * mp, ...) argument
24 mp_int* next_mp = mp;
26 va_start(args, mp);
/netbsd-6-1-5-RELEASE/external/mit/xorg/bin/xedit/mp/
H A DMakefile7 LIB= mp
8 SRCS= mp.c mpi.c mpr.c
10 .PATH: ${X11SRCDIR.xedit}/lisp/mp

Completed in 174 milliseconds

1234567891011>>