HomeSort by: relevance | last modified time | path
    Searched refs:mp (Results 1 - 25 of 876) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/ntp/dist/libntp/lib/isc/nothreads/include/isc/
mutex.h 29 #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...]
  /src/external/mpl/bind/dist/lib/isc/include/isc/
mutex.h 40 #define isc_mutex_init(mp) \
42 *mp = malloc(sizeof(**mp)); \
43 isc__mutex_init(*mp); \
45 #define isc_mutex_lock(mp) isc__mutex_lock(*mp)
46 #define isc_mutex_unlock(mp) isc__mutex_unlock(*mp)
47 #define isc_mutex_trylock(mp) isc__mutex_trylock(*mp)
    [all...]
  /src/sys/ufs/ufs/
ufs_wapbl.h 86 ufs_wapbl_begin(struct mount *mp, const char *file, int line)
88 if (mp->mnt_wapbl) {
90 error = wapbl_begin(mp->mnt_wapbl, file, line);
98 ufs_wapbl_end(struct mount *mp)
100 if (mp->mnt_wapbl) {
101 wapbl_end(mp->mnt_wapbl);
105 #define UFS_WAPBL_BEGIN(mp) \
106 ufs_wapbl_begin(mp, __func__, __LINE__)
107 #define UFS_WAPBL_END(mp) ufs_wapbl_end(mp)
    [all...]
  /src/external/bsd/ntp/dist/libntp/lib/isc/win32/include/isc/
mutex.h 41 #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_SUCCESS
    [all...]
  /src/external/bsd/ntp/dist/libntp/lib/isc/pthreads/include/isc/
mutex.h 72 #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...]
  /src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/
mutex.h 67 #define isc_mutex_init(mp) isc_mutex_init_profile((mp), __FILE__, __LINE__)
70 #define isc_mutex_init(mp) isc_mutex_init_errcheck((mp))
72 #define isc_mutex_init(mp) isc__mutex_init((mp), __FILE__, __LINE__)
74 isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
79 #define isc_mutex_lock(mp) isc_mutex_lock_profile((mp), __FILE__, __LINE__)
81 #define isc_mutex_lock(mp) \
    [all...]
  /src/external/bsd/am-utils/dist/amd/
map.c 103 static void exported_ap_free(am_node *mp);
104 static void remove_am(am_node *mp);
151 am_node *mp; local
153 mp = get_first_exported_ap(&index);
154 while (mp != NULL) {
155 if (STREQ(mp->am_path, path))
157 mp = get_next_exported_ap(&index);
159 return mp;
188 get_ap_child(am_node *mp, char *fname)
191 mntfs *mf = mp->am_al->al_mnt
235 am_node *mp, **mpp; local
529 am_node *mp = exported_ap[i]; local
550 am_node *mp = get_root_ap(dir); local
571 am_node *mp = find_ap(dir); local
591 am_node *mp = exported_ap[i]; local
614 am_node *mp = (am_node *) arg; local
702 am_node *mp = exported_ap[i]; local
783 am_node *mp = (am_node *) arg; local
805 am_node *mp = (am_node *) arg; local
840 am_node *mp = (am_node *) arg; local
983 am_node *mp = exported_ap[i]; local
    [all...]
amfs_linkx.c 53 static int amfs_linkx_mount(am_node *mp, mntfs *mf);
54 static int amfs_linkx_umount(am_node *mp, mntfs *mf);
82 amfs_linkx_mount(am_node *mp, mntfs *mf)
90 if (mp->am_link)
91 ln = mp->am_link;
108 amfs_linkx_umount(am_node *mp, mntfs *mf)
amfs_auto.c 65 static int amfs_auto_mount(am_node *mp, mntfs *mf);
100 amfs_auto_mount(am_node *mp, mntfs *mf)
102 if (mp->am_parent == NULL)
111 mp->am_parent->am_fattr.na_nlink++;
118 mf->mf_info = strealloc(mf->mf_info, mp->am_parent->am_al->al_mnt->mf_info);
134 mp->am_pref = xstrdup("");
139 mp->am_pref = xstrdup(mf->mf_fo->opt_pref);
147 char *ppref = mp->am_parent->am_pref;
150 mp->am_pref = str3cat((char *) NULL, ppref, mp->am_name, "/")
    [all...]
autil.c 159 forcibly_timeout_mp(am_node *mp)
161 mntfs *mf = mp->am_al->al_mnt;
165 if (mf && ((mp->am_flags & AMF_ROOT) ||
173 plog(XLOG_WARNING, "node %s is currently being unmounted, ignoring timeout request", mp->am_path);
175 plog(XLOG_WARNING, "ignoring timeout request for active node %s", mp->am_path);
176 notify_child(mp, AMQ_UMNT_FAILED, EBUSY, 0);
179 plog(XLOG_INFO, "\"%s\" forcibly timed out", mp->am_path);
180 mp->am_flags &= ~AMF_NOTIMEOUT;
181 mp->am_ttl = clocktime(NULL);
187 clocktime(&mp->am_parent->am_fattr.na_mtime)
    [all...]
  /src/tools/compat/
getmode.c 39 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)
51 m = *((const mode_t *)mp);
  /src/sys/fs/tmpfs/
tmpfs_mem.c 52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit)
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)
64 KASSERT(mp->tm_bytes_used == 0);
65 mutex_destroy(&mp->tm_acc_lock);
69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit)
73 mutex_enter(&mp->tm_acc_lock);
74 if (round_page(mp->tm_bytes_used) >= memlimit
    [all...]
  /src/games/hack/
def.edog.h 74 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
  /src/external/gpl2/gettext/dist/gettext-tools/src/
msgl-english.c 43 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->msgstr[0] == '\0' && mp->msgstr[1] == '\0'
    [all...]
msgl-ascii.c 55 is_ascii_message (message_ty *mp)
57 const char *p = mp->msgstr;
58 const char *p_end = p + mp->msgstr_len;
64 if (!is_ascii_string_list (mp->comment))
66 if (!is_ascii_string_list (mp->comment_dot))
71 if (!is_ascii_string (mp->msgid))
73 if (mp->msgid_plural != NULL && !is_ascii_string (mp->msgid_plural))
77 if (mp->msgctxt != NULL && !is_ascii_string (mp->msgctxt)
    [all...]
message.c 102 message_ty *mp; local
105 mp = (message_ty *) xmalloc (sizeof (message_ty));
106 mp->msgctxt = msgctxt;
107 mp->msgid = msgid;
108 mp->msgid_plural = (msgid_plural != NULL ? xstrdup (msgid_plural) : NULL);
109 mp->msgstr = msgstr;
110 mp->msgstr_len = msgstr_len;
111 mp->pos = *pp;
112 mp->comment = NULL;
113 mp->comment_dot = NULL
434 message_ty *mp = mlp->item[j]; local
499 message_ty *mp; local
545 message_ty *mp; local
640 message_ty *mp; local
    [all...]
  /src/external/ibm-public/postfix/dist/src/milter/
milter_macros.c 27 /* void milter_macros_free(mp)
28 /* MILTER_MACROS *mp;
143 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
151 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_CONN, mp->conn_macros),
152 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_HELO, mp->helo_macros),
153 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_MAIL, mp->mail_macros),
154 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_RCPT, mp->rcpt_macros),
155 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_DATA, mp->data_macros),
156 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_EOH, mp->eoh_macros),
157 SEND_ATTR_STR(MAIL_ATTR_MILT_MAC_EOD, mp->eod_macros)
168 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
224 MILTER_MACROS *mp; local
243 MILTER_MACROS *mp; local
    [all...]
  /src/usr.bin/mail/
thread.c 90 show_msg(struct message *mp)
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->m_flag)
232 struct message *mp; local
361 struct message *mp; local
415 struct message *mp; local
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
934 struct message *mp; member in struct:__anon8287
1094 struct message *mp; local
1208 struct message *mp; local
1232 struct message *mp; local
1254 struct message *mp; local
1277 struct message *mp; local
1715 struct message *mp; local
    [all...]
  /src/lib/libc/db/mpool/
mpool.c 78 MPOOL *mp; local
95 if ((mp = calloc(1, sizeof(*mp))) == NULL)
97 TAILQ_INIT(&mp->lqh);
99 TAILQ_INIT(&mp->hqh[entry]);
100 mp->maxcache = maxcache;
101 mp->npages = (pgno_t)(sb.st_size / pagesize);
102 mp->pagesize = pagesize;
103 mp->fd = fd;
104 return mp;
    [all...]
  /src/external/ibm-public/postfix/dist/src/global/
mail_version.c 23 /* void mail_version_free(mp)
24 /* MAIL_VERSION *mp;
111 static const char *mail_version_worker(MAIL_VERSION *mp, char *cp)
120 if ((mp->program = mystrtok(&cp, "-")) == 0)
132 if ((mp->major = mail_version_int(major_field)) < 0)
135 if ((mp->minor = mail_version_int(minor_field)) < 0)
139 mp->patch = -1;
140 else if ((mp->patch = mail_version_int(patch_field)) < 0)
148 mp->snapshot = 0;
149 else if ((mp->snapshot = mystrtok(&cp, "")) == 0
159 MAIL_VERSION *mp; local
212 MAIL_VERSION *mp; local
    [all...]
  /src/lib/libskey/
skeylogin.c 49 int getskeyprompt(struct skey *mp, char *name, char *prompt)
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)
84 rval = skeylookup(mp, name);
92 skey_get_algorithm(), mp->n - 1,
93 SKEY_MAX_SEED_LEN, mp->seed)
    [all...]
  /src/libexec/talkd/
process.c 69 process_request(CTL_MSG *mp, CTL_RESPONSE *rp)
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->pid)
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
bn_mp_clear_multi.c 21 void mp_clear_multi(mp_int *mp, ...)
23 mp_int* next_mp = mp;
25 va_start(args, mp);
bn_mp_zero_multi.c 22 void mp_zero_multi (mp_int * mp, ...)
24 mp_int* next_mp = mp;
26 va_start(args, mp);
  /src/external/mit/xorg/bin/xedit/mp/
Makefile 7 LIB= mp
8 SRCS= mp.c mpi.c mpr.c
10 .PATH: ${X11SRCDIR.xedit}/lisp/mp

Completed in 37 milliseconds

1 2 3 4 5 6 7 8 91011>>