| /src/sys/kern/ |
| H A D | subr_coverage.c | 97 trace_pc = atomic_load_ptr(&cov_trace_pc); in __sanitizer_cov_trace_pc() 112 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_cmp1() 123 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_cmp2() 134 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_cmp4() 145 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_cmp8() 156 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_const_cmp1() 167 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_const_cmp2() 178 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_const_cmp4() 189 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_const_cmp8() 207 trace_cmp = atomic_load_ptr(&cov_trace_cmp); in __sanitizer_cov_trace_switch()
|
| H A D | kern_rangelock.c | 92 v = atomic_load_ptr(&lock->head); in rangelock_cheat_drain() 109 v = atomic_load_ptr(&lock->head); in rangelock_cheat_lock() 193 v = atomic_load_ptr(&lock->head); in rangelock_cheat_unlock() 262 v = atomic_load_ptr(&lock->head); in rangelock_cheat_destroy() 781 v = atomic_load_ptr(&lock->head); in rangelock_may_recurse()
|
| H A D | subr_clockcalib.c | 41 struct timecounter *tc = atomic_load_ptr(&timecounter); in clockcalib()
|
| H A D | vfs_cache.c | 2498 if (atomic_load_ptr(&dvp->v_cache_dd) == NULL) in cache_enter_dotdot_prep() 3009 atomic_load_ptr(&vp->v_cache_dd) == NULL) in cache_has_entries() 3708 mp = atomic_load_ptr(&vp->v_mount); in vn_fullpath_any_smr() 3713 tvp = atomic_load_ptr(&mp->mnt_vnodecovered); in vn_fullpath_any_smr() 3759 if (__predict_false(atomic_load_ptr(&vp->v_cache_dd) != ncp)) { in vn_fullpath_any_smr() 4856 mp = atomic_load_ptr(&dvp->v_mount); in cache_fplookup_final_modifying() 5454 if (__predict_false(atomic_load_ptr(&dvp->v_cache_dd) != ncp)) { in cache_fplookup_dotdot() 5582 mp = atomic_load_ptr(&dvp->v_mount); in cache_fplookup_symlink() 5622 mp = atomic_load_ptr(&fpl->dvp->v_mount); in cache_fplookup_symlink() 5667 tvp = atomic_load_ptr(&ncp->nc_vp); in cache_fplookup_next() [all …]
|
| H A D | kern_rmlock.c | 1028 MPASS(atomic_load_ptr(&rms->owner) != curthread); in rms_rlock() 1051 MPASS(atomic_load_ptr(&rms->owner) != curthread); in rms_try_rlock() 1196 MPASS(atomic_load_ptr(&rms->owner) != curthread); in rms_wlock()
|
| H A D | kern_descrip.c | 965 mp = atomic_load_ptr(&vp->v_mount); in kern_fcntl() 1530 fdt = atomic_load_ptr(&fdp->fd_files); in close_range_flags() 1556 fdt = atomic_load_ptr(&fdp->fd_files); in close_range_impl() 1573 fdt = atomic_load_ptr(&fdp->fd_files); in close_range_impl() 2399 fdp = atomic_load_ptr(&p->p_fd); in fdhold() 2411 pdp = atomic_load_ptr(&p->p_pd); in pdhold() 3180 fdt = atomic_load_ptr(&fdp->fd_files); in fget_remote_foreach() 3429 fdt = atomic_load_ptr(&fdp->fd_files); in fget_unlocked_seq() 3436 fdt = atomic_load_ptr(&fdp->fd_files); in fget_unlocked_seq() 3440 fdt = atomic_load_ptr(&fdp->fd_files); in fget_unlocked_seq() [all …]
|
| H A D | kern_osd.c | 291 value = atomic_load_ptr(&osd->osd_slots[slot - 1]); in osd_get_unlocked()
|
| /src/sys/netipsec/ |
| H A D | ipsec_offload.h | 84 p = atomic_load_ptr(&ipsec_accel_sa_newkey_p); in ipsec_accel_sa_newkey() 94 p = atomic_load_ptr(&ipsec_accel_forget_sav_p); in ipsec_accel_forget_sav() 104 p = atomic_load_ptr(&ipsec_accel_spdadd_p); in ipsec_accel_spdadd() 114 p = atomic_load_ptr(&ipsec_accel_spddel_p); in ipsec_accel_spddel() 127 p = atomic_load_ptr(&ipsec_accel_sa_lifetime_op_p); in ipsec_accel_sa_lifetime_op() 138 p = atomic_load_ptr(&ipsec_accel_sync_p); in ipsec_accel_sync() 148 p = atomic_load_ptr(&ipsec_accel_is_accel_sav_p); in ipsec_accel_is_accel_sav() 159 p = atomic_load_ptr(&ipsec_accel_key_setaccelif_p); in ipsec_accel_key_setaccelif() 170 p = atomic_load_ptr(&ipsec_accel_fill_xh_p); in ipsec_accel_fill_xh()
|
| /src/sys/sys/ |
| H A D | smr_types.h | 74 (__typeof((p)->__ptr))atomic_load_ptr( \ 115 (__typeof((p)->__ptr))atomic_load_ptr(&(p)->__ptr); \
|
| H A D | atomic_common.h | 127 #define atomic_load_ptr(p) (*(const volatile __typeof(*p) *)(p)) macro
|
| H A D | queue.h | 291 (atomic_load_ptr(&(head)->slh_first) == NULL) 459 (atomic_load_ptr(&(head)->stqh_first) == NULL) 681 (atomic_load_ptr(&(head)->lh_first) == NULL) 902 (atomic_load_ptr(&(head)->tqh_first) == NULL)
|
| H A D | atomic_san.h | 268 #define atomic_load_ptr(x) \ macro
|
| /src/sys/dev/wg/ |
| H A D | wg_noise.c | 568 kp = atomic_load_ptr(&r->r_next); in noise_remote_keypairs_clear() 572 kp = atomic_load_ptr(&r->r_current); in noise_remote_keypairs_clear() 576 kp = atomic_load_ptr(&r->r_previous); in noise_remote_keypairs_clear() 591 kp = atomic_load_ptr(&r->r_next); in noise_remote_expire_current() 594 kp = atomic_load_ptr(&r->r_current); in noise_remote_expire_current() 610 next = atomic_load_ptr(&r->r_next); in noise_add_new_keypair() 611 current = atomic_load_ptr(&r->r_current); in noise_add_new_keypair() 612 previous = atomic_load_ptr(&r->r_previous); in noise_add_new_keypair() 708 kp = atomic_load_ptr(&r->r_current); in noise_keypair_current() 732 if (kp != atomic_load_ptr(&r->r_next)) in noise_keypair_received_with() [all …]
|
| /src/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | atomic.h | 81 atomic_load_ptr(volatile void *target) in atomic_load_ptr() function 104 atomic_load_ptr(volatile void *target) in atomic_load_ptr() function
|
| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zvol_os.c | 726 zv = atomic_load_ptr(&disk->private_data); in zvol_open() 728 zv = atomic_load_ptr(&bdev->bd_disk->private_data); in zvol_open() 754 zv = atomic_load_ptr(&disk->private_data); in zvol_open() 756 zv = atomic_load_ptr(&bdev->bd_disk->private_data); in zvol_open() 878 zvol_state_t *zv = atomic_load_ptr(&disk->private_data); in zvol_release() 933 zvol_state_t *zv = atomic_load_ptr(&bdev->bd_disk->private_data); in zvol_ioctl() 987 zvol_state_t *zv = atomic_load_ptr(&disk->private_data); in zvol_check_events() 1002 zvol_state_t *zv = atomic_load_ptr(&disk->private_data); in zvol_revalidate_disk() 1038 zvol_state_t *zv = atomic_load_ptr(&disk->private_data); in zvol_getgeo_impl()
|
| /src/sys/netlink/route/ |
| H A D | nexthop.c | 156 struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl); in nl_find_nhop() 626 if (atomic_load_ptr(&V_un_ctl) == NULL) in vnet_init_unhops() 637 struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl); in vnet_destroy_unhops() 969 struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl); in rtnl_handle_delnhop() 1026 struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl); in rtnl_handle_getnhop() 1074 struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl); in rtnl_handle_getnhop()
|
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zvol_os.c | 229 zv = atomic_load_ptr(&pp->private); in zvol_geom_open() 254 zv = atomic_load_ptr(&pp->private); in zvol_geom_open() 351 zv = atomic_load_ptr(&pp->private); in zvol_geom_close() 451 if (atomic_load_ptr(&pp->private) == NULL) { in zvol_geom_access() 918 zv = atomic_load_ptr(&dev->si_drv2); in zvol_cdev_open() 1021 zv = atomic_load_ptr(&dev->si_drv2); in zvol_cdev_close() 1097 zv = atomic_load_ptr(&dev->si_drv2); in zvol_cdev_ioctl()
|
| /src/sys/contrib/openzfs/lib/libspl/include/ |
| H A D | atomic.h | 256 #define atomic_load_ptr(p) (*(volatile __typeof(*p) *)(p)) macro
|
| /src/sys/amd64/amd64/ |
| H A D | trap.c | 1019 hook = atomic_load_ptr(hookp); in trap_user_dtrace() 1162 p = atomic_load_ptr(&syscall_ret_l1d_flush); in amd64_syscall_ret_flush_l1d_check()
|
| /src/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 340 lowermp = atomic_load_ptr(&mntdata->nullm_vfs); in nullfs_quotactl()
|
| /src/sys/vm/ |
| H A D | vm_pageout.c | 770 object = atomic_load_ptr(&m->object); in vm_pageout_launder() 1238 object = atomic_load_ptr(&m->object); in vm_pageout_scan_active() 1500 object = atomic_load_ptr(&m->object); in vm_pageout_scan_inactive()
|
| /src/sys/ufs/ufs/ |
| H A D | ufs_acl.c | 671 mp = atomic_load_ptr(&ap->a_vp->v_mount); in ufs_aclcheck()
|
| /src/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 466 uppermp = atomic_load_ptr(&ump->um_uppermp); in unionfs_quotactl()
|
| /src/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 108 obj = atomic_load_ptr(&vp->v_object); in tmpfs_update_mtime_lazy_filter()
|
| /src/sys/i386/i386/ |
| H A D | trap.c | 977 hook = atomic_load_ptr(hookp); in trap_user_dtrace()
|