Searched refs:arg (Results 51 - 75 of 3357) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.h55 void SetJoined(void *arg);
57 void SetStarted(uptr _os_id, void *arg);
59 u32 _parent_tid, void *arg);
63 // Some of them take opaque arg that may be optionally be used
66 virtual void OnJoined(void *arg) {} argument
68 virtual void OnStarted(void *arg) {} argument
69 virtual void OnCreated(void *arg) {} argument
71 virtual void OnDetached(void *arg) {} argument
96 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
98 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg);
[all...]
/freebsd-11.0-release/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.h34 #define THREAD_START(threadvar, fn, arg) \
35 pthread_create(&(threadvar), NULL, fn, arg)
41 #define THREAD_START(threadvar, fn, arg) do { \
42 uintptr_t threadhandle = _beginthreadex(NULL,0,fn,(arg),0,NULL); \
/freebsd-11.0-release/usr.sbin/rpc.statd/
H A Dprocs.c76 int sm_check_hostname(struct svc_req *req, char *arg) argument
82 len = strlen(arg);
92 else if (strvis(dst, arg, VIS_WHITE) != len)
111 struct sm_stat_res *sm_stat_1_svc(sm_name *arg, struct svc_req *req) argument
119 if ((err = sm_check_hostname(req, arg->mon_name)) == 0)
126 syslog(LOG_DEBUG, "stat called for host %s", arg->mon_name);
127 if (getaddrinfo(arg->mon_name, NULL, NULL, &ai) == 0) {
135 from_addr(claddr), arg->mon_name);
152 struct sm_stat_res *sm_mon_1_svc(mon *arg, struct svc_req *req) argument
160 if ((err = sm_check_hostname(req, arg
260 sm_unmon_1_svc(mon_id *arg, struct svc_req *req __unused) argument
298 sm_unmon_all_1_svc(my_id *arg, struct svc_req *req __unused) argument
380 sm_notify_1_svc(stat_chge *arg, struct svc_req *req __unused) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIXLog.cpp68 GetFlagBits (const char *arg) argument
70 if (::strcasecmp (arg, "all") == 0 ) return POSIX_LOG_ALL;
71 else if (::strcasecmp (arg, "async") == 0 ) return POSIX_LOG_ASYNC;
72 else if (::strncasecmp (arg, "break", 5) == 0 ) return POSIX_LOG_BREAKPOINTS;
73 else if (::strncasecmp (arg, "comm", 4) == 0 ) return POSIX_LOG_COMM;
74 else if (::strcasecmp (arg, "default") == 0 ) return POSIX_LOG_DEFAULT;
75 else if (::strcasecmp (arg, "packets") == 0 ) return POSIX_LOG_PACKETS;
76 else if (::strcasecmp (arg, "memory") == 0 ) return POSIX_LOG_MEMORY;
77 else if (::strcasecmp (arg, "data-short") == 0 ) return POSIX_LOG_MEMORY_DATA_SHORT;
78 else if (::strcasecmp (arg, "dat
100 const char *arg = args[0]; local
145 const char *arg = args[0]; local
[all...]
/freebsd-11.0-release/usr.sbin/rpc.lockd/
H A Dlock_proc.c376 nlmtonlm4(struct nlm_lock *arg, struct nlm4_lock *arg4) argument
378 arg4->caller_name = arg->caller_name;
379 arg4->fh = arg->fh;
380 arg4->oh = arg->oh;
381 arg4->svid = arg->svid;
382 arg4->l_offset = arg->l_offset;
383 arg4->l_len = arg->l_len;
419 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument
424 nlmtonlm4(&arg->alock, &arg4);
429 holder = testlock(&arg4, arg
451 nlm_test_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument
506 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument
528 nlm_lock_msg_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument
557 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) argument
579 nlm_cancel_msg_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) argument
608 nlm_unlock_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) argument
625 nlm_unlock_msg_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) argument
661 nlm_granted_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument
679 nlm_granted_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument
701 nlm_test_res_1_svc(nlm_testres *arg, struct svc_req *rqstp) argument
716 nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) argument
745 nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) argument
784 nlm_share_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) argument
804 nlm_unshare_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) argument
828 nlm_nm_lock_3_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument
869 nlm4_test_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument
915 nlm4_test_msg_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument
965 nlm4_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument
999 nlm4_lock_msg_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument
1020 nlm4_cancel_4_svc(nlm4_cancargs *arg, struct svc_req *rqstp) argument
1039 nlm4_cancel_msg_4_svc(nlm4_cancargs *arg, struct svc_req *rqstp) argument
1065 nlm4_unlock_4_svc(nlm4_unlockargs *arg, struct svc_req *rqstp) argument
1079 nlm4_unlock_msg_4_svc(nlm4_unlockargs *arg, struct svc_req *rqstp) argument
1112 nlm4_granted_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument
1130 nlm4_granted_msg_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument
1151 nlm4_test_res_4_svc(nlm4_testres *arg, struct svc_req *rqstp) argument
1168 nlm4_lock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) argument
1233 nlm4_share_4_svc(nlm4_shareargs *arg, struct svc_req *rqstp) argument
1253 nlm4_unshare_4_svc(nlm4_shareargs *arg, struct svc_req *rqstp) argument
1277 nlm4_nm_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument
1316 nlm_sm_notify_0_svc(struct nlm_sm_status *arg, struct svc_req *rqstp __unused) argument
[all...]
/freebsd-11.0-release/usr.sbin/periodic/
H A Dperiodic.sh50 for arg; do
51 lockfile=/var/run/periodic.${arg##*/}.lock
52 lockf -t 0 "${lockfile}" /bin/sh $0 LOCKED "$arg"
57 output_pipe $arg "$PERIODIC"
61 echo "$host ${arg##*/} prior run still in progress" | \
62 output_pipe $arg "$PERIODIC"
77 arg=$1
81 export PERIODIC="$arg${PERIODIC:+ }${PERIODIC}"
89 case $(eval echo "\$${arg##*/}_show_$var") in
95 case $arg i
[all...]
/freebsd-11.0-release/bin/dd/
H A Dargs.c74 static const struct arg { struct
105 struct arg *ap, tmp;
106 char *arg; local
113 if ((arg = strchr(oper, '=')) == NULL)
115 *arg++ = '\0';
116 if (!*arg)
119 if (!(ap = (struct arg *)bsearch(&tmp, args,
120 sizeof(args)/sizeof(struct arg), sizeof(struct arg),
127 ap->f(arg);
189 f_bs(char *arg) argument
200 f_cbs(char *arg) argument
211 f_count(char *arg) argument
225 f_files(char *arg) argument
234 f_fillchar(char *arg) argument
244 f_ibs(char *arg) argument
258 f_if(char *arg) argument
265 f_obs(char *arg) argument
279 f_of(char *arg) argument
286 f_seek(char *arg) argument
293 f_skip(char *arg) argument
300 f_speed(char *arg) argument
307 f_status(char *arg) argument
346 f_conv(char *arg) argument
[all...]
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drange_tree.h67 void (*rtop_create)(range_tree_t *rt, void *arg);
68 void (*rtop_destroy)(range_tree_t *rt, void *arg);
69 void (*rtop_add)(range_tree_t *rt, range_seg_t *rs, void *arg);
70 void (*rtop_remove)(range_tree_t *rt, range_seg_t *rs, void *arg);
71 void (*rtop_vacate)(range_tree_t *rt, void *arg);
74 typedef void range_tree_func_t(void *arg, uint64_t start, uint64_t size);
78 range_tree_t *range_tree_create(range_tree_ops_t *ops, void *arg, kmutex_t *lp);
86 void range_tree_add(void *arg, uint64_t start, uint64_t size);
87 void range_tree_remove(void *arg, uint64_t start, uint64_t size);
90 void range_tree_vacate(range_tree_t *rt, range_tree_func_t *func, void *arg);
[all...]
H A Ddmu_traverse.h43 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg);
56 uint64_t txg_start, int flags, blkptr_cb_t func, void *arg);
58 zbookmark_phys_t *resume, int flags, blkptr_cb_t func, void *arg);
61 blkptr_cb_t func, void *arg);
63 uint64_t txg_start, int flags, blkptr_cb_t func, void *arg);
/freebsd-11.0-release/sbin/camcontrol/
H A Dutil.c67 int arg; local
75 arg = strtol(h->argv[h->got], 0, 0);
79 printf("%s: %d\n", name, arg);
81 return arg;
90 char *arg; local
98 arg = h->argv[h->got];
102 printf("cget: %s: %s", name, arg);
104 return arg;
110 arg_put(void *hook __unused, int letter, void *arg, int count, char *name) argument
119 printf("%jd ", (intmax_t)(intptr_t)arg);
[all...]
/freebsd-11.0-release/usr.bin/bluetooth/bthost/
H A Dbthost.c38 static int hostmode (char const *arg, int brief);
39 static int protomode (char const *arg, int brief);
74 hostmode(char const *arg, int brief) argument
81 if (bt_aton(arg, &ba) == 1) {
87 he = bt_gethostbyname(arg);
91 herror(reverse? bt_ntoa(&ba, bastr) : arg);
100 reverse? bt_ntoa(&ba, bastr) : arg,
109 protomode(char const *arg, int brief) argument
114 if ((proto = atoi(arg)) != 0)
117 pe = bt_getprotobyname(arg);
[all...]
/freebsd-11.0-release/usr.sbin/ctladm/
H A Dutil.c67 int arg; local
75 arg = strtol(h->argv[h->got], 0, 0);
79 printf("%s: %d\n", name, arg);
81 return arg;
90 char *arg; local
98 arg = h->argv[h->got];
102 printf("cget: %s: %s", name, arg);
104 return arg;
110 arg_put(void *hook __unused, int letter, void *arg, int count, char *name) argument
119 printf("%jd ", (intmax_t)(intptr_t)arg);
[all...]
/freebsd-11.0-release/contrib/unbound/smallapp/
H A Dworker_cb.c52 int ATTR_UNUSED(error), void* ATTR_UNUSED(arg))
58 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error),
66 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error),
74 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error),
82 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error),
90 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error),
97 void worker_sighandler(int ATTR_UNUSED(sig), void* ATTR_UNUSED(arg))
117 ATTR_UNUSED(arg)) {
122 wsvc_cron_cb(void* ATTR_UNUSED(arg))
129 worker_alloc_cleanup(void* ATTR_UNUSED(arg))
[all...]
/freebsd-11.0-release/contrib/binutils/binutils/
H A Dunwind-ia64.c176 #define UNW_DEC_PROLOGUE(fmt, body, rlen, arg) \
180 *(int *)arg = body; \
186 #define UNW_DEC_PROLOGUE_GR(fmt, rlen, mask, grsave, arg) \
192 *(int *)arg = 0; \
224 #define UNW_DEC_FR_MEM(fmt, frmask, arg) \
234 #define UNW_DEC_GR_MEM(fmt, grmask, arg) \
244 #define UNW_DEC_FRGR_MEM(fmt, grmask, frmask, arg) \
255 #define UNW_DEC_BR_MEM(fmt, brmask, arg) \
265 #define UNW_DEC_BR_GR(fmt, brmask, gr, arg) \
275 #define UNW_DEC_REG_GR(fmt, src, dst, arg) \
671 unw_decode_r1(const unsigned char *dp, unsigned int code, void *arg) argument
682 unw_decode_r2(const unsigned char *dp, unsigned int code, void *arg) argument
697 unw_decode_r3(const unsigned char *dp, unsigned int code, void *arg) argument
810 unw_decode_p7_p10(const unsigned char *dp, unsigned int code, void *arg) argument
1007 unw_decode_b3_x4(const unsigned char *dp, unsigned int code, void *arg) argument
[all...]
/freebsd-11.0-release/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiproto.h29 static void agtiapi_PrepareSGListCB( void *arg,
34 static void agtiapi_PrepareSMPSGListCB( void *arg,
111 void agtiapi_IntrHandler0( void *arg );
112 void agtiapi_IntrHandler1( void *arg );
113 void agtiapi_IntrHandler2( void *arg );
114 void agtiapi_IntrHandler3( void *arg );
115 void agtiapi_IntrHandler4( void *arg );
116 void agtiapi_IntrHandler5( void *arg );
117 void agtiapi_IntrHandler6( void *arg );
118 void agtiapi_IntrHandler7( void *arg );
[all...]
/freebsd-11.0-release/crypto/openssh/regress/
H A Dscp-ssh-wrapper.sh19 # Discard all but last argument. We use arg later.
21 arg="$1"
55 set -- $arg
/freebsd-11.0-release/contrib/gcclibs/libssp/
H A Dvsnprintf-chk.c48 size_t slen, const char *format, va_list arg)
53 return vsnprintf (s, n, format, arg);
47 __vsnprintf_chk(char *s, size_t n, int flags __attribute__((unused)), size_t slen, const char *format, va_list arg) argument
/freebsd-11.0-release/contrib/binutils/gas/
H A Dinput-file.h51 * input_file_pop (arg) Pops previously saved state.
66 void input_file_pop (char *arg);
H A Dread.h135 extern void s_align_bytes (int arg);
147 extern void s_else (int arg);
148 extern void s_elseif (int arg);
149 extern void s_end (int arg);
150 extern void s_endif (int arg);
157 extern void s_globl (int arg);
158 extern void s_if (int arg);
159 extern void s_ifb (int arg);
160 extern void s_ifc (int arg);
161 extern void s_ifdef (int arg);
[all...]
/freebsd-11.0-release/lib/libdevinfo/
H A Ddevinfo.h107 int (* fn)(struct devinfo_dev *child, void *arg),
108 void *arg);
117 struct devinfo_res *res, void *arg),
118 void *arg);
126 int (* fn)(struct devinfo_res *res, void *arg),
127 void *arg);
134 devinfo_foreach_rman(int (* fn)(struct devinfo_rman *rman, void *arg),
135 void *arg);
/freebsd-11.0-release/lib/libpam/libpam/security/
H A Dpam_mod_misc.h45 #define PAM_RETURN(arg) \
46 return (arg)
/freebsd-11.0-release/lib/libstdthreads/
H A Dthrd.c40 void *arg; member in struct:thrd_param
44 thrd_entry(void *arg) argument
48 tp = *(struct thrd_param *)arg;
49 free(arg);
50 return ((void *)(intptr_t)tp.func(tp.arg));
54 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) argument
66 tp->arg = arg;
/freebsd-11.0-release/usr.sbin/bhyve/
H A Duart_emul.h37 typedef void (*uart_intr_func_t)(void *arg);
39 uart_intr_func_t intr_deassert, void *arg);
/freebsd-11.0-release/usr.bin/xlint/lint1/
H A Demit1.c91 sym_t *arg; local
137 for (arg = tp->t_args; arg != NULL; arg = arg->s_nxt)
142 for (arg = tp->t_args; arg != NULL; arg = arg->s_nxt)
143 outtype(arg
296 sym_t *arg; local
397 tnode_t *args, *arg; local
[all...]
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dflock.c47 struct flock arg; local
50 arg.l_whence = SEEK_SET;
51 arg.l_start = 0;
52 arg.l_len = 0; /* means to EOF */
61 arg.l_type = F_UNLCK;
62 code = fcntl(fd, F_SETLK, &arg);
65 arg.l_type = F_RDLCK;
66 code = fcntl(fd, cmd, &arg);
69 arg.l_type = F_WRLCK;
70 code = fcntl(fd, cmd, &arg);
[all...]

Completed in 367 milliseconds

1234567891011>>