Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 241) sorted by relevance

12345678910

/f-stack/freebsd/security/audit/
H A Daudit_pipe.c182 #define AUDIT_PIPE_LOCK(ap) mtx_lock(&(ap)->ap_mtx) argument
185 #define AUDIT_PIPE_LOCK_INIT(ap) mtx_init(&(ap)->ap_mtx, \ argument
187 #define AUDIT_PIPE_UNLOCK(ap) mtx_unlock(&(ap)->ap_mtx) argument
188 #define AUDIT_PIPE_MTX(ap) (&(ap)->ap_mtx) argument
194 #define AUDIT_PIPE_SX_XUNLOCK(ap) sx_xunlock(&(ap)->ap_sx) argument
467 if (ap->ap_qlen >= ap->ap_qlimit) { in audit_pipe_append()
603 return (ap); in audit_pipe_alloc()
658 ap = arg; in audit_pipe_dtor()
723 *(int *)data = ap->ap_qbyteslen - ap->ap_qoffset; in audit_pipe_ioctl()
924 error = cv_wait_sig(&ap->ap_cv, AUDIT_PIPE_MTX(ap)); in audit_pipe_read()
[all …]
/f-stack/freebsd/kern/
H A Dvfs_default.c400 return (VOP_ACCESSX(ap->a_vp, ap->a_accmode, ap->a_cred, ap->a_td)); in vop_stdaccess()
416 return (VOP_ACCESS(ap->a_vp, accmode, ap->a_cred, ap->a_td)); in vop_stdaccessx()
653 return (vn_pollrecord(ap->a_vp, ap->a_td, ap->a_events));
728 *ap->a_bop = &ap->a_vp->v_bufobj;
777 ap->a_count, ap->a_rbehind, ap->a_rahead, NULL, NULL);
785 error = VOP_GETPAGES(ap->a_vp, ap->a_m, ap->a_count, ap->a_rbehind, in vop_stdgetpages_async()
788 ap->a_iodone(ap->a_arg, ap->a_m, ap->a_count, error); in vop_stdgetpages_async()
811 ap->a_sync, ap->a_rtvals);
1156 ap->a_vp->v_unpcb = ap->a_unpcb; in vop_stdunp_bind()
1164 *ap->a_unpcb = ap->a_vp->v_unpcb; in vop_stdunp_connect()
[all …]
H A Dsubr_prf.c172 va_list ap; in uprintf() local
213 va_end(ap); in uprintf()
224 va_list ap; in tprintf() local
228 va_end(ap); in tprintf()
320 va_list ap; in log() local
324 va_end(ap); in log()
403 va_list ap; in printf() local
408 va_end(ap); in printf()
464 prf_putbuf(ap->p_bufr, ap->flags, ap->pri); in putbuf()
466 ap->p_next = ap->p_bufr; in putbuf()
[all …]
H A Dsubr_scanf.c98 va_list ap; in sscanf() local
101 va_start(ap, fmt); in sscanf()
102 ret = vsscanf(ibuf, fmt, ap); in sscanf()
103 va_end(ap); in sscanf()
265 *va_arg(ap, char *) = nread; in vsscanf()
269 *va_arg(ap, long *) = nread; in vsscanf()
279 *va_arg(ap, int *) = nread; in vsscanf()
543 *va_arg(ap, void **) = in vsscanf()
546 *va_arg(ap, char *) = res; in vsscanf()
550 *va_arg(ap, long *) = res; in vsscanf()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_avl.c219 ap = uu_zalloc(sizeof (*ap)); in uu_avl_create()
233 ap->ua_null_walk.uaw_next = &ap->ua_null_walk; in uu_avl_create()
234 ap->ua_null_walk.uaw_prev = &ap->ua_null_walk; in uu_avl_create()
245 return (ap); in uu_avl_create()
258 if (ap->ua_null_walk.uaw_next != &ap->ua_null_walk || in uu_avl_destroy()
259 ap->ua_null_walk.uaw_prev != &ap->ua_null_walk) { in uu_avl_destroy()
274 uu_free(ap); in uu_avl_destroy()
431 ap->ua_index = INDEX_NEXT(ap->ua_index); in uu_avl_remove()
521 ap->ua_index = INDEX_NEXT(ap->ua_index); in uu_avl_insert()
529 if (ap->ua_debug && !INDEX_VALID(ap, idx)) in uu_avl_nearest_next()
[all …]
/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal_alarm.c95 struct alarm_entry *ap; in eal_alarm_get_timeout_ns() local
157 while (ap != NULL && timespec_cmp(&now, &ap->time) >= 0) { in eal_alarm_callback()
158 ap->executing = 1; in eal_alarm_callback()
162 ap->cb_fn(ap->cb_arg); in eal_alarm_callback()
167 free(ap); in eal_alarm_callback()
250 if (ap == NULL) in rte_eal_alarm_cancel()
258 free(ap); in rte_eal_alarm_cancel()
275 ap_prev = ap; in rte_eal_alarm_cancel()
285 free(ap); in rte_eal_alarm_cancel()
287 ap = ap_prev; in rte_eal_alarm_cancel()
[all …]
/f-stack/lib/
H A Dff_subr_prf.c133 *ap->p_next++ = c; in putbuf()
134 ap->remain--; in putbuf()
146 ap->p_next = ap->p_bufr; in putbuf()
147 ap->remain = ap->n_bufr; in putbuf()
160 ap->remain)); in putbuf()
173 int flags = ap->flags; in kputchar()
177 putbuf(c, ap); in kputchar()
183 putbuf(c, ap); in kputchar()
531 va_list ap; in printf() local
534 va_start(ap, fmt); in printf()
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Daction.c47 struct rte_port_in_action_profile *ap; in port_in_action_profile_create() local
99 if (ap == NULL) in port_in_action_profile_create()
126 rte_port_in_action_profile_free(ap); in port_in_action_profile_create()
133 rte_port_in_action_profile_free(ap); in port_in_action_profile_create()
140 profile->ap = ap; in port_in_action_profile_create()
181 struct rte_table_action_profile *ap; in table_action_profile_create() local
235 if (ap == NULL) in table_action_profile_create()
244 rte_table_action_profile_free(ap); in table_action_profile_create()
371 rte_table_action_profile_free(ap); in table_action_profile_create()
378 rte_table_action_profile_free(ap); in table_action_profile_create()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_alarm.c81 struct alarm_entry *ap; in eal_alarm_callback() local
86 (ap->time.tv_sec < now.tv_sec || (ap->time.tv_sec == now.tv_sec && in eal_alarm_callback()
88 ap->executing = 1; in eal_alarm_callback()
92 ap->cb_fn(ap->cb_arg); in eal_alarm_callback()
96 LIST_REMOVE(ap, next); in eal_alarm_callback()
97 free(ap); in eal_alarm_callback()
204 free(ap); in rte_eal_alarm_cancel()
218 ap_prev = ap; in rte_eal_alarm_cancel()
228 free(ap); in rte_eal_alarm_cancel()
230 ap = ap_prev; in rte_eal_alarm_cancel()
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_action.c62 struct rte_port_in_action_profile *ap; in softnic_port_in_action_profile_create() local
115 if (ap == NULL) in softnic_port_in_action_profile_create()
142 rte_port_in_action_profile_free(ap); in softnic_port_in_action_profile_create()
149 rte_port_in_action_profile_free(ap); in softnic_port_in_action_profile_create()
156 profile->ap = ap; in softnic_port_in_action_profile_create()
212 struct rte_table_action_profile *ap; in softnic_table_action_profile_create() local
266 if (ap == NULL) in softnic_table_action_profile_create()
275 rte_table_action_profile_free(ap); in softnic_table_action_profile_create()
402 rte_table_action_profile_free(ap); in softnic_table_action_profile_create()
409 rte_table_action_profile_free(ap); in softnic_table_action_profile_create()
[all …]
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Domap5-l4-abe.dtsi5 reg-names = "la", "ap";
16 <0x00000000 0x00000000 0x000400>, /* ap 0 */
17 <0x00000400 0x00000400 0x000400>, /* ap 1 */
18 <0x00022000 0x00022000 0x001000>, /* ap 2 */
19 <0x00023000 0x00023000 0x001000>, /* ap 3 */
20 <0x00024000 0x00024000 0x001000>, /* ap 4 */
21 <0x00025000 0x00025000 0x001000>, /* ap 5 */
22 <0x00026000 0x00026000 0x001000>, /* ap 6 */
23 <0x00027000 0x00027000 0x001000>, /* ap 7 */
24 <0x00028000 0x00028000 0x001000>, /* ap 8 */
[all …]
H A Domap4-l4-abe.dtsi5 reg-names = "la", "ap";
16 <0x00000000 0x00000000 0x000400>, /* ap 0 */
17 <0x00000400 0x00000400 0x000400>, /* ap 1 */
18 <0x00022000 0x00022000 0x001000>, /* ap 2 */
19 <0x00023000 0x00023000 0x001000>, /* ap 3 */
20 <0x00024000 0x00024000 0x001000>, /* ap 4 */
21 <0x00025000 0x00025000 0x001000>, /* ap 5 */
22 <0x00026000 0x00026000 0x001000>, /* ap 6 */
23 <0x00027000 0x00027000 0x001000>, /* ap 7 */
24 <0x00028000 0x00028000 0x001000>, /* ap 8 */
[all …]
H A Dam33xx-l4.dtsi7 reg-names = "ap", "la", "ia0", "ia1";
19 <0x00000800 0x00000800 0x000800>, /* ap 1 */
20 <0x00001000 0x00001000 0x000400>, /* ap 2 */
21 <0x00001400 0x00001400 0x000400>; /* ap 3 */
29 <0x00004000 0x00104000 0x001000>, /* ap 5 */
30 <0x00080000 0x00180000 0x002000>, /* ap 6 */
31 <0x00082000 0x00182000 0x001000>; /* ap 7 */
33 target-module@0 { /* 0x44d00000, ap 4 28.0 */
466 reg-names = "ap", "la", "ia0";
666 reg-names = "ap", "la", "ia0";
[all …]
H A Ddra7-l4.dtsi6 reg-names = "ap", "la", "ia0";
18 <0x00000800 0x00000800 0x000800>, /* ap 1 */
19 <0x00001000 0x00001000 0x001000>, /* ap 2 */
20 <0x00002000 0x00002000 0x002000>, /* ap 3 */
21 <0x00004000 0x00004000 0x001000>, /* ap 4 */
22 <0x00005000 0x00005000 0x001000>, /* ap 5 */
23 <0x00006000 0x00006000 0x001000>, /* ap 6 */
24 <0x00008000 0x00008000 0x002000>, /* ap 7 */
25 <0x0000a000 0x0000a000 0x001000>, /* ap 8 */
26 <0x00056000 0x00056000 0x001000>, /* ap 9 */
[all …]
H A Domap5-l4.dtsi6 reg-names = "ap", "la", "ia0";
22 <0x00001000 0x00001000 0x001000>, /* ap 1 */
23 <0x00000800 0x00000800 0x000800>, /* ap 2 */
24 <0x00002000 0x00002000 0x001000>, /* ap 3 */
25 <0x00003000 0x00003000 0x001000>, /* ap 4 */
26 <0x00004000 0x00004000 0x001000>, /* ap 5 */
27 <0x00005000 0x00005000 0x001000>, /* ap 6 */
28 <0x00056000 0x00056000 0x001000>, /* ap 7 */
29 <0x00057000 0x00057000 0x001000>, /* ap 8 */
30 <0x0005c000 0x0005c000 0x001000>, /* ap 9 */
[all …]
H A Domap4-l4.dtsi7 reg-names = "ap", "la", "ia0";
23 <0x00001000 0x00001000 0x001000>, /* ap 1 */
24 <0x00000800 0x00000800 0x000800>, /* ap 2 */
25 <0x00002000 0x00002000 0x001000>, /* ap 3 */
26 <0x00003000 0x00003000 0x001000>, /* ap 4 */
27 <0x00004000 0x00004000 0x001000>, /* ap 5 */
28 <0x00005000 0x00005000 0x001000>, /* ap 6 */
29 <0x00056000 0x00056000 0x001000>, /* ap 7 */
30 <0x00057000 0x00057000 0x001000>, /* ap 8 */
31 <0x0005c000 0x0005c000 0x001000>, /* ap 9 */
[all …]
H A Dam437x-l4.dtsi7 reg-names = "ap", "la", "ia0", "ia1";
19 <0x00000800 0x00000800 0x000800>, /* ap 1 */
20 <0x00001000 0x00001000 0x000400>, /* ap 2 */
21 <0x00001400 0x00001400 0x000400>; /* ap 3 */
29 <0x00004000 0x00104000 0x001000>, /* ap 5 */
30 <0x00080000 0x00180000 0x002000>, /* ap 6 */
31 <0x00082000 0x00182000 0x001000>, /* ap 7 */
32 <0x000f0000 0x001f0000 0x010000>; /* ap 8 */
34 target-module@0 { /* 0x44d00000, ap 4 28.0 */
82 <0x00003000 0x00203000 0x001000>, /* ap 10 */
[all …]
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_alarm.c38 LIST_REMOVE(ap, next); in alarm_remove_unsafe()
40 free(ap); in alarm_remove_unsafe()
53 ap->cb_fn(ap->cb_arg); in alarm_callback()
100 ap = calloc(1, sizeof(*ap)); in rte_eal_alarm_set()
101 if (ap == NULL) { in rte_eal_alarm_set()
114 ap->timer = timer; in rte_eal_alarm_set()
115 ap->cb_fn = cb_fn; in rte_eal_alarm_set()
134 .entry = ap, in rte_eal_alarm_set()
158 if (ap != NULL) in rte_eal_alarm_set()
159 free(ap); in rte_eal_alarm_set()
[all …]
/f-stack/tools/compat/include/net/
H A Dif_arp.h77 #define ar_sha(ap) (((caddr_t)((ap)+1)) + 0) argument
78 #define ar_spa(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln) argument
79 #define ar_tha(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln + (ap)->ar_pln) argument
80 #define ar_tpa(ap) (((caddr_t)((ap)+1)) + 2*(ap)->ar_hln + (ap)->ar_pln) argument
84 #define arphdr_len(ap) (arphdr_len2((ap)->ar_hln, (ap)->ar_pln)) argument
/f-stack/freebsd/net/
H A Dif_arp.h77 #define ar_sha(ap) (((caddr_t)((ap)+1)) + 0) argument
78 #define ar_spa(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln) argument
79 #define ar_tha(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln + (ap)->ar_pln) argument
80 #define ar_tpa(ap) (((caddr_t)((ap)+1)) + 2*(ap)->ar_hln + (ap)->ar_pln) argument
84 #define arphdr_len(ap) (arphdr_len2((ap)->ar_hln, (ap)->ar_pln)) argument
/f-stack/app/redis-5.0.5/deps/jemalloc/test/src/
H A Dtest.c68 va_list ap; in test_skip() local
72 va_end(ap); in test_skip()
80 va_list ap; in test_fail() local
84 va_end(ap); in test_fail()
173 va_list ap; in p_test() local
176 va_start(ap, t); in p_test()
178 va_end(ap); in p_test()
186 va_list ap; in p_test_no_reentrancy() local
191 va_end(ap); in p_test_no_reentrancy()
199 va_list ap; in p_test_no_malloc_init() local
[all …]
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_proxy.c258 for (ap = ips_proxies; ap->apr_p; ap++) { in ipf_proxy_main_load()
279 for (ap = ips_proxies; ap->apr_p; ap++) in ipf_proxy_main_unload()
282 for (ap = ap_proxylist; ap; ap = ap->apr_next) in ipf_proxy_main_unload()
332 for (ap = ips_proxies; ap->apr_p; ap++) {
342 for (ap = ips_proxies; ap != NULL; ap = ap->apr_next) {
429 for (ap = softp->ips_proxies; ap != NULL; ap = ap->apr_next) {
460 for (ap = softp->ips_proxies; ap != NULL; ap = ap->apr_next) {
531 for (ap = softp->ips_proxies; ap; ap = ap->apr_next)
536 for (ap = softp->ips_proxies; ap; ap = ap->apr_next)
538 (*ap->apr_clear)(ap);
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ctldir.c261 *ap->a_ncookies = 0; in sfs_readdir_common()
719 *ap->a_vpp = dvp; in zfsctl_root_vptocnp()
721 bcopy(dotzfs_name, ap->a_buf + *ap->a_buflen, sizeof (dotzfs_name)); in zfsctl_root_vptocnp()
734 switch (ap->a_name) { in zfsctl_common_pathconf()
740 *ap->a_retval = 64; in zfsctl_common_pathconf()
748 *ap->a_retval = 0; in zfsctl_common_pathconf()
752 *ap->a_retval = 1; in zfsctl_common_pathconf()
939 strlcpy(name, ap->a_cnp->cn_nameptr, ap->a_cnp->cn_namelen + 1); in zfsctl_snapdir_lookup()
1168 vp = ap->a_vp; in zfsctl_snapshot_vptocnp()
1204 *ap->a_vpp = dvp; in zfsctl_snapshot_vptocnp()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_onexit.c87 zfs_onexit_action_node_t *ap; in zfs_onexit_destroy() local
90 while ((ap = list_head(&zo->zo_actions)) != NULL) { in zfs_onexit_destroy()
91 list_remove(&zo->zo_actions, ap); in zfs_onexit_destroy()
93 ap->za_func(ap->za_data); in zfs_onexit_destroy()
94 kmem_free(ap, sizeof (zfs_onexit_action_node_t)); in zfs_onexit_destroy()
154 zfs_onexit_action_node_t *ap; in zfs_onexit_add_cb() local
162 list_link_init(&ap->za_link); in zfs_onexit_add_cb()
163 ap->za_func = func; in zfs_onexit_add_cb()
164 ap->za_data = data; in zfs_onexit_add_cb()
167 list_insert_tail(&zo->zo_actions, ap); in zfs_onexit_add_cb()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-err.c54 va_list ap; in spl_panic() local
62 va_start(ap, fmt); in spl_panic()
63 (void) vsnprintf(msg, sizeof (msg), fmt, ap); in spl_panic()
64 va_end(ap); in spl_panic()
84 vcmn_err(int ce, const char *fmt, va_list ap) in vcmn_err() argument
88 vsnprintf(msg, MAXMSGLEN, fmt, ap); in vcmn_err()
117 va_list ap; in cmn_err() local
119 va_start(ap, fmt); in cmn_err()
120 vcmn_err(ce, fmt, ap); in cmn_err()
121 va_end(ap); in cmn_err()

12345678910