/freebsd-11-stable/sys/sys/ |
H A D | rmlock.h | 58 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-11-stable/sys/kern/ |
H A D | kern_rmlock.c | 124 struct rm_priotracker *tracker; local 130 tracker = (struct rm_priotracker *)how; 131 rm_rlock(rm, tracker); 142 struct rm_priotracker *tracker; local 146 tracker = NULL; 162 tracker = (struct rm_priotracker *)queue; 163 if ((tracker->rmp_rmlock == rm) && 164 (tracker->rmp_thread == td)) { 165 how = (uintptr_t)tracker; 169 KASSERT(tracker ! 201 rm_tracker_add(struct pcpu *pc, struct rm_priotracker *tracker) argument 226 struct rm_priotracker *tracker; local 240 rm_tracker_remove(struct pcpu *pc, struct rm_priotracker *tracker) argument 259 struct rm_priotracker *tracker; local 346 _rm_rlock_hard(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) argument 431 _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) argument 473 _rm_unlock_hard(struct thread *td,struct rm_priotracker *tracker) argument 506 _rm_runlock(struct rmlock *rm, struct rm_priotracker *tracker) argument 631 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument 678 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument 715 _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, int trylock, const char *file, int line) argument 723 _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker, const char *file, int line) argument [all...] |
H A D | kern_osd.c | 219 struct rm_priotracker tracker; local 225 rm_rlock(&osdm[type].osd_object_lock, &tracker); 233 rm_runlock(&osdm[type].osd_object_lock, &tracker); 259 &tracker); 281 rm_runlock(&osdm[type].osd_object_lock, &tracker); 296 struct rm_priotracker tracker; local 303 rm_rlock(&osdm[type].osd_object_lock, &tracker); 312 rm_runlock(&osdm[type].osd_object_lock, &tracker); 319 struct rm_priotracker tracker; local 321 rm_rlock(&osdm[type].osd_object_lock, &tracker); 406 struct rm_priotracker tracker; local [all...] |
H A D | kern_sysctl.c | 95 #define SYSCTL_RLOCK(tracker) rm_rlock(&sysctllock, (tracker)) 96 #define SYSCTL_RUNLOCK(tracker) rm_runlock(&sysctllock, (tracker)) 151 struct sysctl_req *req, struct rm_priotracker *tracker) 158 if (tracker != NULL) 159 SYSCTL_RUNLOCK(tracker); 171 if (tracker != NULL) 172 SYSCTL_RLOCK(tracker); 906 struct rm_priotracker tracker; local 150 sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, intmax_t arg2, struct sysctl_req *req, struct rm_priotracker *tracker) argument 930 struct rm_priotracker tracker; local 1055 struct rm_priotracker tracker; local 1119 struct rm_priotracker tracker; local 1166 struct rm_priotracker tracker; local 1195 struct rm_priotracker tracker; local 1848 struct rm_priotracker tracker; local [all...] |
H A D | kern_procctl.c | 263 reap_kill_sched(struct reap_kill_tracker_head *tracker, struct proc *p2) argument 269 TAILQ_INSERT_TAIL(tracker, t, link); 277 struct reap_kill_tracker_head tracker; local 310 TAILQ_INIT(&tracker); 311 reap_kill_sched(&tracker, reap); 312 while ((t = TAILQ_FIRST(&tracker)) != NULL) { 314 TAILQ_REMOVE(&tracker, t, link); 322 reap_kill_sched(&tracker, p2);
|
H A D | kern_timeout.c | 644 struct rm_priotracker tracker; local 673 lock_status = (uintptr_t)&tracker;
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_internal.h | 201 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 D | mac_framework.c | 190 mac_policy_slock_nosleep(struct rm_priotracker *tracker) argument 197 rm_rlock(&mac_policy_rm, tracker); 217 mac_policy_sunlock_nosleep(struct rm_priotracker *tracker) argument 224 rm_runlock(&mac_policy_rm, tracker);
|
/freebsd-11-stable/sys/net/ |
H A D | netisr.c | 122 #define NETISR_RLOCK(tracker) rm_rlock(&netisr_rmlock, (tracker)) 123 #define NETISR_RUNLOCK(tracker) rm_runlock(&netisr_rmlock, (tracker)) 495 struct rm_priotracker tracker; local 509 NETISR_RLOCK(&tracker); 518 NETISR_RUNLOCK(&tracker); 527 struct rm_priotracker tracker; local 540 NETISR_RLOCK(&tracker); 545 NETISR_RUNLOCK(&tracker); 921 struct rm_priotracker tracker; local 1030 struct rm_priotracker tracker; local 1082 struct rm_priotracker tracker; local 1347 struct rm_priotracker tracker; local 1397 struct rm_priotracker tracker; local 1449 struct rm_priotracker tracker; local [all...] |
H A D | pfil.c | 143 pfil_try_rlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument 146 return (PFIL_TRY_RLOCK(ph, tracker)); 153 pfil_rlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument 156 PFIL_RLOCK(ph, tracker); 163 pfil_runlock(struct pfil_head *ph, struct rm_priotracker *tracker) argument 166 PFIL_RUNLOCK(ph, tracker);
|
H A D | if_vxlan.c | 587 struct rm_priotracker *tracker) 608 VXLAN_RUNLOCK(sc, tracker); 618 VXLAN_RUNLOCK(sc, tracker); 646 struct rm_priotracker tracker; local 663 VXLAN_RLOCK(sc, &tracker); 664 error = vxlan_ftable_update_locked(sc, &vxlsa, mac, &tracker); 665 VXLAN_UNLOCK(sc, &tracker); 673 struct rm_priotracker tracker; local 691 VXLAN_RLOCK(sc, &tracker); 699 VXLAN_RUNLOCK(sc, &tracker); 585 vxlan_ftable_update_locked(struct vxlan_softc *sc, const union vxlan_sockaddr *vxlsa, const uint8_t *mac, struct rm_priotracker *tracker) argument 1051 struct rm_priotracker tracker; local 1328 struct rm_priotracker tracker; local 1823 struct rm_priotracker tracker; local 2448 struct rm_priotracker tracker; local [all...] |
H A D | if_lagg.c | 961 struct rm_priotracker tracker; local 968 LAGG_RLOCK(sc, &tracker); 992 LAGG_RUNLOCK(sc, &tracker); 1631 struct rm_priotracker tracker; local 1636 LAGG_RLOCK(sc, &tracker); 1639 LAGG_RUNLOCK(sc, &tracker); 1648 LAGG_RUNLOCK(sc, &tracker); 1670 struct rm_priotracker tracker; local 1672 LAGG_RLOCK(sc, &tracker); 1676 LAGG_RUNLOCK(sc, &tracker); [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/ |
H A D | fasttrap_isa.c | 266 struct rm_priotracker tracker; local 271 rm_rlock(&fasttrap_tp_lock, &tracker); 286 rm_runlock(&fasttrap_tp_lock, &tracker); 304 rm_runlock(&fasttrap_tp_lock, &tracker); 334 struct rm_priotracker tracker; local 369 rm_rlock(&fasttrap_tp_lock, &tracker); 388 rm_runlock(&fasttrap_tp_lock, &tracker); 442 rm_runlock(&fasttrap_tp_lock, &tracker);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | dump.c | 68 Note that the tracker functions don't perform any sanity or validity 74 /* Single entry in the path tracker. Not all levels along the path 121 /* Return a new path tracker object for REVISION, allocated in POOL. 139 * This internal function implicitly updates the tracker state during the 144 tracker_trim(path_tracker_t *tracker, 153 for (; tracker->depth; --tracker->depth) 155 path_tracker_entry_t *parent = &APR_ARRAY_IDX(tracker->stack, 156 tracker->depth - 1, 182 path_tracker_t *tracker, 143 tracker_trim(path_tracker_t *tracker, const char *path, svn_boolean_t allow_exact_match) argument 179 tracker_lookup(const char **orig_path, svn_revnum_t *orig_rev, path_tracker_t *tracker, const char *path, apr_pool_t *pool) argument 239 tracker_add_entry(path_tracker_t *tracker, const char *path) argument 267 tracker_path_copy(path_tracker_t *tracker, const char *path, const char *copyfrom_path, svn_revnum_t copyfrom_rev) argument 282 tracker_path_add(path_tracker_t *tracker, const char *path) argument 296 tracker_path_replace(path_tracker_t *tracker, const char *path) argument 307 tracker_path_delete(path_tracker_t *tracker, const char *path) argument [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_fastopen.c | 314 struct rm_priotracker tracker; local 337 TCP_FASTOPEN_KEYS_RLOCK(&tracker); 346 TCP_FASTOPEN_KEYS_RUNLOCK(&tracker); 354 TCP_FASTOPEN_KEYS_RUNLOCK(&tracker);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 950 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 958 &tracker->slave_list[slave].res_list[RES_COUNTER], 1182 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1197 &tracker->slave_list[slave].res_list[RES_COUNTER], 1232 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1233 struct rb_root *root = &tracker->res_tree[type]; 1260 &tracker->slave_list[slave].res_list[type]); 1287 pr_err("resource tracker: fail to remove qp, state %d, ref_count %d\n", 1418 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1423 r = res_tracker_lookup(&tracker 1456 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1520 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1573 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1622 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1662 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1698 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1712 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1956 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 1973 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 2006 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 2026 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 2080 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 2114 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 2135 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 3106 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4334 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4570 struct mlx4_resource_tracker *tracker = local 4625 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4698 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4764 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4827 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 4895 struct mlx4_resource_tracker *tracker = local 4994 struct mlx4_resource_tracker *tracker = local 5031 struct mlx4_resource_tracker *tracker = local 5083 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 5141 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 5187 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; local 5239 struct mlx4_resource_tracker *tracker = local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 719 struct rm_priotracker tracker; local 721 rm_rlock(&fasttrap_tp_lock, &tracker); 740 rm_runlock(&fasttrap_tp_lock, &tracker); 765 rm_runlock(&fasttrap_tp_lock, &tracker); 974 struct rm_priotracker tracker; local 1037 rm_rlock(&fasttrap_tp_lock, &tracker); 1060 rm_runlock(&fasttrap_tp_lock, &tracker); 1186 rm_runlock(&fasttrap_tp_lock, &tracker);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 2528 // FIXME: If there's already a constraint tracker for this variable,
|