/linux-master/drivers/mtd/maps/ |
H A D | vmu-flash.c | 147 if (atomic_read(&mdev->busy) == 1) { 149 atomic_read(&mdev->busy) == 0, HZ); 150 if (atomic_read(&mdev->busy) == 1) { 173 (atomic_read(&mdev->busy) == 0 || 174 atomic_read(&mdev->busy) == 2), HZ * 3); 180 if (error || atomic_read(&mdev->busy) == 2) { 181 if (atomic_read(&mdev->busy) == 2) 252 if (atomic_read(&mdev->busy) == 1) { 254 atomic_read(&mdev->busy) == 0, HZ); 255 if (atomic_read( [all...] |
/linux-master/fs/netfs/ |
H A D | fscache_cookie.c | 43 atomic_read(&cookie->n_active), 44 atomic_read(&cookie->n_accesses), 105 n_accesses = atomic_read(&cookie->n_accesses); 585 n_active, atomic_read(&cookie->n_accesses), 670 unsigned int a = atomic_read(&cookie->n_accesses); 685 a = atomic_read(&cookie->n_accesses); 717 if (atomic_read(&cookie->n_accesses) == 0 && 755 if (atomic_read(&cookie->n_accesses) != 0) 848 n_accesses = atomic_read(&cookie->n_accesses); 863 atomic_read( [all...] |
/linux-master/kernel/debug/ |
H A D | debug_core.c | 501 if (atomic_read(&kgdb_setting_breakpoint)) 519 if (atomic_read(&kgdb_active) != raw_smp_processor_id()) 666 if (atomic_read(&kgdb_cpu_doing_single_step) != -1 && 717 (atomic_read(&masters_in_kgdb) + atomic_read(&slaves_in_kgdb)) != 793 while (kgdb_do_roundup && atomic_read(&slaves_in_kgdb)) 798 if (atomic_read(&kgdb_cpu_doing_single_step) != -1) { 799 int sstep_cpu = atomic_read(&kgdb_cpu_doing_single_step); 941 if (!kgdb_connected || atomic_read(&kgdb_active) != -1 || dbg_kdb_mode)
|
/linux-master/lib/ |
H A D | sbitmap.c | 550 if (!atomic_read(&sbq->ws_active)) 553 wake_index = atomic_read(&sbq->wake_index); 573 if (wake_index != atomic_read(&sbq->wake_index)) 582 if (!atomic_read(&sbq->ws_active)) 586 wakeups = atomic_read(&sbq->wakeup_cnt); 589 if (atomic_read(&sbq->completion_cnt) - wakeups < wake_batch) 675 wake_index = atomic_read(&sbq->wake_index); 705 seq_printf(m, "wake_index=%d\n", atomic_read(&sbq->wake_index)); 706 seq_printf(m, "ws_active=%d\n", atomic_read(&sbq->ws_active));
|
H A D | fault-inject.c | 49 atomic_read(&attr->space), 50 atomic_read(&attr->times)); 131 if (atomic_read(&attr->times) == 0) 137 if (atomic_read(&attr->space) > size) { 155 if (atomic_read(&attr->times) != -1) 269 return snprintf(page, PAGE_SIZE, "%d\n", atomic_read(&val));
|
/linux-master/drivers/connector/ |
H A D | cn_proc.c | 124 if (atomic_read(&proc_event_num_listeners) < 1) 153 if (atomic_read(&proc_event_num_listeners) < 1) 178 if (atomic_read(&proc_event_num_listeners) < 1) 215 if (atomic_read(&proc_event_num_listeners) < 1) 239 if (atomic_read(&proc_event_num_listeners) < 1) 271 if (atomic_read(&proc_event_num_listeners) < 1) 297 if (atomic_read(&proc_event_num_listeners) < 1) 330 if (atomic_read(&proc_event_num_listeners) < 1) 372 if (atomic_read(&proc_event_num_listeners) < 1)
|
H A D | cn_queue.c | 139 while (atomic_read(&dev->refcnt)) { 141 dev->name, atomic_read(&dev->refcnt));
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 223 if (!atomic_read(&d->nfree)) 228 if (atomic_read(&e->refcnt) == 0) 231 for (e = &d->l2tab[1]; atomic_read(&e->refcnt); ++e) ; 267 if (atomic_read(&e->refcnt) == 0) { /* hasn't been recycled */ 338 if (atomic_read(&e->refcnt) == 1) 421 if (atomic_read(&e->refcnt)) {
|
/linux-master/net/batman-adv/ |
H A D | bat_v_elp.c | 52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; 78 throughput = atomic_read(&hard_iface->bat_v.throughput_override); 264 if (atomic_read(&bat_priv->mesh_state) == BATADV_MESH_DEACTIVATING) 281 elp_packet->seqno = htonl(atomic_read(&hard_iface->bat_v.elp_seqno)); 282 elp_interval = atomic_read(&hard_iface->bat_v.elp_interval); 288 atomic_read(&hard_iface->bat_v.elp_seqno));
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_msg_queue.c | 181 if (atomic_read(&msg_queue->lat_list_cnt) == NUM_BUFFER_COUNT) { 183 atomic_read(&msg_queue->lat_list_cnt), 184 atomic_read(&msg_queue->core_list_cnt), 195 atomic_read(&msg_queue->lat_list_cnt), 196 atomic_read(&msg_queue->core_list_cnt)); 274 atomic_read(&msg_queue->core_list_cnt)) {
|
/linux-master/net/rxrpc/ |
H A D | conn_object.c | 228 if (atomic_read(&conn->active) >= 0 && 402 ASSERTCMP(atomic_read(&conn->active), >=, 0); 403 if (likely(atomic_read(&conn->active) > 0)) 415 conn->debug_id, atomic_read(&conn->active), 453 ASSERTCMP(atomic_read(&conn->active), ==, -1); 491 wait_var_event(&rxnet->nr_conns, !atomic_read(&rxnet->nr_conns));
|
/linux-master/fs/gfs2/ |
H A D | log.c | 437 return atomic_read(&sdp->sd_log_blks_free) == sdp->sd_jdesc->jd_blocks; 444 available = atomic_read(&sdp->sd_log_revokes_available); 477 gfs2_assert_withdraw(sdp, atomic_read(&sdp->sd_log_blks_free) <= 479 if (atomic_read(&sdp->sd_log_blks_needed)) 498 free_blocks = atomic_read(&sdp->sd_log_blks_free); 539 (free_blocks = atomic_read(&sdp->sd_log_blks_free), 690 if (atomic_read(&sdp->sd_log_in_flight)) { 694 if (atomic_read(&sdp->sd_log_in_flight)) 696 } while(atomic_read(&sdp->sd_log_in_flight)); 808 unsigned int max_revokes = atomic_read( [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_conn.c | 298 if (!cp && atomic_read(&ip_vs_conn_no_cport_cnt)) { 575 return atomic_read(&dest->activeconns) 576 + atomic_read(&dest->inactconns); 596 conn_flags = atomic_read(&dest->conn_flags); 693 if (pd && atomic_read(&pd->appcnt)) 756 (atomic_read(&dest->weight) == 0); 855 if (atomic_read(&cp->n_control)) 871 if (has_ref && !atomic_read(&ct->n_control) && 908 atomic_read(&cp->n_control)); 1024 if (unlikely(pd && atomic_read( [all...] |
/linux-master/net/nfc/nci/ |
H A D | core.c | 816 if ((atomic_read(&ndev->state) == NCI_DISCOVERY) || 817 (atomic_read(&ndev->state) == NCI_W4_ALL_DISCOVERIES)) { 827 if ((atomic_read(&ndev->state) == NCI_W4_HOST_SELECT) || 828 (atomic_read(&ndev->state) == NCI_POLL_ACTIVE)) { 867 if ((atomic_read(&ndev->state) != NCI_DISCOVERY) && 868 (atomic_read(&ndev->state) != NCI_W4_ALL_DISCOVERIES)) { 889 if ((atomic_read(&ndev->state) != NCI_W4_HOST_SELECT) && 890 (atomic_read(&ndev->state) != NCI_POLL_ACTIVE)) { 923 if (atomic_read(&ndev->state) == NCI_W4_HOST_SELECT) { 968 if (atomic_read( [all...] |
/linux-master/drivers/s390/net/ |
H A D | fsm.h | 147 int state = atomic_read(&fi->state); 215 return atomic_read(&fi->state);
|
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_dev.h | 294 return atomic_read(&ndev->state) == __NDEV_READY; 299 return atomic_read(&vfdev->state) == __NDEV_READY;
|
/linux-master/drivers/misc/ibmasm/ |
H A D | command.c | 47 dbg("command count: %d\n", atomic_read(&command_count)); 58 dbg("command count: %d\n", atomic_read(&command_count));
|
/linux-master/security/tomoyo/ |
H A D | memory.c | 114 atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS) 168 atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS)
|
/linux-master/kernel/debug/kdb/ |
H A D | kdb_debugger.c | 39 kdb_initial_cpu = atomic_read(&kgdb_active); 69 if (atomic_read(&kgdb_setting_breakpoint))
|
/linux-master/arch/csky/kernel/ |
H A D | ftrace.c | 153 if (unlikely(atomic_read(¤t->tracing_graph_pause))) 216 while (atomic_read(¶m->cpu_count) <= num_online_cpus())
|
/linux-master/drivers/md/bcache/ |
H A D | io.c | 110 errors = atomic_read(&ca->io_errors); 151 int congested = atomic_read(&c->congested);
|
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_mgr.c | 117 return atomic_read(&vcrypto_dev->ref_count) != 0; 198 ctr = atomic_read(&tmp_dev->ref_count);
|
/linux-master/arch/powerpc/perf/ |
H A D | 8xx-pmu.c | 42 ctr = atomic_read(&instruction_counter); 44 } while (ctr != atomic_read(&instruction_counter));
|
/linux-master/kernel/ |
H A D | jump_label.c | 97 * The use of 'atomic_read()' requires atomic.h and its problematic for some 110 int n = atomic_read(&key->enabled); 138 v = atomic_read(&key->enabled); 163 if (atomic_read(&key->enabled) == 0) { 197 if (atomic_read(&key->enabled) > 0) { 198 WARN_ON_ONCE(atomic_read(&key->enabled) != 1); 203 if (atomic_read(&key->enabled) == 0) { 228 if (atomic_read(&key->enabled) != 1) { 229 WARN_ON_ONCE(atomic_read(&key->enabled) != 0);
|
/linux-master/fs/configfs/ |
H A D | configfs_internal.h | 147 WARN_ON(!atomic_read(&sd->s_count)); 155 WARN_ON(!atomic_read(&sd->s_count));
|