Lines Matching refs:locks
1861 struct lockdesclist locks; in lf_iteratelocks_sysid() local
1872 STAILQ_INIT(&locks); in lf_iteratelocks_sysid()
1894 STAILQ_INSERT_TAIL(&locks, ldesc, link); in lf_iteratelocks_sysid()
1906 while ((ldesc = STAILQ_FIRST(&locks)) != NULL) { in lf_iteratelocks_sysid()
1907 STAILQ_REMOVE_HEAD(&locks, link); in lf_iteratelocks_sysid()
1923 struct lockdesclist locks; in lf_iteratelocks_vnode() local
1934 STAILQ_INIT(&locks); in lf_iteratelocks_vnode()
1961 STAILQ_INSERT_TAIL(&locks, ldesc, link); in lf_iteratelocks_vnode()
1976 while ((ldesc = STAILQ_FIRST(&locks)) != NULL) { in lf_iteratelocks_vnode()
1977 STAILQ_REMOVE_HEAD(&locks, link); in lf_iteratelocks_vnode()
2477 STAILQ_HEAD(, kinfo_lockf_linked) locks; in vfs_report_lockf()
2480 STAILQ_INIT(&locks); in vfs_report_lockf()
2511 STAILQ_INSERT_TAIL(&locks, klf, link); in vfs_report_lockf()
2519 while ((klf = STAILQ_FIRST(&locks)) != NULL) { in vfs_report_lockf()
2520 STAILQ_REMOVE_HEAD(&locks, link); in vfs_report_lockf()