Searched refs:tracker (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.3-release/sys/sys/
H A Drmlock.h58 int _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
60 void _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
65 int _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker,
67 void _rm_runlock(struct rmlock *rm, struct rm_priotracker *tracker);
83 #define rm_rlock(rm,tracker) \
84 ((void)_rm_rlock_debug((rm),(tracker), 0, LOCK_FILE, LOCK_LINE ))
85 #define rm_try_rlock(rm,tracker) \
86 _rm_rlock_debug((rm),(tracker), 1, LOCK_FILE, LOCK_LINE )
87 #define rm_runlock(rm,tracker) \
88 _rm_runlock_debug((rm), (tracker), LOCK_FIL
[all...]
/freebsd-10.3-release/sys/kern/
H A Dkern_rmlock.c125 struct rm_priotracker *tracker; local
131 tracker = (struct rm_priotracker *)how;
132 rm_rlock(rm, tracker);
143 struct rm_priotracker *tracker; local
147 tracker = NULL;
163 tracker = (struct rm_priotracker *)queue;
164 if ((tracker->rmp_rmlock == rm) &&
165 (tracker->rmp_thread == td)) {
166 how = (uintptr_t)tracker;
170 KASSERT(tracker !
202 rm_tracker_add(struct pcpu *pc, struct rm_priotracker *tracker) argument
227 struct rm_priotracker *tracker; local
241 rm_tracker_remove(struct pcpu *pc, struct rm_priotracker *tracker) argument
260 struct rm_priotracker *tracker; local
348 _rm_rlock_hard(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) argument
429 _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) argument
471 _rm_unlock_hard(struct thread *td,struct rm_priotracker *tracker) argument
504 _rm_runlock(struct rmlock *rm, struct rm_priotracker *tracker) argument
632 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
681 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
718 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument
726 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument
[all...]
H A Dkern_osd.c220 struct rm_priotracker tracker; local
226 rm_rlock(&osdm[type].osd_object_lock, &tracker);
234 rm_runlock(&osdm[type].osd_object_lock, &tracker);
260 &tracker);
282 rm_runlock(&osdm[type].osd_object_lock, &tracker);
297 struct rm_priotracker tracker; local
304 rm_rlock(&osdm[type].osd_object_lock, &tracker);
313 rm_runlock(&osdm[type].osd_object_lock, &tracker);
320 struct rm_priotracker tracker; local
322 rm_rlock(&osdm[type].osd_object_lock, &tracker);
407 struct rm_priotracker tracker; local
[all...]
H A Dkern_timeout.c601 struct rm_priotracker tracker; local
630 lock_status = (uintptr_t)&tracker;
/freebsd-10.3-release/sys/security/mac/
H A Dmac_internal.h201 void mac_policy_slock_nosleep(struct rm_priotracker *tracker);
203 void mac_policy_sunlock_nosleep(struct rm_priotracker *tracker);
301 struct rm_priotracker tracker; \
303 mac_policy_slock_nosleep(&tracker); \
310 mac_policy_sunlock_nosleep(&tracker); \
332 struct rm_priotracker tracker; \
334 mac_policy_slock_nosleep(&tracker); \
342 mac_policy_sunlock_nosleep(&tracker); \
382 struct rm_priotracker tracker; \
384 mac_policy_slock_nosleep(&tracker); \
[all...]
H A Dmac_framework.c191 mac_policy_slock_nosleep(struct rm_priotracker *tracker) argument
198 rm_rlock(&mac_policy_rm, tracker);
218 mac_policy_sunlock_nosleep(struct rm_priotracker *tracker) argument
225 rm_runlock(&mac_policy_rm, tracker);
/freebsd-10.3-release/sys/net/
H A Dnetisr.c121 #define NETISR_RLOCK(tracker) rm_rlock(&netisr_rmlock, (tracker))
122 #define NETISR_RUNLOCK(tracker) rm_runlock(&netisr_rmlock, (tracker))
469 struct rm_priotracker tracker; local
483 NETISR_RLOCK(&tracker);
492 NETISR_RUNLOCK(&tracker);
501 struct rm_priotracker tracker; local
514 NETISR_RLOCK(&tracker);
519 NETISR_RUNLOCK(&tracker);
791 struct rm_priotracker tracker; local
900 struct rm_priotracker tracker; local
943 struct rm_priotracker tracker; local
1208 struct rm_priotracker tracker; local
1258 struct rm_priotracker tracker; local
1310 struct rm_priotracker tracker; local
[all...]
H A Dpfil.c110 pfil_try_rlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument
113 return (PFIL_TRY_RLOCK(ph, tracker));
120 pfil_rlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument
123 PFIL_RLOCK(ph, tracker);
130 pfil_runlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument
133 PFIL_RUNLOCK(ph, tracker);
H A Dif_lagg.c271 struct rm_priotracker tracker; local
276 LAGG_RLOCK(sc, &tracker);
281 LAGG_RUNLOCK(sc, &tracker);
293 struct rm_priotracker tracker; local
298 LAGG_RLOCK(sc, &tracker);
303 LAGG_RUNLOCK(sc, &tracker);
808 struct rm_priotracker tracker; local
823 LAGG_RLOCK(sc, &tracker);
826 LAGG_RUNLOCK(sc, &tracker);
831 LAGG_RUNLOCK(sc, &tracker);
1002 struct rm_priotracker tracker; local
1468 struct rm_priotracker tracker; local
1511 struct rm_priotracker tracker; local
1557 struct rm_priotracker tracker; local
[all...]
H A Dif_vxlan.c576 const uint8_t *mac, struct rm_priotracker *tracker)
598 VXLAN_RUNLOCK(sc, tracker);
608 VXLAN_RUNLOCK(sc, tracker);
644 struct rm_priotracker tracker; local
647 VXLAN_RLOCK(sc, &tracker);
648 error = vxlan_ftable_update_locked(sc, sa, mac, &tracker);
649 VXLAN_UNLOCK(sc, &tracker);
657 struct rm_priotracker tracker; local
675 VXLAN_RLOCK(sc, &tracker);
683 VXLAN_RUNLOCK(sc, &tracker);
575 vxlan_ftable_update_locked(struct vxlan_softc *sc, const struct sockaddr *sa, const uint8_t *mac, struct rm_priotracker *tracker) argument
1035 struct rm_priotracker tracker; local
1312 struct rm_priotracker tracker; local
1805 struct rm_priotracker tracker; local
2402 struct rm_priotracker tracker; local
[all...]
/freebsd-10.3-release/sys/netinet/
H A Dtcp_fastopen.c312 struct rm_priotracker tracker; local
335 TCP_FASTOPEN_KEYS_RLOCK(&tracker);
344 TCP_FASTOPEN_KEYS_RUNLOCK(&tracker);
352 TCP_FASTOPEN_KEYS_RUNLOCK(&tracker);
/freebsd-10.3-release/sys/ofed/drivers/net/mlx4/
H A Dresource_tracker.c1006 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1007 struct rb_root *root = &tracker->res_tree[type];
1034 &tracker->slave_list[slave].res_list[type]);
1061 pr_err("resource tracker: fail to remove qp, state %d, ref_count %d\n",
1192 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1197 r = res_tracker_lookup(&tracker->res_tree[type], i);
1212 r = res_tracker_lookup(&tracker->res_tree[type], i);
1213 rb_erase(&r->node, &tracker->res_tree[type]);
1230 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1235 r = res_tracker_lookup(&tracker
1294 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1347 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1395 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1449 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1499 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1513 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1753 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1770 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1804 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1824 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1873 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1907 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
1928 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
2823 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
3845 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4001 struct mlx4_resource_tracker *tracker = local
4056 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4131 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4199 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4264 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4334 struct mlx4_resource_tracker *tracker = local
4385 struct mlx4_resource_tracker *tracker = local
4437 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4509 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local
4561 struct mlx4_resource_tracker *tracker = local
[all...]

Completed in 203 milliseconds