Searched refs:atomic_read (Results 476 - 500 of 1859) sorted by relevance

<<11121314151617181920>>

/linux-master/net/ipv6/
H A Dip6_flowlabel.c163 if (atomic_read(&fl->users) == 0) {
180 if (!sched && atomic_read(&fl_size))
201 atomic_read(&fl->users) == 0) {
475 int room = FL_MAX_SIZE - atomic_read(&fl_size);
853 atomic_read(&fl->users),
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c433 if (atomic_read(&adev->uvd.handles[i]))
526 uint32_t handle = atomic_read(&adev->uvd.handles[i]);
852 if (atomic_read(&adev->uvd.handles[i]) == handle) {
876 if (atomic_read(&adev->uvd.handles[i]) == handle) {
1376 if (atomic_read(&adev->uvd.handles[i]))
/linux-master/drivers/md/bcache/
H A Djournal.c360 BUG_ON(i->pin && atomic_read(i->pin) != 1);
438 ref_nr = atomic_read(fifo_front_p);
475 ref_nr = atomic_read(fifo_front_p);
601 switch (atomic_read(&ja->discard_in_flight)) {
659 while (!atomic_read(&fifo_front(&c->journal.pin)))
/linux-master/net/batman-adv/
H A Drouting.c547 if (!(recv_if == BATADV_IF_DEFAULT && atomic_read(&bat_priv->bonding)))
758 orig_ttvn = (u8)atomic_read(&bat_priv->tt.vn);
769 orig_ttvn = (u8)atomic_read(&orig_node->last_ttvn);
838 curr_ttvn = (u8)atomic_read(&bat_priv->tt.vn);
849 curr_ttvn = (u8)atomic_read(&orig_node->last_ttvn);
H A Dsend.c194 if (atomic_read(&bat_priv->fragmentation) &&
238 u8 ttvn = (u8)atomic_read(&orig_node->last_ttvn);
1065 if (atomic_read(&bat_priv->mesh_state) == BATADV_MESH_DEACTIVATING) {
H A Dhard-interface.c600 if (atomic_read(&bat_priv->fragmentation) == 0)
754 if (atomic_read(&bat_priv->fragmentation) &&
761 if (!atomic_read(&bat_priv->fragmentation) &&
H A Dgateway_client.c174 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT)
206 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT)
711 switch (atomic_read(&bat_priv->gw.mode)) {
/linux-master/drivers/s390/scsi/
H A Dzfcp_fc.c184 if ((atomic_read(&wka_port->refcount) != 0) ||
529 !(atomic_read(&port->status) & ZFCP_STATUS_COMMON_OPEN)) {
599 if (atomic_read(&port->status) & ZFCP_STATUS_PORT_LINK_TEST)
717 if (!(atomic_read(&port->status) & ZFCP_STATUS_COMMON_NOESC))
1086 if (!(atomic_read(&adapter->status) & ZFCP_STATUS_COMMON_OPEN))
/linux-master/drivers/gpu/drm/radeon/
H A Drs600.c686 if (atomic_read(&rdev->irq.ring_int[RADEON_RING_TYPE_GFX_INDEX])) {
690 atomic_read(&rdev->irq.pflip[0])) {
694 atomic_read(&rdev->irq.pflip[1])) {
804 if (atomic_read(&rdev->irq.pflip[0]))
813 if (atomic_read(&rdev->irq.pflip[1]))
H A Dradeon_uvd.c259 uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
333 uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
508 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
534 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
849 if (!atomic_read(&rdev->uvd.handles[i]))
H A Dradeon_vce.c204 if (atomic_read(&rdev->vce.handles[i]))
319 uint32_t handle = atomic_read(&rdev->vce.handles[i]);
527 if (atomic_read(&p->rdev->vce.handles[i]) == handle) {
/linux-master/drivers/spi/
H A Dspi-rockchip.c280 if (atomic_read(&rs->state) & TXDMA)
283 if (atomic_read(&rs->state) & RXDMA)
616 if (atomic_read(&rs->state) & RXDMA) {
647 if (atomic_read(&rs->state) & RXDMA)
649 if (atomic_read(&rs->state) & TXDMA)
/linux-master/fs/ext2/
H A Dxattr.c225 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount));
311 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount));
450 atomic_read(&(bh->b_count)),
848 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count)));
967 atomic_read(&(bh->b_count)));
/linux-master/fs/dlm/
H A Dmidcomms.c266 return atomic_read(&node->send_queue_cnt);
408 oval = atomic_read(&node->ulp_delivered);
419 dlm_send_ack(node->nodeid, atomic_read(&node->seq_next));
526 oval = atomic_read(&node->seq_next);
1156 WARN_ON_ONCE(atomic_read(&node->send_queue_cnt));
/linux-master/kernel/bpf/
H A Dmemalloc.c759 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress);
760 rcu_in_progress += atomic_read(&c->call_rcu_in_progress);
774 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress);
775 rcu_in_progress += atomic_read(&c->call_rcu_in_progress);
885 if (!atomic_read(&c->call_rcu_in_progress))
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c3323 atomic_read(&t->conns_in_use));
3335 atomic_read(&t->tids_in_use),
3336 atomic_read(&t->hash_tids_in_use));
3344 atomic_read(&t->tids_in_use),
3345 atomic_read(&t->hash_tids_in_use));
3351 atomic_read(&t->hash_tids_in_use));
3355 atomic_read(&t->conns_in_use));
3360 atomic_read(&t->tids_in_use));
3387 atomic_read(&t->eotids_in_use));
3538 atomic_read(
[all...]
/linux-master/kernel/rcu/
H A Drcutorture.c426 if (!atomic_read(&rcu_fwd_cb_nodelay) &&
1587 !atomic_read(&rcu_fwd_cb_nodelay) &&
2210 atomic_read(&n_rcu_torture_alloc),
2211 atomic_read(&n_rcu_torture_alloc_fail),
2212 atomic_read(&n_rcu_torture_free));
2214 atomic_read(&n_rcu_torture_mberror),
2215 atomic_read(&n_rcu_torture_mbchk_fail), atomic_read(&n_rcu_torture_mbchk_tries),
2232 if (atomic_read(&n_rcu_torture_mberror) ||
2233 atomic_read(
[all...]
/linux-master/sound/usb/usx2y/
H A Dus122l.c100 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count));
144 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count));
620 while (atomic_read(&us122l->mmap_count))
/linux-master/drivers/target/
H A Dtarget_core_tpg.c285 while (atomic_read(&nacl->acl_pr_ref_count) != 0)
332 if (sess->cmd_cnt && atomic_read(&sess->cmd_cnt->stopped))
577 while (atomic_read(&se_tpg->tpg_pr_ref_count) != 0)
/linux-master/drivers/misc/
H A Dphantom.c263 pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter));
268 else if (atomic_read(&dev->counter))
271 pr_debug("phantom_poll end: %x/%d\n", mask, atomic_read(&dev->counter));
/linux-master/drivers/md/
H A Ddm-region-hash.c249 BUG_ON(atomic_read(&reg->pending));
615 if (atomic_read(&reg->pending))
683 return atomic_read(&rh->recovery_in_flight);
H A Ddm-log-userspace-base.c333 if (atomic_read(&lc->sched_flush))
370 if (lc->integrated_flush && atomic_read(&lc->sched_flush))
604 if (mark_list_is_empty && !atomic_read(&lc->sched_flush)) {
/linux-master/drivers/macintosh/
H A Dadb.c629 if (atomic_read(&state->n_pending) == 0) {
703 if (atomic_read(&state->n_pending) == 0
739 else if (atomic_read(&state->n_pending) == 0)
/linux-master/drivers/scsi/
H A Dscsi.c172 if (atomic_read(&shost->host_blocked))
174 if (atomic_read(&starget->target_blocked))
176 if (atomic_read(&sdev->device_blocked))
/linux-master/drivers/accel/ivpu/
H A Divpu_ipc.c421 if (atomic_read(&ipc->rx_msg_count) > IPC_MAX_RX_MSG) {
526 drm_WARN_ON(&vdev->drm, atomic_read(&ipc->rx_msg_count) > 0);
564 drm_WARN_ON(&vdev->drm, atomic_read(&ipc->rx_msg_count) > 0);

Completed in 428 milliseconds

<<11121314151617181920>>