/freebsd/sys/sys/ |
H A D | rwlock.h | 84 #define _rw_write_lock(rw, tid) \ argument 87 #define _rw_write_lock_fetch(rw, vp, tid) \ argument 91 #define _rw_write_unlock(rw, tid) \ argument 94 #define _rw_write_unlock_fetch(rw, tid) \ argument 104 #define __rw_wlock(rw, tid, file, line) __extension__ ({ \ argument 115 #define __rw_wunlock(rw, tid, file, line) __extension__ ({ \ argument 161 #define rw_init(rw, n) \ argument 163 #define rw_init_flags(rw, n, o) \ argument 165 #define rw_destroy(rw) \ argument 167 #define rw_wowned(rw) \ argument [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_rwlock.h | 44 ck_rwlock_init(struct ck_rwlock *rw) in ck_rwlock_init() 54 ck_rwlock_write_unlock(ck_rwlock_t *rw) in ck_rwlock_write_unlock() 63 ck_rwlock_locked_writer(ck_rwlock_t *rw) in ck_rwlock_locked_writer() 73 ck_rwlock_write_downgrade(ck_rwlock_t *rw) in ck_rwlock_write_downgrade() 82 ck_rwlock_locked(ck_rwlock_t *rw) in ck_rwlock_locked() 93 ck_rwlock_write_trylock(ck_rwlock_t *rw) in ck_rwlock_write_trylock() 188 ck_rwlock_locked_reader(ck_rwlock_t *rw) in ck_rwlock_locked_reader() 196 ck_rwlock_read_unlock(ck_rwlock_t *rw) in ck_rwlock_read_unlock() 212 struct ck_rwlock rw; member 220 ck_rwlock_recursive_write_lock(ck_rwlock_recursive_t *rw, unsigned int tid) in ck_rwlock_recursive_write_lock() [all …]
|
H A D | ck_swlock.h | 49 ck_swlock_init(struct ck_swlock *rw) in ck_swlock_init() 58 ck_swlock_write_unlock(ck_swlock_t *rw) in ck_swlock_write_unlock() 67 ck_swlock_locked_writer(ck_swlock_t *rw) in ck_swlock_locked_writer() 77 ck_swlock_write_downgrade(ck_swlock_t *rw) in ck_swlock_write_downgrade() 86 ck_swlock_locked(ck_swlock_t *rw) in ck_swlock_locked() 96 ck_swlock_write_trylock(ck_swlock_t *rw) in ck_swlock_write_trylock() 121 ck_swlock_write_latch(ck_swlock_t *rw) in ck_swlock_write_latch() 140 ck_swlock_write_unlatch(ck_swlock_t *rw) in ck_swlock_write_unlatch() 172 ck_swlock_read_lock(ck_swlock_t *rw) in ck_swlock_read_lock() 198 ck_swlock_locked_reader(ck_swlock_t *rw) in ck_swlock_locked_reader() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | rwlock_emul.c | 14 void eMrwlock_read_enter(eMrwlock_t *rw, char *file, int line) in eMrwlock_read_enter() 33 void eMrwlock_write_enter(eMrwlock_t *rw, char *file, int line) in eMrwlock_write_enter() 52 void eMrwlock_try_upgrade(eMrwlock_t *rw, char *file, int line) in eMrwlock_try_upgrade() 70 void eMrwlock_downgrade(eMrwlock_t *rw, char *file, int line) in eMrwlock_downgrade() 90 void eMrwlock_exit(eMrwlock_t *rw) in eMrwlock_exit() 113 void eMrwlock_init(eMrwlock_t *rw, char *who) in eMrwlock_init() 132 void eMrwlock_destroy(eMrwlock_t *rw) in eMrwlock_destroy()
|
/freebsd/sys/kern/ |
H A D | kern_rwlock.c | 138 #define rw_wowner(rw) lv_rw_wowner(RW_READ_VALUE(rw)) argument 144 #define rw_recursed(rw) ((rw)->rw_recurse != 0) argument 149 #define rw_wlocked(rw) (rw_wowner((rw)) == curthread) argument 156 #define rw_owner(rw) rw_wowner(rw) argument 172 struct rwlock *rw; in lock_rw() local 184 struct rwlock *rw; in trylock_rw() local 196 struct rwlock *rw; in unlock_rw() local 213 const struct rwlock *rw = (const struct rwlock *)lock; in owner_rw() local 225 struct rwlock *rw; in _rw_init_flags() local 258 struct rwlock *rw; in _rw_destroy() local [all …]
|
H A D | subr_rtc.c | 157 clock_dbgprint_hdr(device_t dev, int rw) in clock_dbgprint_hdr() 168 clock_dbgprint_bcd(device_t dev, int rw, const struct bcd_clocktime *bct) in clock_dbgprint_bcd() 179 clock_dbgprint_ct(device_t dev, int rw, const struct clocktime *ct) in clock_dbgprint_ct() 190 clock_dbgprint_err(device_t dev, int rw, int err) in clock_dbgprint_err() 200 clock_dbgprint_ts(device_t dev, int rw, const struct timespec *ts) in clock_dbgprint_ts()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_uio.c | 65 zfs_uiomove_iov(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio) in zfs_uiomove_iov() 94 zfs_uiomove_bvec_impl(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio) in zfs_uiomove_bvec_impl() 130 zfs_copy_bvec(void *p, size_t skip, size_t cnt, zfs_uio_rw_t rw, in zfs_copy_bvec() 151 zfs_uiomove_bvec_rq(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio) in zfs_uiomove_bvec_rq() 222 zfs_uiomove_bvec(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio) in zfs_uiomove_bvec() 230 zfs_uiomove_iter(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio, in zfs_uiomove_iter() 265 zfs_uiomove(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio) in zfs_uiomove() 312 zfs_uiocopy(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio, size_t *cbytes) in zfs_uiocopy() 479 zfs_uio_free_dio_pages(zfs_uio_t *uio, zfs_uio_rw_t rw) in zfs_uio_free_dio_pages() 506 zfs_uio_pin_user_pages(zfs_uio_t *uio, zfs_uio_rw_t rw) in zfs_uio_pin_user_pages() [all …]
|
/freebsd/sys/arm/arm/ |
H A D | db_interface.c | 102 db_access_und_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_und_sp() 113 db_access_abt_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_abt_sp() 124 db_access_irq_sp(struct db_variable *vp, db_expr_t *valp, int rw) in db_access_irq_sp() 134 int db_frame(struct db_variable *vp, db_expr_t *valp, int rw) in db_frame()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_uio.c | 74 zfs_uiocopy(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio, size_t *cbytes) in zfs_uiocopy() 176 zfs_uio_rw_t rw, vm_page_t *pages) in zfs_uio_hold_pages() 193 zfs_uio_free_dio_pages(zfs_uio_t *uio, zfs_uio_rw_t rw) in zfs_uio_free_dio_pages() 211 size_t len, zfs_uio_rw_t rw, vm_page_t *pages) in zfs_uio_get_user_pages() 285 zfs_uio_get_dio_pages_alloc(zfs_uio_t *uio, zfs_uio_rw_t rw) in zfs_uio_get_dio_pages_alloc()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | rrwlock.c | 231 rrw_enter(rrwlock_t *rrl, krw_t rw, const void *tag) in rrw_enter() 284 rrw_held(rrwlock_t *rrl, krw_t rw) in rrw_held() 342 rrm_enter(rrmlock_t *rrl, krw_t rw, const void *tag) in rrm_enter() 389 rrm_held(rrmlock_t *rrl, krw_t rw) in rrm_held()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_lock.c | 161 linux_down_read_killable(struct rw_semaphore *rw) in linux_down_read_killable() 174 linux_down_write_killable(struct rw_semaphore *rw) in linux_down_write_killable()
|
/freebsd/sbin/ipf/ipfs/ |
H A D | ipfs.c | 88 int fd, olen, nlen, rw; in changestateif() local 150 int fd, olen, nlen, rw; in changenatif() local 203 int c, lock = -1, devfd = -1, err = 0, rw = -1, ns = -1, set = 0; in main() local
|
/freebsd/contrib/netbsd-tests/rump/kernspace/ |
H A D | lockme.c | 53 krwlock_t rw; in rumptest_lockme() local
|
/freebsd/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_uio.c | 51 uiocopy(void *p, size_t n, enum uio_rw rw, struct uio *uio, size_t *cbytes) in uiocopy()
|
/freebsd/stand/userboot/userboot/ |
H A D | userboot_disk.c | 190 userdisk_strategy(void *devdata, int rw, daddr_t dblk, size_t size, in userdisk_strategy() 205 userdisk_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, in userdisk_realstrategy()
|
/freebsd/tools/test/stress2/misc/ |
H A D | ffs_sync.sh | 242 rw(); function
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | rwlock.h | 140 #define rw_tryenter(rwp, rw) /* CSTYLED */ \ argument 160 #define rw_enter(rwp, rw) /* CSTYLED */ \ argument
|
/freebsd/stand/common/ |
H A D | bcache.c | 187 write_strategy(void *devdata, int rw, daddr_t blk, size_t size, in write_strategy() 211 read_strategy(void *devdata, int rw, daddr_t blk, size_t size, in read_strategy() 391 bcache_strategy(void *devdata, int rw, daddr_t blk, size_t size, in bcache_strategy()
|
H A D | md.c | 85 md_strategy(void *devdata, int rw, daddr_t blk, size_t size, in md_strategy()
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fman_kg.c | 42 uint32_t rw; in build_ar_bind_scheme() local 65 uint32_t rw; in build_ar_bind_cls_plan() local 226 uint32_t rw; in build_ar_scheme() local 243 uint32_t rw; in build_ar_cls_plan() local
|
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | blkdev_compat.h | 359 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags) in bio_set_op_attrs() 485 int rw __attribute__((unused)), struct bio *bio) in blk_generic_start_io_acct() 510 int rw __attribute__((unused)), struct bio *bio, unsigned long start_time) in blk_generic_end_io_acct()
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_lock.h | 72 int32_t rw; member
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_subr.c | 1334 const struct bhndb_regwin *rw; in bhndb_dw_set_addr() local 1440 const struct bhndb_regwin *rw; in bhndb_regwin_count() local 1466 const struct bhndb_regwin *rw; in bhndb_regwin_find_type() local 1497 const struct bhndb_regwin *rw; in bhndb_regwin_find_core() local 1565 const struct bhndb_regwin *rw; in bhndb_regwin_find_best() local
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | File.cpp | 46 File::OpenOptions rw = in GetStreamOpenModeFromOptions() local 315 File::OpenOptions rw = Close() local 742 File::OpenOptions rw = ConvertOpenOptionsForPOSIXOpen() local [all...] |
/freebsd/share/examples/ipfilter/samples/ |
H A D | relay.c | 36 int nfd, n, rw; local
|