Searched refs:lock_bit (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | vfs_vnops.c | 802 file_v_lock(struct file *fp, short lock_bit, short lock_wait_bit) in file_v_lock() argument 810 if ((state & lock_bit) != 0) in file_v_lock() 812 if (atomic_fcmpset_acq_16(flagsp, &state, state | lock_bit)) in file_v_lock() 819 if ((state & lock_bit) == 0) { in file_v_lock() 821 state | lock_bit)) in file_v_lock() 841 file_v_unlock(struct file *fp, short lock_bit, short lock_wait_bit) in file_v_unlock() argument 851 if (atomic_fcmpset_rel_16(flagsp, &state, state & ~lock_bit)) in file_v_unlock() 856 MPASS((*flagsp & lock_bit) != 0); in file_v_unlock() 858 atomic_clear_16(flagsp, lock_bit | lock_wait_bit); in file_v_unlock() 916 file_v_lock_mtxp(struct file *fp, struct mtx *mtxp, short lock_bit, in file_v_lock_mtxp() argument [all …]
|
| /freebsd/sys/dev/mlx5/ |
| H A D | diagnostics.h | 131 int lock_bit; member
|
| /freebsd/sys/dev/sound/pci/ |
| H A D | hdspe.h | 174 uint32_t lock_bit; member
|
| H A D | hdspe.c | 655 else if ((clock->lock_bit & status) != 0) in hdspe_sysctl_sync_status()
|
| /freebsd/sys/dev/mlx5/mlx5_en/ |
| H A D | en.h | 1187 int lock_bit; member
|