/linux-4.1.27/drivers/net/wireless/ath/ |
D | key.c | 391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip() 392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip() 395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip() 396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip() 416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot() 418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot() 419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot() 421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot() 422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot() [all …]
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 49 if (!test_bit(FLAG_EXPORT, &desc->flags)) { in gpio_direction_show() 54 test_bit(FLAG_IS_OUT, &desc->flags) in gpio_direction_show() 70 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpio_direction_store() 96 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpio_value_show() 113 if (!test_bit(FLAG_EXPORT, &desc->flags)) in gpio_value_store() 115 else if (!test_bit(FLAG_IS_OUT, &desc->flags)) in gpio_value_store() 170 if (test_bit(FLAG_TRIG_FALL, &gpio_flags)) in gpio_setup_irq() 171 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq() 173 if (test_bit(FLAG_TRIG_RISE, &gpio_flags)) in gpio_setup_irq() 174 irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ? in gpio_setup_irq() [all …]
|
D | gpiolib.c | 344 if (test_bit(FLAG_REQUESTED, &chip->desc[id].flags)) in gpiochip_remove() 861 if (chip && test_bit(FLAG_REQUESTED, &desc->flags)) { in __gpiod_free() 911 if (test_bit(FLAG_REQUESTED, &desc->flags) == 0) in gpiochip_is_requested() 1013 if (test_bit(FLAG_USED_AS_IRQ, &desc->flags)) { in _gpiod_direction_output_raw() 1021 if (value && test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in _gpiod_direction_output_raw() 1025 if (!value && test_bit(FLAG_OPEN_SOURCE, &desc->flags)) in _gpiod_direction_output_raw() 1083 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_direction_output() 1126 return test_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpiod_is_active_low() 1204 if (test_bit(FLAG_ACTIVE_LOW, &desc->flags)) in gpiod_get_value() 1271 if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) in _gpiod_set_raw_value() [all …]
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00link.c | 255 if (test_bit(DEVICE_STATE_SCANNING, &rt2x00dev->flags)) in rt2x00link_start_tuner() 260 if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00link_start_tuner() 275 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00link_reset_tuner() 328 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags) || in rt2x00link_tuner() 329 test_bit(DEVICE_STATE_SCANNING, &rt2x00dev->flags)) in rt2x00link_tuner() 375 if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00link_tuner() 384 if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags) && in rt2x00link_start_watchdog() 406 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00link_watchdog() 411 if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00link_watchdog() 421 if (test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags) && in rt2x00link_start_agc() [all …]
|
D | rt2x00dev.c | 60 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_enable_radio() 141 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_intf_scheduled_iter() 171 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00lib_autowakeup() 227 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_beacondone() 251 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_pretbtt() 379 test_bit(TXDONE_SUCCESS, &txdesc->flags) || in rt2x00lib_txdone() 380 test_bit(TXDONE_UNKNOWN, &txdesc->flags); in rt2x00lib_txdone() 390 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? in rt2x00lib_txdone() 439 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || in rt2x00lib_txdone() 531 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00lib_sleep() [all …]
|
D | rt2x00mac.c | 115 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_tx() 180 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_start() 191 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_stop() 211 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags) || in rt2x00mac_add_interface() 212 !test_bit(DEVICE_STATE_STARTED, &rt2x00dev->flags)) in rt2x00mac_add_interface() 277 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags) || in rt2x00mac_remove_interface() 311 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_config() 422 if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00mac_set_tim() 467 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_set_key() 618 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00mac_bss_info_changed() [all …]
|
D | rt2800mmio.c | 75 !test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2800mmio_write_tx_desc() 77 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); in rt2800mmio_write_tx_desc() 90 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); in rt2800mmio_write_tx_desc() 202 !test_bit(ENTRY_DATA_STATUS_SET, &entry->flags)) { in rt2800mmio_txdone_find_entry() 224 if (!test_bit(ENTRY_DATA_STATUS_SET, &entry->flags)) { in rt2800mmio_txdone_match_first() 240 if (test_bit(ENTRY_DATA_STATUS_SET, &entry->flags)) { in rt2800mmio_txdone_release_entries() 358 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2800mmio_pretbtt_tasklet() 393 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2800mmio_tbtt_tasklet() 403 else if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2800mmio_rxdone_tasklet() 412 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2800mmio_autowake_tasklet() [all …]
|
D | rt2x00usb.c | 50 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00usb_vendor_request() 144 if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00usb_regbusy_read() 228 if (test_bit(ENTRY_DATA_IO_FAILED, &entry->flags)) in rt2x00usb_work_txdone_entry() 245 if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) || in rt2x00usb_work_txdone() 246 !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2x00usb_work_txdone() 259 if (!test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags)) in rt2x00usb_interrupt_txdone() 291 test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2x00usb_kick_tx_entry() 341 if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) || in rt2x00usb_work_rxdone() 342 !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2x00usb_work_rxdone() 395 test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2x00usb_kick_rx_entry() [all …]
|
D | rt2x00queue.c | 208 if (test_bit(CONFIG_QOS_DISABLED, &rt2x00dev->flags)) in rt2x00queue_create_tx_descriptor_seq() 226 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_seq() 251 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_plcp() 338 if (test_bit(CONFIG_HT_DISABLED, &rt2x00dev->flags)) { in rt2x00queue_create_tx_descriptor_ht() 462 !test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)) in rt2x00queue_create_tx_descriptor() 563 !test_bit(ENTRY_TXD_BURST, &txdesc->flags)) in rt2x00queue_kick_tx_queue() 647 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc.flags) && in rt2x00queue_write_tx_frame() 648 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc.flags)) { in rt2x00queue_write_tx_frame() 913 if (!test_bit(DEVICE_STATE_PRESENT, &queue->rt2x00dev->flags) || in rt2x00queue_pause_queue() 914 !test_bit(QUEUE_STARTED, &queue->flags) || in rt2x00queue_pause_queue() [all …]
|
D | rt2800usb.c | 123 if (!test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2800usb_entry_txstatus_timeout() 513 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); in rt2800usb_write_tx_desc() 518 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); in rt2800usb_write_tx_desc() 561 if (test_bit(ENTRY_DATA_IO_FAILED, &entry->flags)) in rt2800usb_txdone_entry_check() 614 if (unlikely(test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) || in rt2800usb_txdone() 615 !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags))) { in rt2800usb_txdone() 645 if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) || in rt2800usb_txdone_nostatus() 646 !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) in rt2800usb_txdone_nostatus() 649 if (test_bit(ENTRY_DATA_IO_FAILED, &entry->flags)) in rt2800usb_txdone_nostatus()
|
/linux-4.1.27/drivers/md/ |
D | raid5.c | 246 test_bit(STRIPE_BIOFILL_RUN, &sh->state) || in stripe_operations_active() 247 test_bit(STRIPE_COMPUTE_RUN, &sh->state); in stripe_operations_active() 298 if (test_bit(STRIPE_HANDLE, &sh->state)) { in do_release_stripe() 299 if (test_bit(STRIPE_DELAYED, &sh->state) && in do_release_stripe() 300 !test_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in do_release_stripe() 302 else if (test_bit(STRIPE_BIT_DELAY, &sh->state) && in do_release_stripe() 323 if (!test_bit(STRIPE_EXPANDING, &sh->state)) in do_release_stripe() 527 BUG_ON(test_bit(STRIPE_HANDLE, &sh->state)); in init_stripe() 545 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe() 549 test_bit(R5_LOCKED, &dev->flags)); in init_stripe() [all …]
|
D | raid1.c | 122 if (test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery)) in r1buf_pool_alloc() 134 if (!test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery)) { in r1buf_pool_alloc() 257 if (!test_bit(R1BIO_Uptodate, &r1_bio->state)) in call_bio_endio() 317 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid1_end_read_request() 339 test_bit(In_sync, &conf->mirrors[mirror].rdev->flags))) in raid1_end_read_request() 368 if (test_bit(R1BIO_BehindIO, &r1_bio->state)) { in close_write() 379 !test_bit(R1BIO_Degraded, &r1_bio->state), in close_write() 380 test_bit(R1BIO_BehindIO, &r1_bio->state)); in close_write() 389 if (test_bit(R1BIO_WriteError, &r1_bio->state)) in r1_bio_write_done() 393 if (test_bit(R1BIO_MadeGood, &r1_bio->state)) in r1_bio_write_done() [all …]
|
D | raid10.c | 150 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in r10buf_pool_alloc() 151 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in r10buf_pool_alloc() 179 if (j > 0 && !test_bit(MD_RECOVERY_SYNC, in r10buf_pool_alloc() 309 if (!test_bit(R10BIO_Uptodate, &r10_bio->state)) in raid_end_bio_io() 363 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_read_request() 394 if (!_enough(conf, test_bit(R10BIO_Previous, &r10_bio->state), in raid10_end_read_request() 421 !test_bit(R10BIO_Degraded, &r10_bio->state), in close_write() 429 if (test_bit(R10BIO_WriteError, &r10_bio->state)) in one_write_done() 433 if (test_bit(R10BIO_MadeGood, &r10_bio->state)) in one_write_done() 443 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in raid10_end_write_request() [all …]
|
D | dm-raid.c | 255 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in dev_parms() 282 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in dev_parms() 388 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy() 428 !test_bit(In_sync, &rs->dev[d].rdev.flags)) && in validate_raid_redundancy() 454 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy() 819 test_bit(Faulty, &(rs->dev[i].rdev.flags))) in super_sync() 875 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load() 964 if (!test_bit(In_sync, &r->flags)) { in super_init_validation() 968 } else if (test_bit(FirstUse, &r->flags)) in super_init_validation() 1004 if (!test_bit(FirstUse, &r->flags) && (r->raid_disk >= 0)) { in super_init_validation() [all …]
|
D | md.c | 408 !test_bit(Faulty, &rdev->flags)) { in submit_flushes() 738 if (error || !test_bit(BIO_UPTODATE, &bio->bi_flags)) { in super_written() 740 error, test_bit(BIO_UPTODATE, &bio->bi_flags)); in super_written() 741 WARN_ON(test_bit(BIO_UPTODATE, &bio->bi_flags)); in super_written() 796 ret = test_bit(BIO_UPTODATE, &bio->bi_flags); in sync_page_io() 1261 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1271 test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1287 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync() 1291 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1300 if (test_bit(WriteMostly, &rdev2->flags)) in super_90_sync() [all …]
|
D | dm-bufio.c | 674 BUG_ON(!test_bit(B_WRITING, &b->state)); in write_endio() 695 if (!test_bit(B_DIRTY, &b->state)) in __write_dirty_buffer() 747 BUG_ON(test_bit(B_WRITING, &b->state)); in __get_unclaimed_buffer() 748 BUG_ON(test_bit(B_DIRTY, &b->state)); in __get_unclaimed_buffer() 759 BUG_ON(test_bit(B_READING, &b->state)); in __get_unclaimed_buffer() 886 BUG_ON(test_bit(B_READING, &b->state)); in __write_dirty_buffers_async() 888 if (!test_bit(B_DIRTY, &b->state) && in __write_dirty_buffers_async() 889 !test_bit(B_WRITING, &b->state)) { in __write_dirty_buffers_async() 894 if (no_wait && test_bit(B_WRITING, &b->state)) in __write_dirty_buffers_async() 1016 if (nf == NF_GET && unlikely(test_bit(B_READING, &b->state))) in __bufio_new() [all …]
|
D | multipath.c | 46 if (rdev && test_bit(In_sync, &rdev->flags)) { in multipath_map() 86 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); in multipath_end_request() 154 test_bit(In_sync, &conf->multipaths[i].rdev->flags) ? "U" : "_"); in multipath_status() 166 if (rdev && !test_bit(Faulty, &rdev->flags)) { in multipath_congested() 236 i,!test_bit(Faulty, &tmp->rdev->flags), in print_multipath_conf() 300 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk() 446 if (!test_bit(Faulty, &rdev->flags)) in multipath_run()
|
D | bitmap.c | 155 if (! test_bit(In_sync, &rdev->flags) in read_sb_page() 156 || test_bit(Faulty, &rdev->flags)) in read_sb_page() 196 !test_bit(Faulty, &rdev->flags)) { in next_active_rdev() 310 if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags)) in write_page() 406 if (test_bit(BITMAP_WRITE_ERROR, &bitmap->flags)) in read_page() 696 if (test_bit(BITMAP_STALE, &bitmap->flags)) in bitmap_read_sb() 888 return test_bit((pnum<<2) + attr, bitmap->storage.filemap_attr); in test_page_attr() 918 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags)) in bitmap_file_set_bit() 940 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags)) in bitmap_file_clear_bit() 964 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags)) in bitmap_file_test_bit() [all …]
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | ipipe.c | 105 if (unlikely(test_bit(IPIPE_STICKY_FLAG, &idesc->control))) in __ipipe_handle_irq() 111 if (likely(test_bit(IPIPE_WIRED_FLAG, &idesc->control))) { in __ipipe_handle_irq() 114 if (test_bit(IPIPE_SYNCDEFER_FLAG, &p->status)) in __ipipe_handle_irq() 128 if (test_bit(IPIPE_HANDLE_FLAG, &idesc->control)) { in __ipipe_handle_irq() 135 if (!test_bit(IPIPE_PASS_FLAG, &idesc->control)) in __ipipe_handle_irq() 148 if (test_bit(IPIPE_SYNCDEFER_FLAG, &p->status)) in __ipipe_handle_irq() 156 if (test_bit(IPIPE_AHEAD_FLAG, &this_domain->flags) && in __ipipe_handle_irq() 270 && !test_bit(irq - IPIPE_VIRQ_BASE, &__ipipe_virtual_irq_map))) in ipipe_trigger_irq() 306 test_bit(IPIPE_SYNCDEFER_FLAG, &ipipe_root_cpudom_var(status))) in ___ipipe_sync_pipeline() 370 x = test_bit(IPIPE_STALL_FLAG, p); in __ipipe_test_root()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | ps.c | 52 if (unlikely(!test_bit(WL1271_FLAG_ELP_REQUESTED, &wl->flags))) in wl1271_elp_work() 55 if (test_bit(WL1271_FLAG_IN_ELP, &wl->flags)) in wl1271_elp_work() 59 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && in wl1271_elp_work() 60 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_elp_work() 95 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && in wl1271_ps_elp_sleep() 96 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_ps_elp_sleep() 125 if (!test_bit(WL1271_FLAG_IN_ELP, &wl->flags)) in wl1271_ps_elp_wakeup() 135 if (test_bit(WL1271_FLAG_IRQ_RUNNING, &wl->flags)) in wl1271_ps_elp_wakeup() 282 if (!test_bit(hlid, wlvif->ap.sta_hlid_map) || in wl12xx_ps_link_start() 283 test_bit(hlid, &wl->ap_ps_map)) in wl12xx_ps_link_start() [all …]
|
D | io.h | 63 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || in wlcore_raw_write() 64 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl->flags) && in wlcore_raw_write() 81 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || in wlcore_raw_read() 82 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl->flags) && in wlcore_raw_read() 212 if (!test_bit(WL1271_FLAG_GPIO_POWER, &wl->flags)) in wl1271_power_off()
|
D | event.c | 121 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_ba_rx_constraint() 124 wlvif->ba_allowed = !!test_bit(wlvif->role_id, in wlcore_event_ba_rx_constraint() 144 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_channel_switch() 189 if (!test_bit(h, wlvif->ap.sta_hlid_map)) in wlcore_disconnect_sta() 247 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_beacon_loss()
|
D | main.c | 65 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) in wl12xx_set_authorized() 120 if (!test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags)) in wl1271_recalc_rx_streaming() 125 test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags) && in wl1271_recalc_rx_streaming() 127 test_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags))) in wl1271_recalc_rx_streaming() 147 if (test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags) || in wl1271_rx_streaming_enable_work() 148 !test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags) || in wl1271_rx_streaming_enable_work() 150 !test_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags))) in wl1271_rx_streaming_enable_work() 183 if (!test_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif->flags)) in wl1271_rx_streaming_disable_work() 349 fw_ps = test_bit(hlid, &wl->ap_fw_ps_map); in wl12xx_irq_ps_regulate_link() 603 if (!test_bit(WL1271_FLAG_FW_TX_BUSY, &wl->flags) && in wlcore_irq_locked() [all …]
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-is-param.c | 186 if (test_bit(PARAM_GLOBAL_SHOTMODE, p_index)) in __is_hw_update_params() 189 if (test_bit(PARAM_SENSOR_FRAME_RATE, p_index)) in __is_hw_update_params() 193 if (test_bit(i, p_index)) in __is_hw_update_params() 198 if (test_bit(i, p_index)) in __is_hw_update_params() 203 if (test_bit(i, p_index)) in __is_hw_update_params() 244 if (test_bit(PARAM_ISP_OTF_INPUT, in __is_set_frame_size() 402 if (!test_bit(PARAM_ISP_ADJUST, p_index)) { in __is_set_isp_adjust() 440 if (!test_bit(PARAM_ISP_METERING, p_index)) { in __is_set_isp_metering() 483 if (!test_bit((PARAM_FD_CONFIG - 32), p_index)) in __is_set_fd_control() 498 if (!test_bit((PARAM_FD_CONFIG - 32), p_index)) { in __is_set_fd_config_maxface() [all …]
|
D | fimc-core.h | 79 #define fimc_m2m_active(dev) test_bit(ST_M2M_RUN, &(dev)->state) 80 #define fimc_m2m_pending(dev) test_bit(ST_M2M_PEND, &(dev)->state) 82 #define fimc_capture_running(dev) test_bit(ST_CAPT_RUN, &(dev)->state) 83 #define fimc_capture_pending(dev) test_bit(ST_CAPT_PEND, &(dev)->state) 84 #define fimc_capture_busy(dev) test_bit(ST_CAPT_BUSY, &(dev)->state)
|
/linux-4.1.27/drivers/bluetooth/ |
D | hci_ldisc.c | 168 if (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)) in hci_uart_write_work() 195 if (!test_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_init_ready() 232 if (test_bit(HCI_UART_PROTO_SET, &hu->flags)) in hci_uart_flush() 256 if (!test_bit(HCI_RUNNING, &hdev->flags)) in hci_uart_send_frame() 277 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup() 390 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_tty_close() 422 if (test_bit(HCI_UART_PROTO_SET, &hu->flags)) in hci_uart_tty_wakeup() 446 if (!test_bit(HCI_UART_PROTO_SET, &hu->flags)) in hci_uart_tty_receive() 485 if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags)) in hci_uart_register_dev() 488 if (test_bit(HCI_UART_EXT_CONFIG, &hu->hdev_flags)) in hci_uart_register_dev() [all …]
|
D | bluecard_cs.c | 163 if (!test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) in bluecard_activity_led_timeout() 166 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_activity_led_timeout() 180 if (!test_bit(CARD_HAS_PCCARD_ID, &(info->hw_state))) in bluecard_enable_activity_led() 183 if (test_bit(CARD_HAS_ACTIVITY_LED, &(info->hw_state))) { in bluecard_enable_activity_led() 225 if (!test_bit(XMIT_SENDING_READY, &(info->tx_state))) in bluecard_write_wakeup() 246 if (test_bit(XMIT_BUFFER_NUMBER, &(info->tx_state))) { in bluecard_write_wakeup() 247 if (!test_bit(XMIT_BUF_TWO_READY, &(info->tx_state))) in bluecard_write_wakeup() 253 if (!test_bit(XMIT_BUF_ONE_READY, &(info->tx_state))) in bluecard_write_wakeup() 337 } while (test_bit(XMIT_WAKEUP, &(info->tx_state))); in bluecard_write_wakeup() 385 if (test_bit(XMIT_SENDING_READY, &(info->tx_state))) in bluecard_receive() [all …]
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | layer2.c | 122 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize() 123 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize() 129 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize() 250 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 317 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr() 318 !test_bit(FLG_FIXED_TEI, &l2->flag)) { in l2mgr() 383 if (test_bit(FLG_MOD128, &l2->flag)) in cansend() 387 return (p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag); in cansend() 405 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr() 406 if (test_bit(FLG_LAPD_NET, &l2->flag)) in sethdraddr() [all …]
|
D | tei.c | 131 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_deactivate() 144 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_ui() 340 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in do_send() 363 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_ack() 365 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { in do_ack() 386 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { in mgr_send_down() 397 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) /* only net send UI */ in dl_unit_data() 399 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in dl_unit_data() 447 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in put_tei_msg() 772 if (test_bit(FLG_FIXED_TEI, &tm->l2->flag)) in tei_ph_data_ind() [all …]
|
D | layer1.c | 129 if (test_bit(FLG_L1_ACTIVATING, &l1->Flags)) in l1_deact_cnf() 148 if (test_bit(FLG_L1_ACTIVATING, &l1->Flags)) { in l1_power_up_s() 185 if (!test_bit(FLG_L1_ACTIVATED, &l1->Flags)) { in l1_info4_ind() 249 if ((!test_bit(FLG_L1_DEACTTIMER, &l1->Flags)) && in l1_activate_no() 250 (!test_bit(FLG_L1_T3RUN, &l1->Flags))) { in l1_activate_no() 352 if (test_bit(FLG_L1_ACTIVATED, &l1->Flags)) in l1_event()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | isdnl2.c | 167 if (test_bit(FLG_MOD128, &st->l2.flag)) in cansend() 171 return ((p1 < st->l2.window) && !test_bit(FLG_PEER_BUSY, &st->l2.flag)); in cansend() 186 return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize() 187 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1)); in l2headersize() 193 return (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2addrsize() 202 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr() 207 if (test_bit(FLG_ORIG, &l2->flag)) in sethdraddr() 221 if (test_bit(FLG_LAPB, &st->l2.flag)) in enqueue_super() 257 if (!test_bit(FLG_MOD128, &st->l2.flag)) in IsSFrame() 267 return (test_bit(FLG_MOD128, &st->l2.flag) ? d == SABME : d == SABM); in IsSABME() [all …]
|
D | lmgr.c | 38 test_bit(FLG_LAPD, &st->l2.flag) ? in hisax_manager() 40 if (test_bit(FLG_LAPD, &st->l2.flag)) in hisax_manager()
|
D | isdnl1.c | 177 if (test_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in L1deactivated() 211 if (test_bit(FLG_L1_ACTTIMER, &stptr->l1.Flags)) in DChannel_proc_rcv() 275 if (test_bit(BC_FLG_BUSY, &bcs->Flag)) { in BChannel_proc_xmt() 282 if (!test_bit(BC_FLG_ACTIV, &bcs->Flag)) { in BChannel_proc_xmt() 283 if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && in BChannel_proc_xmt() 469 if (test_bit(FLG_L1_ACTIVATING, &st->l1.Flags)) in l1_deact_cnf() 488 if (test_bit(FLG_L1_ACTIVATING, &st->l1.Flags)) { in l1_power_up_s() 515 if (test_bit(FLG_L1_UINT, &st->l1.Flags)) in l1_info2_ind() 529 if (test_bit(FLG_L1_UINT, &st->l1.Flags)) in l1_info4_ind() 537 if (!test_bit(FLG_L1_ACTIVATED, &st->l1.Flags)) { in l1_info4_ind() [all …]
|
D | hscx_irq.c | 87 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_fill_fifo() 128 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_interrupt() 131 if (!test_bit(BC_FLG_INIT, &bcs->Flag)) in hscx_interrupt() 162 test_bit(HW_IPAC, &cs->HW_Flags) ? 0x3f : 0x1f); in hscx_interrupt() 200 if (test_bit(FLG_LLI_L1WAKEUP, &bcs->st->lli.flag) && in hscx_interrupt()
|
D | hscx.c | 57 test_bit(HW_IPAC, &cs->HW_Flags) ? 0x82 : 0x85); in modehscx() 63 if (test_bit(HW_IOM1, &cs->HW_Flags) && (hscx == 0)) in modehscx() 68 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); in modehscx() 70 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); in modehscx() 86 test_bit(HW_IPAC, &cs->HW_Flags) ? 0x8a : 0x8d); in modehscx()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | quorum.c | 115 lowest_reachable = test_bit(lowest_hb, qs->qs_conn_bm); in o2quo_make_decision() 121 if (!test_bit(o2nm_this_node(), qs->qs_hb_bm) || in o2quo_make_decision() 219 mlog_bug_on_msg(test_bit(node, qs->qs_hb_bm), "node %u\n", node); in o2quo_hb_up() 224 if (!test_bit(node, qs->qs_conn_bm)) in o2quo_hb_up() 244 mlog_bug_on_msg(!test_bit(node, qs->qs_hb_bm), "node %u\n", node); in o2quo_hb_down() 287 mlog_bug_on_msg(test_bit(node, qs->qs_conn_bm), "node %u\n", node); in o2quo_conn_up() 292 if (!test_bit(node, qs->qs_hb_bm)) in o2quo_conn_up() 310 if (test_bit(node, qs->qs_conn_bm)) { in o2quo_conn_err() 321 if (test_bit(node, qs->qs_hb_bm)) in o2quo_conn_err()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 187 if (test_bit(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { in bnx2x_exe_queue_step() 256 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending() 294 if (!test_bit(state, pstate)) { in bnx2x_state_wait() 837 if (test_bit(BNX2X_ISCSI_ETH_MAC, vlan_mac_flags)) in bnx2x_set_one_mac_e2() 840 else if (test_bit(BNX2X_ETH_MAC, vlan_mac_flags)) in bnx2x_set_one_mac_e2() 1179 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_add() 1236 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_del() 1304 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT_DEST, in bnx2x_validate_vlan_mac_move() 1309 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_move() 1343 if (test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_remove_vlan_mac() [all …]
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_io.c | 52 if (unlikely(test_bit(AF_DEGRADED_MODE, &a->flags) || in esas2r_start_request() 53 test_bit(AF_POWER_DOWN, &a->flags))) { in esas2r_start_request() 74 !test_bit(AF_DISC_PENDING, &a->flags))) in esas2r_start_request() 95 !test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_start_request() 96 !test_bit(AF_FLASHING, &a->flags) && in esas2r_start_request() 97 !test_bit(AF_DISC_PENDING, &a->flags))) in esas2r_start_request() 152 if (test_bit(AF_COMM_LIST_TOGGLE, &a->flags)) in esas2r_start_vda_request() 173 if (test_bit(AF_COMM_LIST_TOGGLE, &a->flags)) in esas2r_start_vda_request() 720 !test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_timer_tick() 721 !test_bit(AF_DISC_PENDING, &a->flags)) { in esas2r_timer_tick() [all …]
|
D | esas2r_int.c | 320 if (test_bit(AF_CHPRST_PENDING, &a->flags) || in esas2r_do_deferred_processes() 321 test_bit(AF_FLASHING, &a->flags)) in esas2r_do_deferred_processes() 323 else if (test_bit(AF_DISC_PENDING, &a->flags)) in esas2r_do_deferred_processes() 371 if (test_bit(AF_FLASHING, &a->flags)) in esas2r_do_deferred_processes() 532 if ((test_bit(AF_POWER_MGT, &a->flags)) && in esas2r_chip_rst_needed_during_tasklet() 533 !test_bit(AF_FIRST_INIT, &a->flags) && !alrdyrst) { in esas2r_chip_rst_needed_during_tasklet() 546 if (!test_bit(AF_POWER_MGT, &a->flags)) { in esas2r_chip_rst_needed_during_tasklet() 563 while (test_bit(AF_CHPRST_DETECTED, &a->flags)) { in esas2r_handle_chip_rst_during_tasklet() 569 if (!test_bit(AF_DEGRADED_MODE, &a->flags) && in esas2r_handle_chip_rst_during_tasklet() 570 !test_bit(AF_POWER_MGT, &a->flags)) in esas2r_handle_chip_rst_during_tasklet() [all …]
|
D | esas2r_init.c | 443 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) in esas2r_init_adapter() 447 if (!test_bit(AF_DEGRADED_MODE, &a->flags)) in esas2r_init_adapter() 460 if ((test_bit(AF2_INIT_DONE, &a->flags2)) in esas2r_adapter_power_down() 461 && (!test_bit(AF_DEGRADED_MODE, &a->flags))) { in esas2r_adapter_power_down() 511 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_adapter_power_down() 521 if (test_bit(AF2_MSI_ENABLED, &a->flags2)) { in esas2r_adapter_power_down() 644 if (test_bit(AF2_INIT_DONE, &a->flags2)) { in esas2r_kill_adapter() 760 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_resume() 898 if (test_bit(AF2_THUNDERBOLT, &a->flags2)) in esas2r_init_adapter_struct() 958 if (!test_bit(AF_NVR_VALID, &a->flags)) in esas2r_init_adapter_struct() [all …]
|
D | esas2r_disc.c | 110 if (test_bit(AF_CHPRST_DETECTED, &a->flags) || in esas2r_disc_initialize() 111 test_bit(AF_POWER_MGT, &a->flags)) { in esas2r_disc_initialize() 261 if (test_bit(AF_DISC_POLLED, &a->flags) && in esas2r_disc_check_complete() 262 test_bit(AF_DISC_IN_PROG, &a->flags)) { in esas2r_disc_check_complete() 304 if (!test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_disc_queue_event() 305 !test_bit(AF_DISC_POLLED, &a->flags)) in esas2r_disc_queue_event() 319 if (test_bit(AF_DISC_IN_PROG, &a->flags)) { in esas2r_disc_start_port() 327 if (test_bit(AF_DISC_POLLED, &a->flags) in esas2r_disc_start_port() 356 if (test_bit(AF_DISC_POLLED, &a->flags)) in esas2r_disc_start_port() 376 if (!test_bit(AF_DISC_POLLED, &a->flags)) in esas2r_disc_start_port() [all …]
|
/linux-4.1.27/net/atm/ |
D | svc.c | 52 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect() 56 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect() 123 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_bind() 132 if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd) in svc_bind() 174 if (test_bit(ATM_VF_WAITING, &vcc->flags)) { in svc_connect() 190 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_connect() 214 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect() 235 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect() 241 while (!test_bit(ATM_VF_RELEASED, &vcc->flags) && in svc_connect() 291 if (test_bit(ATM_VF_SESSION, &vcc->flags)) { in svc_listen() [all …]
|
D | common.c | 327 if (test_bit(ATM_VF_ADDR, &walk->flags) && walk->vpi == vpi && in check_ci() 403 if (test_bit(ATM_DF_REMOVED, &dev->flags) || in __vcc_connect() 483 if (test_bit(ATM_VF_PARTIAL, &vcc->flags)) in vcc_connect() 494 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) in vcc_connect() 521 if (test_bit(ATM_VF_READY, &ATM_SD(sock)->flags)) in vcc_connect() 542 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in vcc_recvmsg() 543 test_bit(ATM_VF_CLOSE, &vcc->flags) || in vcc_recvmsg() 544 !test_bit(ATM_VF_READY, &vcc->flags)) in vcc_recvmsg() 590 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in vcc_sendmsg() 591 test_bit(ATM_VF_CLOSE, &vcc->flags) || in vcc_sendmsg() [all …]
|
D | pvc.c | 41 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in pvc_bind() 45 if (test_bit(ATM_VF_PARTIAL, &vcc->flags)) { in pvc_bind() 94 if (!vcc->dev || !test_bit(ATM_VF_ADDR, &vcc->flags)) in pvc_getname()
|
D | signaling.c | 40 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in modify_qos() 41 !test_bit(ATM_VF_READY, &vcc->flags)) in modify_qos() 170 if (type == as_connect && test_bit(ATM_VF_SESSION, &vcc->flags)) in sigd_enq2() 190 !test_bit(ATM_VF_META, &vcc->flags)) { in purge_vcc()
|
/linux-4.1.27/drivers/watchdog/ |
D | it87_wdt.c | 266 if (test_bit(WDTS_USE_GP, &wdt_status)) in wdt_keepalive() 268 else if (test_bit(WDTS_USE_CIR, &wdt_status)) in wdt_keepalive() 289 if (test_bit(WDTS_USE_GP, &wdt_status)) in wdt_start() 291 else if (test_bit(WDTS_USE_CIR, &wdt_status)) in wdt_start() 337 if (test_bit(WDTS_TIMER_RUN, &wdt_status)) { in wdt_set_timeout() 381 if (test_bit(WDTS_EXPECTED, &wdt_status)) in wdt_get_status() 433 if (test_bit(WDTS_TIMER_RUN, &wdt_status)) { in wdt_release() 542 if (test_bit(WDTS_TIMER_RUN, &wdt_status)) { in wdt_ioctl() 679 if (!nocir && !test_bit(WDTS_USE_GP, &wdt_status)) { in it87_wdt_init() 727 if (test_bit(WDTS_USE_CIR, &wdt_status)) { in it87_wdt_init() [all …]
|
D | watchdog_dev.c | 68 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_ping() 101 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_start() 134 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_stop() 142 if (test_bit(WDOG_NO_WAY_OUT, &wddev->status)) { in watchdog_stop() 176 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_get_status() 208 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_set_timeout() 239 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_get_timeleft() 268 if (test_bit(WDOG_UNREGISTERED, &wddev->status)) { in watchdog_ioctl_op() 472 if (!test_bit(WDOG_ACTIVE, &wdd->status)) in watchdog_release() 481 if (!test_bit(WDOG_UNREGISTERED, &wdd->status)) in watchdog_release()
|
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_trigger.c | 21 test_bit(INV_MPU6050_SCAN_GYRO_X, in inv_scan_query() 23 test_bit(INV_MPU6050_SCAN_GYRO_Y, in inv_scan_query() 25 test_bit(INV_MPU6050_SCAN_GYRO_Z, in inv_scan_query() 29 test_bit(INV_MPU6050_SCAN_ACCL_X, in inv_scan_query() 31 test_bit(INV_MPU6050_SCAN_ACCL_Y, in inv_scan_query() 33 test_bit(INV_MPU6050_SCAN_ACCL_Z, in inv_scan_query()
|
/linux-4.1.27/drivers/input/keyboard/ |
D | sunkbd.c | 164 (!!test_bit(LED_CAPSL, dev->led) << 3) | in sunkbd_event() 165 (!!test_bit(LED_SCROLLL, dev->led) << 2) | in sunkbd_event() 166 (!!test_bit(LED_COMPOSE, dev->led) << 1) | in sunkbd_event() 167 !!test_bit(LED_NUML, dev->led)); in sunkbd_event() 231 (!!test_bit(LED_CAPSL, sunkbd->dev->led) << 3) | in sunkbd_reinit() 232 (!!test_bit(LED_SCROLLL, sunkbd->dev->led) << 2) | in sunkbd_reinit() 233 (!!test_bit(LED_COMPOSE, sunkbd->dev->led) << 1) | in sunkbd_reinit() 234 !!test_bit(LED_NUML, sunkbd->dev->led)); in sunkbd_reinit() 236 SUNKBD_CMD_NOCLICK - !!test_bit(SND_CLICK, sunkbd->dev->snd)); in sunkbd_reinit() 238 SUNKBD_CMD_BELLOFF - !!test_bit(SND_BELL, sunkbd->dev->snd)); in sunkbd_reinit()
|
D | sh_keysc.c | 145 if (test_bit(i, keys0) == test_bit(i, priv->last_keys)) in sh_keysc_isr() 148 if (test_bit(i, keys1) || test_bit(i, keys0)) { in sh_keysc_isr() 153 if (!test_bit(i, keys1)) { in sh_keysc_isr()
|
D | atkbd.c | 324 return test_bit(i, &xl_bit); in atkbd_need_xlate() 459 if (!(atkbd->release && test_bit(code, atkbd->force_release_mask))) in atkbd_interrupt() 502 } else if (!atkbd->softrepeat && test_bit(keycode, dev->key)) { in atkbd_interrupt() 514 if (value && test_bit(code, atkbd->force_release_mask)) { in atkbd_interrupt() 564 param[0] = (test_bit(LED_SCROLLL, dev->led) ? 1 : 0) in atkbd_set_leds() 565 | (test_bit(LED_NUML, dev->led) ? 2 : 0) in atkbd_set_leds() 566 | (test_bit(LED_CAPSL, dev->led) ? 4 : 0); in atkbd_set_leds() 572 param[1] = (test_bit(LED_COMPOSE, dev->led) ? 0x01 : 0) in atkbd_set_leds() 573 | (test_bit(LED_SLEEP, dev->led) ? 0x02 : 0) in atkbd_set_leds() 574 | (test_bit(LED_SUSPEND, dev->led) ? 0x04 : 0) in atkbd_set_leds() [all …]
|
/linux-4.1.27/include/linux/ |
D | bit_spinlock.h | 30 } while (test_bit(bitnum, addr)); in bit_spin_lock() 59 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock() 76 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock() 91 return test_bit(bitnum, addr); in bit_spin_is_locked()
|
D | khugepaged.h | 28 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags)) in khugepaged_fork() 35 if (test_bit(MMF_VM_HUGEPAGE, &mm->flags)) in khugepaged_exit() 42 if (!test_bit(MMF_VM_HUGEPAGE, &vma->vm_mm->flags)) in khugepaged_enter()
|
D | atmdev.h | 72 (test_bit(ATM_VF_READY,&(flags)) ? ATM_VS_CONNECTED : \ 73 test_bit(ATM_VF_RELEASED,&(flags)) ? ATM_VS_CLOSING : \ 74 test_bit(ATM_VF_LISTEN,&(flags)) ? ATM_VS_LISTEN : \ 75 test_bit(ATM_VF_REGIS,&(flags)) ? ATM_VS_INUSE : \ 76 test_bit(ATM_VF_BOUND,&(flags)) ? ATM_VS_BOUND : ATM_VS_IDLE) 271 BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); in atm_dev_put()
|
D | blk-iopoll.h | 28 if (!test_bit(IOPOLL_F_DISABLE, &iop->state)) in blk_iopoll_sched_prep() 36 return test_bit(IOPOLL_F_DISABLE, &iop->state); in blk_iopoll_disable_pending()
|
D | blkdev.h | 543 if (test_bit(flag, &q->queue_flags)) { in queue_flag_test_and_clear() 556 if (!test_bit(flag, &q->queue_flags)) { in queue_flag_test_and_set() 587 #define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags) 588 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags) 589 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags) 590 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags) 591 #define blk_queue_bypass(q) test_bit(QUEUE_FLAG_BYPASS, &(q)->queue_flags) 592 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags) 593 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags) 595 test_bit(QUEUE_FLAG_NOXMERGES, &(q)->queue_flags) [all …]
|
D | ksm.h | 27 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) in ksm_fork() 34 if (test_bit(MMF_VM_MERGEABLE, &mm->flags)) in ksm_exit()
|
D | fdtable.h | 34 return test_bit(fd, fdt->close_on_exec); in close_on_exec() 39 return test_bit(fd, fdt->open_fds); in fd_is_open()
|
D | fscache-cache.h | 400 return test_bit(FSCACHE_OBJECT_IS_LIVE, &object->flags); in fscache_object_is_live() 410 return test_bit(FSCACHE_OBJECT_IS_AVAILABLE, &object->flags); in fscache_object_is_available() 417 !test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_object_is_active() 423 test_bit(FSCACHE_IOERROR, &object->cache->flags); in fscache_object_is_dead()
|
/linux-4.1.27/drivers/iio/light/ |
D | gp2ap020a00f.c | 430 return test_bit(GP2AP020A00F_FLAG_ALS_CLEAR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled() 431 test_bit(GP2AP020A00F_FLAG_ALS_IR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled() 432 test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags) || in gp2ap020a00f_als_enabled() 433 test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags); in gp2ap020a00f_als_enabled() 438 return test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, &data->flags) || in gp2ap020a00f_prox_detect_enabled() 439 test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, &data->flags); in gp2ap020a00f_prox_detect_enabled() 451 else if (test_bit(GP2AP020A00F_FLAG_LUX_MODE_HI, &data->flags) && in gp2ap020a00f_write_event_threshold() 570 if (test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd() 586 if (!test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd() 600 if (test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags)) in gp2ap020a00f_exec_cmd() [all …]
|
D | ltr501.c | 281 if (test_bit(0, indio_dev->active_scan_mask) || in ltr501_trigger_handler() 282 test_bit(1, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 284 if (test_bit(2, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 296 if (test_bit(0, indio_dev->active_scan_mask)) in ltr501_trigger_handler() 298 if (test_bit(1, indio_dev->active_scan_mask)) in ltr501_trigger_handler()
|
/linux-4.1.27/drivers/input/ |
D | ff-core.c | 69 if (!test_bit(FF_PERIODIC, ff->ffbit)) in compat_effect() 112 if (!test_bit(EV_FF, dev->evbit)) in input_ff_upload() 116 !test_bit(effect->type, dev->ffbit)) { in input_ff_upload() 124 !test_bit(effect->u.periodic.waveform, dev->ffbit))) { in input_ff_upload() 129 if (!test_bit(effect->type, ff->ffbit)) { in input_ff_upload() 228 if (!test_bit(EV_FF, dev->evbit)) in input_ff_erase() 276 if (!test_bit(FF_GAIN, dev->ffbit) || value > 0xffff) in input_ff_event() 283 if (!test_bit(FF_AUTOCENTER, dev->ffbit) || value > 0xffff) in input_ff_event() 347 if (test_bit(i, dev->ffbit)) in input_ff_create() 351 if (test_bit(FF_PERIODIC, ff->ffbit)) in input_ff_create()
|
D | input.c | 56 return code <= max && test_bit(code, bm); in is_event_supported() 77 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 159 if (test_bit(EV_REP, dev->evbit) && test_bit(EV_KEY, dev->evbit)) { in input_pass_values() 191 if (test_bit(dev->repeat_key, dev->key) && in input_repeat_key() 297 if (!!test_bit(code, dev->key) != !!value) { in input_get_disposition() 307 !!test_bit(code, dev->sw) != !!value) { in input_get_disposition() 334 !!test_bit(code, dev->led) != !!value) { in input_get_disposition() 344 if (!!test_bit(code, dev->snd) != !!value) in input_get_disposition() 916 if (test_bit(EV_KEY, dev->evbit) && in input_set_keycode() 1154 if (test_bit(EV_KEY, dev->evbit)) in input_devices_seq_show() [all …]
|
D | ff-memless.c | 139 if (!test_bit(FF_EFFECT_STARTED, &state->flags)) in ml_schedule_timer() 142 if (test_bit(FF_EFFECT_PLAYING, &state->flags)) in ml_schedule_timer() 213 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type() 216 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type() 356 if (!test_bit(FF_EFFECT_STARTED, &state->flags)) in ml_get_combo_effect() 466 if (test_bit(FF_EFFECT_PLAYING, &state->flags)) in ml_ff_playback() 485 if (test_bit(FF_EFFECT_STARTED, &state->flags)) { in ml_ff_upload() 547 if (test_bit(FF_RUMBLE, ff->ffbit)) { in input_ff_create_memless()
|
D | joydev.c | 297 event->value = !!test_bit(joydev->keypam[event->number], in joydev_generate_startup_event() 348 test_bit(joydev->keypam[i], input->key) ? (1 << i) : 0; in joydev_0x_read() 811 if (test_bit(EV_KEY, dev->evbit) && test_bit(BTN_TOUCH, dev->keybit)) in joydev_match() 815 if (test_bit(EV_KEY, dev->evbit) && test_bit(BTN_DIGI, dev->keybit)) in joydev_match() 863 if (test_bit(i, dev->absbit)) { in joydev_connect() 870 if (test_bit(i + BTN_MISC, dev->keybit)) { in joydev_connect() 877 if (test_bit(i + BTN_MISC, dev->keybit)) { in joydev_connect()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_init.c | 131 if (!test_bit(ADF_STATUS_CONFIGURED, &accel_dev->status)) { in adf_dev_init() 289 !test_bit(ADF_STATUS_STARTING, &accel_dev->status)) { in adf_dev_stop() 303 if (!test_bit(accel_dev->accel_id, &service->start_status)) in adf_dev_stop() 317 if (!test_bit(accel_dev->accel_id, &service->start_status)) in adf_dev_stop() 330 if (test_bit(ADF_STATUS_AE_STARTED, &accel_dev->status)) { in adf_dev_stop() 360 if (test_bit(ADF_STATUS_AE_UCODE_LOADED, &accel_dev->status)) { in adf_dev_shutdown() 365 if (test_bit(ADF_STATUS_AE_INITIALISED, &accel_dev->status)) { in adf_dev_shutdown() 378 if (!test_bit(accel_dev->accel_id, &service->init_status)) in adf_dev_shutdown() 391 if (!test_bit(accel_dev->accel_id, &service->init_status)) in adf_dev_shutdown() 401 if (test_bit(ADF_STATUS_IRQ_ALLOCATED, &accel_dev->status)) { in adf_dev_shutdown() [all …]
|
D | adf_dev_mgr.c | 214 return test_bit(ADF_STATUS_RESTARTING, &accel_dev->status); in adf_devmgr_in_reset() 219 return test_bit(ADF_STATUS_STARTED, &accel_dev->status); in adf_dev_started()
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_multicast.c | 74 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in __ipoib_mcast_schedule_join_thread() 252 if (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) { in ipoib_mcast_join_finish() 346 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_carrier_on_task() 365 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? in ipoib_mcast_join_complete() 399 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete() 403 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete() 408 if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join_complete() 522 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join_task() 539 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join_task() 565 if (!test_bit(IPOIB_MCAST_FLAG_ATTACHED, &priv->broadcast->flags)) { in ipoib_mcast_join_task() [all …]
|
D | ipoib_netlink.c | 53 val = test_bit(IPOIB_FLAG_ADMIN_CM, &priv->flags); in ipoib_fill_info() 57 val = test_bit(IPOIB_FLAG_UMCAST, &priv->flags); in ipoib_fill_info() 112 if (test_bit(IPOIB_FLAG_SUBINTERFACE, &ppriv->flags)) { in ipoib_new_child_link()
|
D | ipoib_ib.c | 402 test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) in ipoib_ib_handle_tx_wc() 665 if (!test_bit(IPOIB_STOP_REAPER, &priv->flags)) in ipoib_reap_ah() 699 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_open() 756 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_up() 981 if (test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags) && in update_child_pkey() 1005 if (!test_bit(IPOIB_FLAG_INITIALIZED, &priv->flags) && in __ipoib_ib_dev_flush() 1011 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) { in __ipoib_ib_dev_flush() 1014 if (!test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) in __ipoib_ib_dev_flush() 1027 if (test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) { in __ipoib_ib_dev_flush() 1055 if (test_bit(IPOIB_FLAG_INITIALIZED, &priv->flags)) in __ipoib_ib_dev_flush() [all …]
|
/linux-4.1.27/drivers/char/pcmcia/ |
D | cm4000_cs.c | 488 if (test_bit(IS_INVREV, &dev->flags)) in set_protocol() 497 | (test_bit(IS_INVREV, &dev->flags) ? 0x02 : 0x00) /* inv parity */ in set_protocol() 642 while (test_bit(LOCK_MONITOR, (void *)&dev->flags)) in terminate_monitor() 714 } else if (test_bit(IS_CMM_ABSENT, &dev->flags)) { in monitor_card() 721 } else if ((dev->flags0 & 1) && test_bit(IS_CMM_ABSENT, &dev->flags)) { in monitor_card() 728 if (test_bit(IS_ATR_VALID, &dev->flags) == 1) { in monitor_card() 823 if (test_bit(IS_ATR_VALID, &dev->flags) == 1) { in monitor_card() 827 if ((test_bit(IS_AUTOPPS_ACT, &dev->flags) == 0) && in monitor_card() 829 !(test_bit(IS_ANY_T0, &dev->flags) && in monitor_card() 830 test_bit(IS_ANY_T1, &dev->flags))) { in monitor_card() [all …]
|
/linux-4.1.27/fs/gfs2/ |
D | glock.c | 287 if (test_bit(HIF_HOLDER, &gh->gh_iflags)) in do_error() 319 if (test_bit(HIF_HOLDER, &gh->gh_iflags)) in do_promote() 365 if (!test_bit(HIF_HOLDER, &gh->gh_iflags)) in find_first_waiter() 431 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) && in finish_xmote() 437 if (gh && !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) { in finish_xmote() 531 if (test_bit(GLF_INVALIDATE_IN_PROGRESS, &gl->gl_flags)) in do_xmote() 563 if (test_bit(HIF_HOLDER, &gh->gh_iflags)) in find_first_holder() 586 GLOCK_BUG_ON(gl, test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)); in run_queue() 588 if (test_bit(GLF_DEMOTE, &gl->gl_flags) && in run_queue() 598 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in run_queue() [all …]
|
D | lock_dlm.c | 77 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times() 161 if (!test_bit(GLF_INITIAL, &gl->gl_flags)) in gdlm_ast() 237 if (test_bit(GLF_BLOCKING, &gl->gl_flags)) in make_flags() 304 if (test_bit(SDF_SKIP_DLM_UNLOCK, &sdp->sd_flags) && in gdlm_put_lock() 597 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gfs2_control_func() 598 test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in gfs2_control_func() 950 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags) || in control_first_done() 951 !test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in control_first_done() 952 !test_bit(DFL_FIRST_MOUNT, &ls->ls_recover_flags)) { in control_first_done() 1074 if (!test_bit(DFL_MOUNT_DONE, &ls->ls_recover_flags) || in gdlm_recover_prep() [all …]
|
D | super.c | 835 if (error && !test_bit(SDF_SHUTDOWN, &sdp->sd_flags)) in gfs2_make_fs_ro() 881 if (!test_bit(JDF_RECOVERY, &jd->jd_flags)) in gfs2_put_super() 967 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) in gfs2_freeze_func() 990 if (test_bit(SDF_SHUTDOWN, &sdp->sd_flags)) { in gfs2_freeze() 1302 if (!test_bit(GIF_FREE_VFS_INODE, &ip->i_flags) && inode->i_nlink) { in gfs2_drop_inode() 1304 if (gl && test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode() 1416 if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) in gfs2_show_options() 1418 if (test_bit(SDF_DEMOTE, &sdp->sd_flags)) in gfs2_show_options() 1517 if (test_bit(GIF_FREE_VFS_INODE, &ip->i_flags)) { in gfs2_evict_inode() 1533 if (!test_bit(GIF_ALLOC_FAILED, &ip->i_flags)) { in gfs2_evict_inode() [all …]
|
D | sys.c | 131 unsigned int b = test_bit(SDF_SHUTDOWN, &sdp->sd_flags); in withdraw_show() 318 if (test_bit(DFL_BLOCK_LOCKS, &ls->ls_recover_flags)) in block_show() 385 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in lkfirst_store() 402 return sprintf(buf, "%d\n", !!test_bit(DFL_FIRST_MOUNT_DONE, &ls->ls_recover_flags)); in first_done_show() 438 if (test_bit(SDF_NORECOVERY, &sdp->sd_flags)) { in recover_store() 481 if (test_bit(SDF_NOJOURNALID, &sdp->sd_flags) == 0) in jid_store() 688 if (!test_bit(SDF_NOJOURNALID, &sdp->sd_flags)) in gfs2_uevent()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 119 test_bit(CX18_F_S_INTERNAL_USE, &s->s_flags)) { in cx18_release_stream() 200 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl() 201 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_get_mdl() 232 if (!test_bit(CX18_F_S_STREAMING, &s->s_flags)) { in cx18_get_mdl() 515 if (test_bit(CX18_F_S_STREAMOFF, &s->s_flags) || in cx18_start_capture() 530 if (test_bit(CX18_F_S_INTERNAL_USE, &s_idx->s_flags) && in cx18_start_capture() 539 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_start_capture() 570 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture() 575 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) && in cx18_start_capture() 576 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_start_capture() [all …]
|
/linux-4.1.27/drivers/usb/class/ |
D | cdc-wdm.c | 197 if (!test_bit(WDM_OVERFLOW, &desc->flags)) { in wdm_in_callback() 274 && !test_bit(WDM_DISCONNECTING, &desc->flags) in wdm_int_callback() 275 && !test_bit(WDM_SUSPENDING, &desc->flags)) { in wdm_int_callback() 364 if (test_bit(WDM_DISCONNECTING, &desc->flags)) { in wdm_write() 376 r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE, in wdm_write() 379 if (test_bit(WDM_IN_USE, &desc->flags)) in wdm_write() 382 if (test_bit(WDM_RESETTING, &desc->flags)) in wdm_write() 486 if (test_bit(WDM_DISCONNECTING, &desc->flags)) { in wdm_read() 490 if (test_bit(WDM_OVERFLOW, &desc->flags)) { in wdm_read() 497 if (!test_bit(WDM_READ, &desc->flags)) { in wdm_read() [all …]
|
/linux-4.1.27/sound/usb/misc/ |
D | ua101.c | 196 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) { in playback_urb_complete() 269 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states))) in playback_tasklet() 299 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states)) in playback_tasklet() 380 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states)) in capture_urb_complete() 385 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) { in capture_urb_complete() 412 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states) && in capture_urb_complete() 495 if (err < 0 && !test_bit(DISCONNECTED, &ua->states)) in disable_iso_interface() 515 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_capture() 518 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) in start_usb_capture() 556 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_playback() [all …]
|
/linux-4.1.27/fs/ocfs2/ |
D | aops.h | 64 test_bit(0, (unsigned long *)&iocb->private) 90 test_bit(OCFS2_IOCB_RW_LOCK_LEVEL, (unsigned long *)&iocb->private) 96 test_bit(OCFS2_IOCB_SEM, (unsigned long *)&iocb->private) 103 test_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private)
|
D | quota_global.c | 75 if (!test_bit(DQ_LASTSET_B + QIF_ILIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb() 79 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 81 if (!test_bit(DQ_LASTSET_B + QIF_BLIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb() 85 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 87 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 89 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 516 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in __ocfs2_sync_dquot() 518 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in __ocfs2_sync_dquot() 523 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot() 538 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 110 test_bit(IVTV_F_S_INTERNAL_USE, &s->s_flags)) { in ivtv_release_stream() 225 if (test_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags) && in ivtv_get_buffer() 226 !test_bit(IVTV_F_S_APPL_IO, &s_vbi->s_flags)) { in ivtv_get_buffer() 261 if (s->type != IVTV_DEC_STREAM_TYPE_VBI && !test_bit(IVTV_F_S_STREAMING, &s->s_flags)) { in ivtv_get_buffer() 453 …if (test_bit(IVTV_F_S_STREAMOFF, &s->s_flags) || test_and_set_bit(IVTV_F_S_STREAMING, &s->s_flags)… in ivtv_start_capture() 461 test_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags) && in ivtv_start_capture() 496 test_bit(IVTV_F_S_STREAMING, &s_vbi->s_flags)) { in ivtv_start_capture() 687 if (test_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags)) { in ivtv_write() 697 test_bit(IVTV_F_S_DMA_PENDING, &s->s_flags)) { in ivtv_write() 756 if (test_bit(IVTV_F_I_EV_VSYNC, &itv->i_flags) || in ivtv_v4l2_dec_poll() [all …]
|
D | ivtv-irq.c | 139 if (!test_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in stream_enc_dma_append() 222 if (rc && !s->buffers_stolen && test_bit(IVTV_F_S_APPL_IO, &s->s_flags)) { in stream_enc_dma_append() 413 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_dma_stream_dec_prepare() 419 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_dma_stream_dec_prepare() 549 if (!test_bit(IVTV_F_I_UDMA, &itv->i_flags) && itv->cur_dma_stream < 0) in ivtv_irq_dma_read() 552 if (!test_bit(IVTV_F_I_UDMA, &itv->i_flags)) { in ivtv_irq_dma_read() 704 if (!test_bit(IVTV_F_I_UDMA, &itv->i_flags) && in ivtv_irq_dma_err() 744 if (test_bit(IVTV_F_I_UDMA, &itv->i_flags)) { in ivtv_irq_dma_err() 792 if (test_bit(IVTV_F_S_CLAIMED, &s->s_flags) && in ivtv_irq_dec_vbi_reinsert() 805 if (test_bit(IVTV_F_I_DEC_YUV, &itv->i_flags)) { in ivtv_irq_dec_data_req() [all …]
|
/linux-4.1.27/fs/fscache/ |
D | operation.c | 121 } else if (test_bit(FSCACHE_OBJECT_IS_LOOKED_UP, &object->flags)) { in fscache_submit_exclusive_op() 133 ASSERT(test_bit(FSCACHE_IOERROR, &object->cache->flags)); in fscache_submit_exclusive_op() 225 } else if (test_bit(FSCACHE_OBJECT_IS_LOOKED_UP, &object->flags)) { in fscache_submit_op() 236 } else if (!test_bit(FSCACHE_IOERROR, &object->cache->flags)) { in fscache_submit_op() 274 if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) { in fscache_start_operations() 317 if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) in fscache_cancel_op() 350 if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) in fscache_cancel_all_ops() 373 ASSERTIFCMP(test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags), in fscache_op_complete() 375 ASSERTIFCMP(test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags), in fscache_op_complete() 383 if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) in fscache_op_complete() [all …]
|
D | page.c | 309 if (!test_bit(FSCACHE_COOKIE_LOOKING_UP, &cookie->flags)) { in fscache_wait_for_deferred_lookup() 324 ASSERT(!test_bit(FSCACHE_COOKIE_LOOKING_UP, &cookie->flags)); in fscache_wait_for_deferred_lookup() 354 if (!test_bit(FSCACHE_OP_WAITING, &op->flags)) in fscache_wait_for_operation_activation() 417 if (test_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) { in __fscache_read_or_alloc_page() 444 ASSERT(test_bit(FSCACHE_OBJECT_IS_LOOKED_UP, &object->flags)); in __fscache_read_or_alloc_page() 471 if (test_bit(FSCACHE_COOKIE_NO_DATA_YET, &object->cookie->flags)) { in __fscache_read_or_alloc_page() 552 if (test_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) { in __fscache_read_or_alloc_pages() 602 if (test_bit(FSCACHE_COOKIE_NO_DATA_YET, &object->cookie->flags)) { in __fscache_read_or_alloc_pages() 672 if (test_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) { in __fscache_alloc_page() 938 if (test_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) { in __fscache_write_page() [all …]
|
/linux-4.1.27/fs/cachefiles/ |
D | daemon.c | 170 if (!test_bit(CACHEFILES_READY, &cache->flags)) in cachefiles_daemon_read() 187 test_bit(CACHEFILES_CULLING, &cache->flags) ? '1' : '0', in cachefiles_daemon_read() 222 if (test_bit(CACHEFILES_DEAD, &cache->flags)) in cachefiles_daemon_write() 279 if (!test_bit(CACHEFILES_DEAD, &cache->flags)) in cachefiles_daemon_write() 302 if (test_bit(CACHEFILES_STATE_CHANGED, &cache->flags)) in cachefiles_daemon_poll() 305 if (test_bit(CACHEFILES_CULLING, &cache->flags)) in cachefiles_daemon_poll() 564 if (!test_bit(CACHEFILES_READY, &cache->flags)) { in cachefiles_daemon_cull() 569 if (test_bit(CACHEFILES_DEAD, &cache->flags)) { in cachefiles_daemon_cull() 636 if (!test_bit(CACHEFILES_READY, &cache->flags)) { in cachefiles_daemon_inuse() 641 if (test_bit(CACHEFILES_DEAD, &cache->flags)) { in cachefiles_daemon_inuse() [all …]
|
D | interface.c | 53 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 103 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 278 if (test_bit(FSCACHE_OBJECT_RETIRED, &object->fscache.flags) && in cachefiles_drop_object() 294 if (test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)) { in cachefiles_drop_object() 335 ASSERT(!test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_put_object()
|
/linux-4.1.27/drivers/scsi/isci/ |
D | task.c | 110 return idev ? test_bit(IDEV_IO_READY, &idev->flags) || in isci_device_io_ready() 111 (test_bit(IDEV_IO_NCQERROR, &idev->flags) && in isci_device_io_ready() 177 if (test_bit(IDEV_GONE, &idev->flags)) { in isci_task_execute_task() 279 (!test_bit(IDEV_IO_READY, &idev->flags) && in isci_task_execute_tmf() 280 !test_bit(IDEV_IO_NCQERROR, &idev->flags))) { in isci_task_execute_tmf() 443 if (!test_bit(IDEV_GONE, &idev->flags)) { in isci_task_lu_reset() 504 target_done_already = test_bit(IREQ_COMPLETE_IN_TARGET, in isci_task_abort_task() 517 ((idev) ? ((test_bit(IDEV_GONE, &idev->flags)) in isci_task_abort_task() 561 test_bit(IDEV_GONE, &idev->flags)) { in isci_task_abort_task() 579 test_bit(IREQ_COMPLETE_IN_TARGET, in isci_task_abort_task() [all …]
|
D | host.h | 319 wait_event(ihost->eventq, !test_bit(IHOST_START_PENDING, &ihost->flags)); in wait_for_start() 324 wait_event(ihost->eventq, !test_bit(IHOST_STOP_PENDING, &ihost->flags)); in wait_for_stop() 329 wait_event(ihost->eventq, !test_bit(IDEV_START_PENDING, &idev->flags)); in wait_for_device_start() 334 wait_event(ihost->eventq, !test_bit(IDEV_STOP_PENDING, &idev->flags)); in wait_for_device_stop()
|
/linux-4.1.27/drivers/dma-buf/ |
D | fence.c | 124 if (test_bit(FENCE_FLAG_ENABLE_SIGNAL_BIT, &fence->flags)) { in fence_signal() 206 !test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in fence_enable_sw_signaling() 252 if (test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in fence_add_callback() 261 if (test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in fence_add_callback() 348 if (test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in fence_default_wait() 360 if (test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in fence_default_wait() 376 while (!test_bit(FENCE_FLAG_SIGNALED_BIT, &fence->flags) && ret > 0) { in fence_default_wait()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-core.c | 86 !test_bit(HID_DISCONNECTED, &usbhid->iofl) && in hid_start_in() 87 !test_bit(HID_SUSPENDED, &usbhid->iofl) && in hid_start_in() 121 if (test_bit(HID_CLEAR_HALT, &usbhid->iofl)) { in hid_reset() 134 if (test_bit(HID_RESET_PENDING, &usbhid->iofl)) { in hid_reset() 149 if (test_bit(HID_DISCONNECTED, &usbhid->iofl)) in hid_io_error() 167 if (!test_bit(HID_NO_BANDWIDTH, &usbhid->iofl) in hid_io_error() 194 if (!hid || test_bit(HID_RESET_PENDING, &usbhid->iofl) || in usbhid_restart_out_queue() 195 test_bit(HID_SUSPENDED, &usbhid->iofl)) in usbhid_restart_out_queue() 210 if (test_bit(HID_SUSPENDED, &usbhid->iofl)) { in usbhid_restart_out_queue() 233 if (!hid || test_bit(HID_RESET_PENDING, &usbhid->iofl) || in usbhid_restart_ctrl_queue() [all …]
|
D | usbkbd.c | 176 …kbd->newleds = (!!test_bit(LED_KANA, dev->led) << 3) | (!!test_bit(LED_COMPOSE, dev->led) << 3)… in usb_kbd_event() 177 (!!test_bit(LED_SCROLLL, dev->led) << 2) | (!!test_bit(LED_CAPSL, dev->led) << 1) | in usb_kbd_event() 178 (!!test_bit(LED_NUML, dev->led)); in usb_kbd_event()
|
/linux-4.1.27/fs/btrfs/ |
D | extent_map.c | 78 if (test_bit(EXTENT_FLAG_FS_MAPPING, &em->flags)) in free_extent_map() 187 if (test_bit(EXTENT_FLAG_PINNED, &prev->flags)) in mergable_maps() 194 if (test_bit(EXTENT_FLAG_COMPRESSED, &prev->flags)) in mergable_maps() 197 if (test_bit(EXTENT_FLAG_LOGGING, &prev->flags) || in mergable_maps() 198 test_bit(EXTENT_FLAG_LOGGING, &next->flags)) in mergable_maps() 295 if (test_bit(EXTENT_FLAG_FILLING, &em->flags)) { in unpin_extent_cache() 434 WARN_ON(test_bit(EXTENT_FLAG_PINNED, &em->flags)); in remove_extent_mapping() 436 if (!test_bit(EXTENT_FLAG_LOGGING, &em->flags)) in remove_extent_mapping() 447 WARN_ON(test_bit(EXTENT_FLAG_PINNED, &cur->flags)); in replace_extent_mapping() 449 if (!test_bit(EXTENT_FLAG_LOGGING, &cur->flags)) in replace_extent_mapping()
|
D | raid56.c | 309 if (!test_bit(RBIO_CACHE_READY_BIT, &src->flags)) in steal_rbio() 357 if (!test_bit(RBIO_CACHE_BIT, &rbio->flags)) in __remove_rbio_from_cache() 412 if (!test_bit(RBIO_CACHE_BIT, &rbio->flags)) in remove_rbio_from_cache() 472 if (!test_bit(RBIO_CACHE_READY_BIT, &rbio->flags)) in cache_rbio() 571 if (test_bit(RBIO_RMW_LOCKED_BIT, &last->flags) || in rbio_can_merge() 572 test_bit(RBIO_RMW_LOCKED_BIT, &cur->flags)) in rbio_can_merge() 582 if (test_bit(RBIO_CACHE_BIT, &last->flags) || in rbio_can_merge() 583 test_bit(RBIO_CACHE_BIT, &cur->flags)) in rbio_can_merge() 675 test_bit(RBIO_CACHE_BIT, &cur->flags) && in lock_stripe_add() 676 !test_bit(RBIO_RMW_LOCKED_BIT, &cur->flags)) { in lock_stripe_add() [all …]
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 946 if (test_bit(HFC_CHIP_PLXSD, &hc->chip)) { in hfcmulti_resync() 957 if (test_bit(HFC_CHIP_PLXSD, &hc->chip)) { in hfcmulti_resync() 962 if (test_bit(HFC_CHIP_PCM_MASTER, &hc->chip)) { in hfcmulti_resync() 986 && !test_bit(HFC_CHIP_RX_SYNC, &hc->chip)) { in hfcmulti_resync() 1072 if (test_bit(HFC_CHIP_PLXSD, &hc->chip) && hc->plx_membase) { in release_io_hfcmulti() 1172 if (test_bit(HFC_CHIP_EXRAM_128, &hc->chip)) { in init_chip() 1183 if (test_bit(HFC_CHIP_EXRAM_512, &hc->chip)) { in init_chip() 1205 if (test_bit(HFC_CHIP_PLXSD, &hc->chip)) { in init_chip() 1234 if (test_bit(HFC_CHIP_PLXSD, &pos->chip)) { in init_chip() 1260 if (test_bit(HFC_CHIP_EMBSD, &hc->chip)) in init_chip() [all …]
|
D | hfcpci.c | 248 if (test_bit(HFC_CFG_MASTER, &hc->cfg)) in reset_hfcpci() 250 if (test_bit(HFC_CFG_NEG_F0, &hc->cfg)) in reset_hfcpci() 279 if (test_bit(HFC_CFG_PCM, &hc->cfg)) { in reset_hfcpci() 284 if (test_bit(HFC_CFG_SW_DD_DU, &hc->cfg)) { in reset_hfcpci() 321 if (test_bit(FLG_ACTIVE, &hc->bch[0].Flags) && in Sel_BCS() 324 else if (test_bit(FLG_ACTIVE, &hc->bch[1].Flags) && in Sel_BCS() 575 if (test_bit(FLG_RX_OFF, &bch->Flags)) { in hfcpci_empty_fifo_trans() 661 } else if (test_bit(FLG_TRANSPARENT, &bch->Flags)) { in main_rec_hfcpci() 765 if (!test_bit(FLG_FILLEMPTY, &bch->Flags) && in hfcpci_fill_fifo() 766 !test_bit(FLG_TRANSPARENT, &bch->Flags)) in hfcpci_fill_fifo() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | link.c | 125 if (!test_bit(ATH_OP_BEACONS, &common->op_flags)) in ath_hw_pll_work() 151 if (!caldata || !test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_activate() 224 !test_bit(PAPRD_PACKET_SENT, &caldata->cal_flags) || in ath_paprd_calibrate() 225 test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_calibrate() 312 if (ah->caldata && test_bit(NFCAL_INTF, &ah->caldata->cal_flags)) in ath_ani_calibrate() 407 if (!test_bit(PAPRD_DONE, &ah->caldata->cal_flags)) { in ath_ani_calibrate() 424 !test_bit(ATH_OP_ANI_RUN, &common->op_flags) || in ath_start_ani() 464 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani() 468 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani() 472 if (!test_bit(ATH_OP_ANI_RUN, &common->op_flags)) { in ath_check_ani()
|
D | ar9003_rtt.c | 125 if (!test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) in ar9003_hw_patch_rtt() 213 if (test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) { in ar9003_hw_rtt_restore() 235 if (!test_bit(RTT_DONE, &ah->caldata->cal_flags)) in ar9003_hw_rtt_restore() 240 if (test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) in ar9003_hw_rtt_restore()
|
D | htc_drv_gpio.c | 76 test_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags)); in ath_btcoex_period_work() 82 ath9k_hw_btcoex_bt_stomp(priv->ah, test_bit(OP_BT_SCAN, &priv->op_flags) ? in ath_btcoex_period_work() 86 timer_period = test_bit(OP_BT_SCAN, &priv->op_flags) ? in ath_btcoex_period_work() 109 test_bit(OP_BT_SCAN, &priv->op_flags)) in ath_btcoex_duty_cycle_work()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 211 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 212 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 213 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active() 214 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active() 215 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active() 275 if (test_bit(MBX_INTR_WAIT, &ha->mbx_cmd_flags) && in qla2x00_handle_mbx_completion()
|
/linux-4.1.27/net/bridge/ |
D | br_vlan.c | 46 if (test_bit(vid, v->vlan_bitmap)) { in __vlan_add() 91 if (!test_bit(vid, v->vlan_bitmap)) in __vlan_del() 155 if (test_bit(vid, pv->untagged_bitmap)) in br_handle_vlan() 248 if (test_bit(*vid, v->vlan_bitmap)) in br_allowed_ingress() 270 if (test_bit(vid, v->vlan_bitmap)) in br_allowed_egress() 301 if (test_bit(*vid, v->vlan_bitmap)) in br_should_learn() 381 if (test_bit(vid, pv->vlan_bitmap)) in br_vlan_find() 504 return pv && vid == pv->pvid && test_bit(vid, pv->untagged_bitmap); in vlan_default_pvid() 580 if (!test_bit(p->port_no, changed)) in __br_vlan_set_default_pvid() 590 if (test_bit(0, changed)) { in __br_vlan_set_default_pvid() [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | bitops.h | 76 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() function 100 #define test_bit __skip_test_bit macro 102 #undef test_bit
|
/linux-4.1.27/arch/mn10300/lib/ |
D | bitops.c | 19 if (test_bit(nr, addr)) in change_bit() 38 if (test_bit(nr, addr)) in test_and_change_bit()
|
/linux-4.1.27/drivers/usb/host/ |
D | uhci-hub.c | 50 test_bit(port, &uhci->port_c_suspend)) in any_ports_active() 73 test_bit(port, &uhci->port_c_suspend)) in get_hub_status_data() 103 if (test_bit(port, &uhci->resuming_ports)) in uhci_finish_suspend() 164 if (!test_bit(port, &uhci->resuming_ports)) { in uhci_check_ports() 285 if (test_bit(port, &uhci->port_c_suspend)) { in uhci_hub_control() 289 if (test_bit(port, &uhci->resuming_ports)) in uhci_hub_control()
|
D | ehci-hub.c | 69 if (test_bit(port, &ehci->owned_ports)) { in ehci_handover_companion_ports() 83 if (test_bit(port, &ehci->owned_ports)) { in ehci_handover_companion_ports() 90 else if (test_bit(port, &ehci->companion_ports)) in ehci_handover_companion_ports() 110 if (test_bit(port, &ehci->owned_ports)) { in ehci_handover_companion_ports() 445 if (test_bit(i, &ehci->bus_suspended)) { in ehci_bus_resume() 466 if (test_bit(i, &ehci->bus_suspended) && in ehci_bus_resume() 489 if (test_bit(i, &resume_needed)) { in ehci_bus_resume() 665 if ((temp & mask) != 0 || test_bit(i, &ehci->port_c_suspend) in ehci_hub_status_data() 1037 } else if (test_bit(wIndex, &ehci->resuming_ports)) { in ehci_hub_control() 1082 test_bit(wIndex, &ehci->companion_ports)) { in ehci_hub_control() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 53 if (!test_bit(I40E_VF_STAT_INIT, &vf->vf_states) && in i40e_vc_vf_broadcast() 54 !test_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast() 140 if (!test_bit(I40E_VF_STAT_INIT, &vf->vf_states) && in i40e_vc_notify_vf_reset() 141 !test_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states)) in i40e_vc_notify_vf_reset() 863 if (test_bit(I40E_VF_STAT_INIT, &pf->vf[i].vf_states)) in i40e_free_vfs() 882 if (test_bit(I40E_VF_STAT_INIT, &pf->vf[i].vf_states)) in i40e_free_vfs() 1149 if (!test_bit(I40E_VF_STAT_INIT, &vf->vf_states)) { in i40e_vc_get_vf_resources_msg() 1204 if (test_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states)) in i40e_vc_reset_vf_msg() 1229 if (!test_bit(I40E_VF_STAT_ACTIVE, &vf->vf_states) || in i40e_vc_config_promiscuous_mode_msg() 1230 !test_bit(I40E_VIRTCHNL_VF_CAP_PRIVILEGE, &vf->vf_caps) || in i40e_vc_config_promiscuous_mode_msg() [all …]
|
D | i40e_txrx.h | 197 test_bit(__I40E_RX_PS_ENABLED, &(ring)->state) 203 test_bit(__I40E_TX_DETECT_HANG, &(ring)->state) 209 test_bit(__I40E_RX_16BYTE_DESC_ENABLED, &(ring)->state)
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_actlog.c | 131 *done || test_bit(FORCE_DETACH, &device->flags), dt); in wait_until_done_or_force_detached() 150 if ((rw & WRITE) && !test_bit(MD_NO_FUA, &device->flags)) in _drbd_md_sync_page_io() 223 if (test_bit(BME_NO_WRITES, &bm_ext->flags)) in find_active_resync_extent() 378 if (test_bit(BME_NO_WRITES, &bm_ext->flags)) { in drbd_al_begin_io_nonblock() 597 D_ASSERT(device, test_bit(__LC_LOCKED, &device->act_log->flags)); in drbd_al_shrink() 956 if (test_bit(BME_LOCKED, &bm_ext->flags)) in drbd_rs_begin_io() 965 (sa && test_bit(BME_PRIORITY, &bm_ext->flags))); in drbd_rs_begin_io() 967 if (sig || (sa && test_bit(BME_PRIORITY, &bm_ext->flags))) { in drbd_rs_begin_io() 1030 D_ASSERT(device, !test_bit(BME_LOCKED, &bm_ext->flags)); in drbd_try_rs_begin_io() 1031 D_ASSERT(device, test_bit(BME_NO_WRITES, &bm_ext->flags)); in drbd_try_rs_begin_io() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | led.c | 92 if (test_bit(ATH_STAT_LEDSOFT, ah->status)) { in ath5k_led_enable() 100 if (!test_bit(ATH_STAT_LEDSOFT, ah->status)) in ath5k_led_on() 107 if (!test_bit(ATH_STAT_LEDSOFT, ah->status)) in ath5k_led_off() 186 if (!test_bit(ATH_STAT_LEDSOFT, ah->status)) in ath5k_init_leds()
|
/linux-4.1.27/security/keys/ |
D | gc.c | 63 if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) { in key_schedule_gc() 138 if (test_bit(KEY_FLAG_INSTANTIATED, &key->flags) && in key_gc_unused_keys() 139 !test_bit(KEY_FLAG_NEGATIVE, &key->flags) && in key_gc_unused_keys() 146 if (test_bit(KEY_FLAG_IN_QUOTA, &key->flags)) { in key_gc_unused_keys() 154 if (test_bit(KEY_FLAG_INSTANTIATED, &key->flags)) in key_gc_unused_keys()
|
/linux-4.1.27/drivers/input/joystick/iforce/ |
D | iforce-main.c | 138 if (test_bit(FF_CORE_UPDATE, core_effect->flags)) in iforce_upload_effect() 183 if (test_bit(FF_MOD1_IS_USED, core_effect->flags)) in iforce_erase_effect() 186 if (!err && test_bit(FF_MOD2_IS_USED, core_effect->flags)) in iforce_erase_effect() 209 if (test_bit(EV_FF, dev->evbit)) { in iforce_open() 222 if (test_bit(EV_FF, dev->evbit)) { in iforce_close() 225 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags)) { in iforce_close() 237 !test_bit(IFORCE_XMIT_RUNNING, iforce->xmit_flags)); in iforce_close()
|
D | iforce-packets.c | 145 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags) && in mark_core_as_ready() 189 if (LO(cmd) >= 8 && test_bit(ABS_RUDDER ,dev->absbit)) in iforce_process_packet() 206 if (test_bit(ABS_HAT1X, dev->absbit)) { in iforce_process_packet() 211 if (test_bit(ABS_HAT1Y, dev->absbit)) { in iforce_process_packet()
|
/linux-4.1.27/fs/afs/ |
D | inode.c | 86 if (test_bit(AFS_VNODE_MOUNTPOINT, &vnode->flags)) { in afs_inode_map_status() 322 !test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags) && in afs_validate() 323 !test_bit(AFS_VNODE_MODIFIED, &vnode->flags) && in afs_validate() 324 !test_bit(AFS_VNODE_ZAP_DATA, &vnode->flags)) { in afs_validate() 333 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) in afs_validate() 343 test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags)) { in afs_validate() 351 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) { in afs_validate() 397 if (test_bit(AFS_VNODE_PSEUDODIR, &AFS_FS_I(inode)->flags)) in afs_drop_inode()
|
D | dir.c | 222 if (test_bit(AFS_VNODE_DELETED, &AFS_FS_I(inode)->flags)) in afs_dir_open() 332 if (test_bit(AFS_VNODE_DELETED, &AFS_FS_I(dir)->flags)) { in afs_dir_iterate() 473 !test_bit(AFS_VNODE_AUTOCELL, &vnode->flags)) in afs_try_auto_mntpt() 515 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) { in afs_lookup() 607 if (test_bit(AFS_VNODE_MODIFIED, &dir->flags)) in afs_d_revalidate() 610 if (test_bit(AFS_VNODE_DELETED, &dir->flags)) { in afs_d_revalidate() 707 (test_bit(AFS_VNODE_DELETED, &AFS_FS_I(d_inode(dentry))->flags) || in afs_d_delete() 708 test_bit(AFS_VNODE_PSEUDODIR, &AFS_FS_I(d_inode(dentry))->flags))) in afs_d_delete() 883 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) in afs_unlink() 885 if (test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags)) in afs_unlink()
|
D | callback.c | 70 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) in afs_broken_callback_work() 78 if (test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags)) { in afs_broken_callback_work() 85 if (test_bit(AFS_VNODE_DELETED, &vnode->flags)) in afs_broken_callback_work() 100 if (test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags)) { in afs_broken_callback_work()
|
/linux-4.1.27/sound/drivers/mpu401/ |
D | mpu401_uart.c | 100 if (test_bit(MPU401_MODE_BIT_OUTPUT, &mpu->mode) && in uart_interrupt_tx() 101 test_bit(MPU401_MODE_BIT_OUTPUT_TRIGGER, &mpu->mode)) { in uart_interrupt_tx() 114 if (test_bit(MPU401_MODE_BIT_INPUT, &mpu->mode)) in _snd_mpu401_uart_interrupt() 292 if (! test_bit(MPU401_MODE_BIT_OUTPUT, &mpu->mode)) { in snd_mpu401_uart_input_open() 314 if (! test_bit(MPU401_MODE_BIT_INPUT, &mpu->mode)) { in snd_mpu401_uart_output_open() 336 if (! test_bit(MPU401_MODE_BIT_OUTPUT, &mpu->mode)) in snd_mpu401_uart_input_close() 353 if (! test_bit(MPU401_MODE_BIT_INPUT, &mpu->mode)) in snd_mpu401_uart_output_close() 408 if (test_bit(MPU401_MODE_BIT_INPUT_TRIGGER, &mpu->mode)) in snd_mpu401_uart_input_read()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_metapage.c | 44 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) 235 if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || in drop_metapage() 236 test_bit(META_io, &mp->flag)) in drop_metapage() 283 if (!test_bit(BIO_UPTODATE, &bio->bi_flags)) { in metapage_read_end_io() 321 if (mp && test_bit(META_io, &mp->flag)) { in last_write_complete() 340 if (! test_bit(BIO_UPTODATE, &bio->bi_flags)) { in metapage_write_end_io() 377 if (!mp || !test_bit(META_dirty, &mp->flag)) in metapage_writepage() 380 if (mp->nohomeok && !test_bit(META_forcewrite, &mp->flag)) { in metapage_writepage() 553 test_bit(META_dirty, &mp->flag)) { in metapage_releasepage() 652 if (test_bit(META_discard, &mp->flag)) { in __get_metapage() [all …]
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 71 (test_bit( in bnx2fc_ofld_wait() 125 if (!(test_bit(BNX2FC_FLAG_OFFLOADED, &tgt->flags))) { in bnx2fc_offload_session() 150 if (!(test_bit(BNX2FC_FLAG_ENABLED, &tgt->flags))) in bnx2fc_offload_session() 200 if (test_bit(BNX2FC_FLAG_DISABLE_FAILED, &tgt->flags)) in bnx2fc_flush_active_ios() 234 if (test_bit(BNX2FC_FLAG_DISABLE_FAILED, &tgt->flags)) in bnx2fc_flush_active_ios() 283 (test_bit( in bnx2fc_upld_wait() 323 if (test_bit(BNX2FC_FLAG_DISABLED, &tgt->flags)) { in bnx2fc_upload_session() 331 if (!(test_bit(BNX2FC_FLAG_DESTROYED, &tgt->flags))) in bnx2fc_upload_session() 337 } else if (test_bit(BNX2FC_FLAG_DISABLE_FAILED, &tgt->flags)) { in bnx2fc_upload_session() 492 if (test_bit(BNX2FC_FLAG_ENABLED, &tgt->flags)) { in bnx2fc_rport_event_handler() [all …]
|
D | bnx2fc_els.c | 283 if (test_bit(BNX2FC_FLAG_IO_COMPL, &orig_io_req->req_flags) || in bnx2fc_srr_compl() 284 test_bit(BNX2FC_FLAG_ISSUE_ABTS, &orig_io_req->req_flags)) { in bnx2fc_srr_compl() 310 if (test_bit(BNX2FC_FLAG_IO_COMPL, &orig_io_req->req_flags) || in bnx2fc_srr_compl() 311 test_bit(BNX2FC_FLAG_ISSUE_ABTS, &orig_io_req->req_flags)) { in bnx2fc_srr_compl() 427 if (test_bit(BNX2FC_FLAG_IO_COMPL, &orig_io_req->req_flags)) { in bnx2fc_rec_compl() 433 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &orig_io_req->req_flags)) { in bnx2fc_rec_compl() 692 if (!(test_bit(BNX2FC_FLAG_SESSION_READY, &tgt->flags)) || in bnx2fc_initiate_els() 693 (test_bit(BNX2FC_FLAG_EXPL_LOGO, &tgt->flags))) { in bnx2fc_initiate_els() 773 if (!test_bit(BNX2FC_FLAG_SESSION_READY, &tgt->flags)) { in bnx2fc_initiate_els()
|
/linux-4.1.27/arch/x86/kvm/ |
D | kvm_cache_regs.h | 12 if (!test_bit(reg, (unsigned long *)&vcpu->arch.regs_avail)) in kvm_register_read() 41 if (!test_bit(VCPU_EXREG_PDPTR, in kvm_pdptr_read() 71 if (!test_bit(VCPU_EXREG_CR3, (ulong *)&vcpu->arch.regs_avail)) in kvm_read_cr3()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 289 if (!test_bit(WMI_READY, &ar->flag)) { in ath6kl_cfg80211_ready() 294 if (!test_bit(WLAN_ENABLED, &vif->flags)) { in ath6kl_cfg80211_ready() 435 if (WARN_ON(!test_bit(WMI_READY, &vif->ar->flag))) in ath6kl_cfg80211_sta_bmiss_enhance() 441 if (!test_bit(ATH6KL_FW_CAPABILITY_BMISS_ENHANCE, in ath6kl_cfg80211_sta_bmiss_enhance() 471 if (test_bit(DESTROY_IN_PROGRESS, &ar->flag)) { in ath6kl_cfg80211_connect() 476 if (test_bit(SKIP_SCAN, &ar->flag) && in ath6kl_cfg80211_connect() 488 if (test_bit(DESTROY_IN_PROGRESS, &ar->flag)) { in ath6kl_cfg80211_connect() 517 if (test_bit(CONNECTED, &vif->flags) && in ath6kl_cfg80211_connect() 830 if (test_bit(DESTROY_IN_PROGRESS, &ar->flag)) { in ath6kl_cfg80211_disconnect() 845 if (!test_bit(SKIP_SCAN, &ar->flag)) in ath6kl_cfg80211_disconnect() [all …]
|
D | main.c | 508 if (test_bit(CONNECTED, &vif->flags) || in ath6kl_disconnect() 509 test_bit(CONNECT_PEND, &vif->flags)) { in ath6kl_disconnect() 584 test_bit(ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE, in ath6kl_commit_ch_switch() 805 if (test_bit(STATS_UPDATE_PEND, &vif->flags)) { in ath6kl_update_target_stats() 1001 if (test_bit(WMI_READY, &ar->flag)) in ath6kl_disconnect_event() 1034 if (!ar->usr_bss_filter && test_bit(WMI_READY, &ar->flag)) in ath6kl_disconnect_event() 1093 if (test_bit(CONNECTED, &vif->flags)) { in ath6kl_open() 1166 if (!test_bit(WMI_READY, &vif->ar->flag) || in ath6kl_set_multicast_list() 1167 !test_bit(WLAN_ENABLED, &vif->flags)) in ath6kl_set_multicast_list() 1180 if (test_bit(ATH6KL_FW_CAPABILITY_WOW_MULTICAST_FILTER, in ath6kl_set_multicast_list() [all …]
|
/linux-4.1.27/drivers/net/caif/ |
D | caif_spi_slave.c | 78 test_bit(SPI_XFER, &cfspi->state) || in cfspi_xfer() 79 test_bit(SPI_TERMINATE, &cfspi->state)); in cfspi_xfer() 81 if (test_bit(SPI_TERMINATE, &cfspi->state)) in cfspi_xfer() 240 && !test_bit(SPI_SS_ON, &cfspi->state)) in cfspi_xfer()
|
D | caif_hsi.c | 77 if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_inactivity_tout() 157 if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_abort_tx() 198 !test_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits), ret); in cfhsi_flush_fifo() 338 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_start_tx() 371 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done() 407 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done_cb() 629 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_rx_done() 693 if (test_bit(CFHSI_AWAKE, &cfhsi->bits)) { in cfhsi_rx_done() 762 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_rx_done_cb() 780 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_wake_up() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | tt.c | 173 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_check_exit_ct_kill() 222 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_ready_for_ct_kill() 501 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_bg_ct_enter() 530 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_bg_ct_exit() 560 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_enter_ct_kill() 569 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_exit_ct_kill() 581 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_bg_tt_work() 592 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_handler()
|
D | scan.c | 69 if (!test_bit(STATUS_READY, &priv->status) || in iwl_send_scan_abort() 70 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_send_scan_abort() 71 test_bit(STATUS_FW_ERROR, &priv->status)) in iwl_send_scan_abort() 165 if (!test_bit(STATUS_SCANNING, &priv->status)) { in iwl_force_scan_end() 184 if (!test_bit(STATUS_SCANNING, &priv->status)) { in iwl_do_scan_abort() 228 if (!test_bit(STATUS_SCAN_HW, &priv->status)) in iwl_scan_cancel_timeout() 838 if (test_bit(STATUS_POWER_PMI, &priv->status) && in iwlagn_request_scan() 959 if (test_bit(STATUS_SCAN_HW, &priv->status)) { in iwl_scan_initiate() 965 if (test_bit(STATUS_SCAN_ABORTING, &priv->status)) { in iwl_scan_initiate() 1016 if (test_bit(STATUS_SCANNING, &priv->status)) { in iwl_bg_start_internal_scan()
|
D | agn.h | 417 return test_bit(STATUS_READY, &priv->status) && in iwl_is_ready() 418 !test_bit(STATUS_EXIT_PENDING, &priv->status); in iwl_is_ready() 423 return test_bit(STATUS_ALIVE, &priv->status); in iwl_is_alive() 428 return test_bit(STATUS_RF_KILL_HW, &priv->status); in iwl_is_rfkill() 433 return test_bit(STATUS_CT_KILL, &priv->status); in iwl_is_ctkill()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-ack.c | 473 if (test_bit(RXRPC_CALL_RELEASED, &call->flags)) in rxrpc_drain_rx_oos_queue() 845 !test_bit(RXRPC_CALL_HAS_USERID, &call->flags)) { in rxrpc_post_message() 850 if (!test_bit(RXRPC_CALL_TERMINAL_MSG, &call->flags)) { in rxrpc_post_message() 928 if (test_bit(RXRPC_CALL_RELEASE, &call->events)) { in rxrpc_process_call() 933 if (test_bit(RXRPC_CALL_RCVD_ERROR, &call->events)) { in rxrpc_process_call() 950 if (test_bit(RXRPC_CALL_CONN_ABORT, &call->events)) { in rxrpc_process_call() 965 if (test_bit(RXRPC_CALL_REJECT_BUSY, &call->events)) { in rxrpc_process_call() 971 if (test_bit(RXRPC_CALL_ABORT, &call->events)) { in rxrpc_process_call() 985 if (test_bit(RXRPC_CALL_ACK_FINAL, &call->events)) { in rxrpc_process_call() 1017 if (test_bit(RXRPC_CALL_RCVD_ABORT, &call->events)) in rxrpc_process_call() [all …]
|
D | ar-recvmsg.c | 27 if (test_bit(RXRPC_CALL_HAS_USERID, &call->flags)) { in rxrpc_remove_user_ID() 35 if (!test_bit(RXRPC_CALL_RELEASED, &call->flags) && in rxrpc_remove_user_ID() 122 if (test_bit(RXRPC_CALL_RELEASED, &call->flags)) { in rxrpc_recvmsg() 169 ASSERT(test_bit(RXRPC_CALL_HAS_USERID, &call->flags)); in rxrpc_recvmsg() 279 ASSERT(test_bit(RXRPC_CALL_HAS_USERID, &call->flags)); in rxrpc_recvmsg()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 244 if (test_bit(QLCNIC_DCB_STATE, &dcb->state)) in __qlcnic_init_dcbnl_ops() 284 while (test_bit(QLCNIC_DCB_AEN_MODE, &dcb->state)) in __qlcnic_dcb_free() 784 return test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state); in qlcnic_dcb_get_state() 804 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state) || in qlcnic_dcb_get_pg_tc_cfg_tx() 840 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state) || in qlcnic_dcb_get_pg_bwg_cfg_tx() 866 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state) || in qlcnic_dcb_get_pfc_cfg() 885 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state)) in qlcnic_dcb_get_capability() 914 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state)) in qlcnic_dcb_get_num_tcs() 937 if (!test_bit(QLCNIC_DCB_STATE, &adapter->dcb->state)) in qlcnic_dcb_get_app() 948 if (!test_bit(QLCNIC_DCB_STATE, &dcb->state)) in qlcnic_dcb_get_pfc_state() [all …]
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 1716 if (adapter_up(ha) && !test_bit(AF_BUILD_DDB_LIST, &ha->flags)) in qla4xxx_ep_poll() 1880 if (test_bit(AF_LINK_UP, &ha->flags)) in qla4xxx_set_port_state() 3462 conn->is_fw_assigned_ipv6 = test_bit(OPT_IS_FW_ASSIGNED_IPV6, &options); in qla4xxx_copy_from_fwddb_param() 3463 if (test_bit(OPT_IPV6_DEVICE, &options)) { in qla4xxx_copy_from_fwddb_param() 3475 sess->auto_snd_tgt_disable = test_bit(OPT_AUTO_SENDTGTS_DISABLE, in qla4xxx_copy_from_fwddb_param() 3477 sess->discovery_sess = test_bit(OPT_DISC_SESSION, &options); in qla4xxx_copy_from_fwddb_param() 3478 sess->entry_state = test_bit(OPT_ENTRY_STATE, &options); in qla4xxx_copy_from_fwddb_param() 3481 conn->hdrdgst_en = test_bit(ISCSIOPT_HEADER_DIGEST_EN, &options); in qla4xxx_copy_from_fwddb_param() 3482 conn->datadgst_en = test_bit(ISCSIOPT_DATA_DIGEST_EN, &options); in qla4xxx_copy_from_fwddb_param() 3483 sess->imm_data_en = test_bit(ISCSIOPT_IMMEDIATE_DATA_EN, &options); in qla4xxx_copy_from_fwddb_param() [all …]
|
D | ql4_def.h | 922 return (test_bit(AF_ONLINE, &ha->flags) != 0) && in adapter_up() 923 (test_bit(AF_LINK_UP, &ha->flags) != 0) && in adapter_up() 924 (!test_bit(AF_LOOPBACK, &ha->flags)); in adapter_up() 1051 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active() 1052 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1053 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1054 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active() 1055 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active() 1056 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
D | mce_intel.c | 244 if (test_bit(i, owned)) in cmci_discover() 248 if (test_bit(i, mce_banks_ce_disabled)) in cmci_discover() 291 WARN_ON(!test_bit(i, this_cpu_ptr(mce_poll_banks))); in cmci_discover() 325 if (!test_bit(bank, this_cpu_ptr(mce_banks_owned))) in __cmci_disable_bank()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack.h | 261 return test_bit(IPS_TEMPLATE_BIT, &ct->status); in nf_ct_is_template() 267 return test_bit(IPS_CONFIRMED_BIT, &ct->status); in nf_ct_is_confirmed() 272 return test_bit(IPS_DYING_BIT, &ct->status); in nf_ct_is_dying() 277 return test_bit(IPS_UNTRACKED_BIT, &ct->status); in nf_ct_is_untracked()
|
/linux-4.1.27/fs/ubifs/ |
D | misc.h | 38 return !!test_bit(DIRTY_ZNODE, &znode->flags); in ubifs_zn_dirty() 49 return !!test_bit(OBSOLETE_ZNODE, &znode->flags); in ubifs_zn_obsolete() 61 return !!test_bit(COW_ZNODE, &znode->flags); in ubifs_zn_cow()
|
/linux-4.1.27/drivers/pwm/ |
D | pwm-tiecap.c | 100 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_config() 114 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_config() 182 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_free() 309 if (test_bit(PWMF_ENABLED, &pwm->flags)) in ecap_pwm_suspend() 321 if (test_bit(PWMF_ENABLED, &pwm->flags)) in ecap_pwm_resume()
|
D | pwm-tegra.c | 115 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in tegra_pwm_config() 127 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in tegra_pwm_config() 217 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in tegra_pwm_remove()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | cachetype.h | 85 return test_bit(ICACHEF_ALIASING, &__icache_flags); in icache_is_aliasing() 90 return test_bit(ICACHEF_AIVIVT, &__icache_flags); in icache_is_aivivt()
|
/linux-4.1.27/net/bluetooth/ |
D | hci_conn.c | 553 if (test_bit(HCI_CONN_PARAM_REMOVAL_PEND, &conn->flags)) in hci_conn_del() 573 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route() 924 if (test_bit(HCI_CONN_MODE_CHANGE_PEND, &acl->flags)) { in hci_connect_sco() 947 !test_bit(HCI_CONN_AES_CCM, &conn->flags) || in hci_conn_check_link_mode() 953 !test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_check_link_mode() 969 else if (test_bit(HCI_CONN_AUTH, &conn->flags)) in hci_conn_auth() 987 if (test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_auth() 1029 if (!test_bit(HCI_CONN_AUTH, &conn->flags)) in hci_conn_security() 1062 if (test_bit(HCI_CONN_ENCRYPT_PEND, &conn->flags)) in hci_conn_security() 1072 if (test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_security() [all …]
|
D | l2cap_core.c | 563 test_bit(FLAG_HOLD_HCI_CONN, &chan->flags)) in __l2cap_chan_add() 601 test_bit(FLAG_HOLD_HCI_CONN, &chan->flags)) in l2cap_chan_del() 615 if (test_bit(CONF_NOT_COMPLETE, &chan->conf_state)) in l2cap_chan_del() 672 if (test_bit(FLAG_DEFER_SETUP, &chan->flags)) in l2cap_chan_le_connect_reject() 695 if (test_bit(FLAG_DEFER_SETUP, &chan->flags)) in l2cap_chan_connect_reject() 894 (!test_bit(FLAG_FLUSHABLE, &chan->flags) && in l2cap_do_send() 900 bt_cb(skb)->force_active = test_bit(FLAG_FORCE_ACTIVE, &chan->flags); in l2cap_do_send() 955 if (test_bit(FLAG_EXT_CTRL, &chan->flags)) { in __unpack_control() 1008 if (test_bit(FLAG_EXT_CTRL, &chan->flags)) { in __pack_control() 1019 if (test_bit(FLAG_EXT_CTRL, &chan->flags)) in __ertm_hdr_size() [all …]
|
D | smp.c | 743 complete = test_bit(SMP_FLAG_COMPLETE, &smp->flags); in smp_chan_destroy() 835 if (test_bit(SMP_FLAG_SC, &smp->flags)) in get_auth_method() 868 if (smp->method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR, in tk_request() 886 if (test_bit(SMP_FLAG_SC, &smp->flags)) in tk_request() 1069 persistent = !test_bit(HCI_CONN_FLUSH_KEY, in smp_notify_keys() 1108 if (test_bit(SMP_FLAG_DEBUG_KEY, &smp->flags)) in smp_notify_keys() 1137 if (test_bit(SMP_FLAG_DEBUG_KEY, &smp->flags)) in sc_add_ltk() 1251 if (test_bit(SMP_FLAG_SC, &smp->flags)) { in smp_distribute_keys() 1528 if (test_bit(SMP_FLAG_WAIT_USER, &smp->flags)) { in sc_passkey_round() 1627 if (test_bit(SMP_FLAG_SC, &smp->flags)) { in smp_user_confirm_reply() [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | p2p.c | 584 if (test_bit(BRCMF_P2P_STATUS_ENABLED, &p2p->status)) { in brcmf_p2p_enable_discovery() 942 if (test_bit(BRCMF_P2P_STATUS_DISCOVER_LISTEN, &p2p->status)) { in brcmf_p2p_discover_listen() 1132 if (test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, in brcmf_p2p_afx_handler() 1175 (!test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, in brcmf_p2p_af_searching_channel() 1189 (!test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, in brcmf_p2p_af_searching_channel() 1197 if (test_bit(BRCMF_VIF_STATUS_CONNECTED, &pri_vif->sme_state) || in brcmf_p2p_af_searching_channel() 1198 test_bit(BRCMF_VIF_STATUS_CONNECTING, &pri_vif->sme_state)) in brcmf_p2p_af_searching_channel() 1230 if (!test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, &p2p->status)) in brcmf_p2p_scan_finding_common_channel() 1276 if (test_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status) && in brcmf_p2p_stop_wait_next_action_frame() 1277 (test_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status) || in brcmf_p2p_stop_wait_next_action_frame() [all …]
|
/linux-4.1.27/sound/usb/line6/ |
D | playback.c | 202 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running) && in submit_audio_out_urb() 203 !test_bit(LINE6_FLAG_PAUSE_PLAYBACK, &line6pcm->flags)) { in submit_audio_out_urb() 247 if (test_bit(LINE6_STREAM_IMPULSE, &line6pcm->out.running)) { in submit_audio_out_urb() 250 if (test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) { in submit_audio_out_urb() 328 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback() 352 if (test_bit(LINE6_STREAM_PCM, &line6pcm->out.running)) { in audio_out_callback()
|
D | capture.c | 188 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback() 189 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running) && in audio_in_callback() 202 if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in audio_in_callback() 203 test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) in audio_in_callback()
|
/linux-4.1.27/fs/hfsplus/ |
D | unicode.c | 137 compose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags); in hfsplus_uni2asc() 306 decompose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags); in hfsplus_asc2uni() 347 casefold = test_bit(HFSPLUS_SB_CASEFOLD, &HFSPLUS_SB(sb)->flags); in hfsplus_hash_dentry() 348 decompose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags); in hfsplus_hash_dentry() 399 casefold = test_bit(HFSPLUS_SB_CASEFOLD, &HFSPLUS_SB(sb)->flags); in hfsplus_compare_dentry() 400 decompose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags); in hfsplus_compare_dentry()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 93 if (test_bit(CNIC_F_BNX2_CLASS, &dev->flags)) { in bnx2i_identify_device() 105 } else if (test_bit(CNIC_F_BNX2X_CLASS, &dev->flags)) { in bnx2i_identify_device() 183 while (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) && in bnx2i_start() 184 !test_bit(ADAPTER_STATE_INIT_FAILED, &hba->adapter_state) && i--) in bnx2i_start() 364 if (test_bit(BNX2I_CNIC_REGISTERED, &hba->reg_with_cnic)) { in bnx2i_ulp_exit() 580 if (test_bit(BNX2I_CNIC_REGISTERED, &hba->reg_with_cnic)) { in bnx2i_mod_exit()
|
D | bnx2i_iscsi.c | 38 if (!hba || !test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_adapter_ready() 39 test_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state) || in bnx2i_adapter_ready() 40 test_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state)) in bnx2i_adapter_ready() 768 if (test_bit(BNX2I_NX2_DEV_5708, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size() 770 else if (test_bit(BNX2I_NX2_DEV_5709, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size() 772 else if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size() 818 if (test_bit(BNX2I_NX2_DEV_5709, &hba->cnic_dev_type)) { in bnx2i_alloc_hba() 822 } else if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba() 845 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba() 859 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba() [all …]
|
/linux-4.1.27/fs/nfs/ |
D | nfs4state.c | 81 if (test_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state)) in nfs4_init_clientid() 278 if (!test_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state)) { in nfs41_setup_state_renewal() 310 if (test_bit(NFS4CLNT_LEASE_CONFIRM, &clp->cl_state)) in nfs41_init_clientid() 768 call_close |= test_bit(NFS_O_RDONLY_STATE, &state->flags); in __nfs4_close() 769 call_close |= test_bit(NFS_O_RDWR_STATE, &state->flags); in __nfs4_close() 773 call_close |= test_bit(NFS_O_WRONLY_STATE, &state->flags); in __nfs4_close() 774 call_close |= test_bit(NFS_O_RDWR_STATE, &state->flags); in __nfs4_close() 901 if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags)) { in nfs4_put_lock_state() 953 if (test_bit(LK_STATE_IN_USE, &state->flags) == 0) in nfs4_copy_lock_stateid() 959 if (lsp && test_bit(NFS_LOCK_LOST, &lsp->ls_flags)) in nfs4_copy_lock_stateid() [all …]
|
D | callback_proc.c | 182 if (test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags) || in initiate_file_draining() 403 status = (test_bit(ref->rc_slotid, tbl->used_slots) && in referring_call_exists() 436 if (test_bit(NFS4_SLOT_TBL_DRAINING, &tbl->slot_tbl_state)) { in nfs4_callback_sequence() 442 if (test_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) in nfs4_callback_sequence() 513 if (test_bit(RCA4_TYPE_MASK_RDATA_DLG, (const unsigned long *) in nfs4_callback_recallany() 516 if (test_bit(RCA4_TYPE_MASK_WDATA_DLG, (const unsigned long *) in nfs4_callback_recallany() 519 if (test_bit(RCA4_TYPE_MASK_FILE_LAYOUT, (const unsigned long *) in nfs4_callback_recallany()
|
D | delegation.c | 54 !test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) { in nfs4_do_check_delegation() 131 if (!test_bit(NFS_DELEGATED_STATE, &state->flags)) in nfs_delegation_claim_opens() 202 if (!test_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) in nfs_do_return_delegation() 412 if (test_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) in nfs_end_delegation_return() 439 if (test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in nfs_delegation_need_return() 581 if (test_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state)) in nfs_delegation_run_state_manager() 824 if (test_bit(NFS_DELEGATION_RETURNING, in nfs_delegation_reap_unclaimed() 827 if (test_bit(NFS_DELEGATION_NEED_RECLAIM, in nfs_delegation_reap_unclaimed()
|
D | pnfs.c | 302 if (test_bit(fail_bit, &lo->plh_flags) == 0) in pnfs_layout_io_test_failed() 338 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg() 354 if (!test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_need_return() 358 if (s != lseg && test_bit(NFS_LSEG_LAYOUTRETURN, &s->pls_flags)) in pnfs_layout_need_return() 400 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg() 409 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_put_lseg() 450 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg_locked() 806 return test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags) && in pnfs_layout_returning() 817 test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags) || in pnfs_layoutgets_blocked() 837 test_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags)) { in pnfs_choose_layoutget_stateid() [all …]
|
D | pagelist.c | 229 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 234 if (!test_bit(bit, &tmp->wb_flags)) in nfs_page_group_sync_on_bit_locked() 285 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags)); in nfs_page_group_init() 297 if (test_bit(PG_INODE_REF, &prev->wb_head->wb_flags)) { in nfs_page_group_init() 359 if (test_bit(NFS_CONTEXT_BAD, &ctx->flags)) in nfs_create_request() 455 WARN_ON_ONCE(test_bit(PG_TEARDOWN, &req->wb_flags)); in nfs_free_request() 456 WARN_ON_ONCE(test_bit(PG_UNLOCKPAGE, &req->wb_flags)); in nfs_free_request() 457 WARN_ON_ONCE(test_bit(PG_UPTODATE, &req->wb_flags)); in nfs_free_request() 458 WARN_ON_ONCE(test_bit(PG_WB_END, &req->wb_flags)); in nfs_free_request() 459 WARN_ON_ONCE(test_bit(PG_REMOVE, &req->wb_flags)); in nfs_free_request()
|
/linux-4.1.27/drivers/usb/storage/ |
D | transport.c | 135 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_msg_common() 165 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_msg_common() 424 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_bulk_transfer_sglist() 441 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_bulk_transfer_sglist() 609 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_invoke_transport() 719 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_invoke_transport() 838 } else if (test_bit(US_FLIDX_READ10_WORKED, &us->dflags)) { in usb_stor_invoke_transport() 848 if (test_bit(US_FLIDX_REDO_READ10, &us->dflags)) { in usb_stor_invoke_transport() 1292 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in usb_stor_reset_common() 1308 test_bit(US_FLIDX_DISCONNECTING, &us->dflags), in usb_stor_reset_common() [all …]
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.c | 276 if (test_bit(MTIP_DDF_REMOVE_PENDING_BIT, &dd->dd_flag)) in mtip_hba_reset() 468 if (test_bit(MTIP_DDF_REMOVE_PENDING_BIT, &port->dd->dd_flag)) in mtip_restart_port() 499 if (test_bit(MTIP_DDF_REMOVE_PENDING_BIT, &port->dd->dd_flag)) in mtip_restart_port() 513 if (test_bit(MTIP_DDF_REMOVE_PENDING_BIT, &port->dd->dd_flag)) in mtip_restart_port() 626 if (test_bit(MTIP_PF_IC_ACTIVE_BIT, &port->flags) && in mtip_handle_tfe() 627 test_bit(MTIP_TAG_INTERNAL, port->allocated)) { in mtip_handle_tfe() 841 if (test_bit(MTIP_PF_IC_ACTIVE_BIT, &port->flags) && in mtip_process_legacy() 948 if (test_bit(MTIP_DDF_REMOVE_PENDING_BIT, in mtip_handle_irq() 1044 if (test_bit(MTIP_PF_SVC_THD_ACTIVE_BIT, &port->flags) && in mtip_quiesce_io() 1045 test_bit(MTIP_PF_ISSUE_CMDS_BIT, &port->flags)) { in mtip_quiesce_io() [all …]
|
/linux-4.1.27/arch/powerpc/mm/ |
D | pgtable.c | 80 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter() 114 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter() 156 if (test_bit(PG_arch_1, &pg->flags)) in set_access_flags_filter()
|
/linux-4.1.27/include/net/ |
D | scm.h | 96 if (test_bit(SOCK_PASSSEC, &sock->flags)) { in scm_passec() 114 if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp) in scm_recv() 120 if (test_bit(SOCK_PASSCRED, &sock->flags)) { in scm_recv()
|
/linux-4.1.27/net/sunrpc/ |
D | svc_xprt.c | 132 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) in svc_xprt_free() 222 if (!test_bit(XPT_BUSY, &xprt->xpt_flags)) { in svc_xprt_received() 354 if (test_bit(RQ_BUSY, &rqstp->rq_flags)) in svc_xprt_do_enqueue() 413 if (test_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_xprt_enqueue() 518 if (test_bit(RQ_BUSY, &rqstp->rq_flags)) in svc_wake_up() 746 if (test_bit(XPT_CLOSE, &xprt->xpt_flags)) { in svc_handle_xprt() 752 if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) { in svc_handle_xprt() 884 if (test_bit(XPT_DEAD, &xprt->xpt_flags) in svc_send() 885 || test_bit(XPT_CLOSE, &xprt->xpt_flags)) in svc_send() 927 test_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_age_temp_xprts() [all …]
|
D | auth.c | 467 test_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags) != 0) in rpcauth_prune_expired() 561 if (test_bit(RPCAUTH_CRED_HASHED, &entry->cr_flags) && in rpcauth_lookup_credcache() 562 !test_bit(RPCAUTH_CRED_NEW, &entry->cr_flags)) in rpcauth_lookup_credcache() 567 if (test_bit(RPCAUTH_CRED_HASHED, &entry->cr_flags) == 0) { in rpcauth_lookup_credcache() 605 if (test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags) && in rpcauth_lookup_credcache() 716 if (test_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags) == 0) { in put_rpccred() 728 if (test_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags) != 0) { in put_rpccred() 729 if (test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) != 0) { in put_rpccred() 859 test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) != 0; in rpcauth_uptodatecred()
|
D | svcauth_unix.c | 101 if (test_bit(CACHE_VALID, &item->flags) && in ip_map_put() 102 !test_bit(CACHE_NEGATIVE, &item->flags)) in ip_map_put() 261 if (test_bit(CACHE_VALID, &h->flags) && in ip_map_show() 262 !test_bit(CACHE_NEGATIVE, &h->flags)) in ip_map_show() 346 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_get() 372 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_put() 426 if (test_bit(CACHE_VALID, &item->flags) && in unix_gid_put() 427 !test_bit(CACHE_NEGATIVE, &item->flags)) in unix_gid_put() 559 if (test_bit(CACHE_VALID, &h->flags) && in unix_gid_show() 560 !test_bit(CACHE_NEGATIVE, &h->flags)) in unix_gid_show()
|
D | auth_generic.c | 220 if (test_bit(RPC_CRED_NO_CRKEY_TIMEOUT, &acred->ac_flags)) in generic_key_timeout() 224 if (test_bit(RPC_CRED_NOTIFY_TIMEOUT, &acred->ac_flags)) in generic_key_timeout() 278 ret = test_bit(RPC_CRED_KEY_EXPIRE_SOON, &acred->ac_flags); in generic_key_to_expire()
|
/linux-4.1.27/sound/atmel/ |
D | ac97c.c | 393 if (!test_bit(DMA_TX_READY, &chip->flags)) in atmel_ac97c_playback_prepare() 484 if (!test_bit(DMA_RX_READY, &chip->flags)) in atmel_ac97c_capture_prepare() 768 capture = test_bit(DMA_RX_CHAN_PRESENT, &chip->flags); in atmel_ac97c_pcm_new() 769 playback = test_bit(DMA_TX_CHAN_PRESENT, &chip->flags); in atmel_ac97c_pcm_new() 1109 if (!test_bit(DMA_RX_CHAN_PRESENT, &chip->flags) && in atmel_ac97c_probe() 1110 !test_bit(DMA_TX_CHAN_PRESENT, &chip->flags)) { in atmel_ac97c_probe() 1143 if (test_bit(DMA_RX_CHAN_PRESENT, &chip->flags)) in atmel_ac97c_probe() 1145 if (test_bit(DMA_TX_CHAN_PRESENT, &chip->flags)) in atmel_ac97c_probe() 1174 if (test_bit(DMA_RX_READY, &chip->flags)) in atmel_ac97c_suspend() 1176 if (test_bit(DMA_TX_READY, &chip->flags)) in atmel_ac97c_suspend() [all …]
|
/linux-4.1.27/drivers/scsi/libsas/ |
D | sas_event.c | 32 if (!test_bit(SAS_HA_REGISTERED, &ha->state)) in sas_queue_work() 35 if (test_bit(SAS_HA_DRAINING, &ha->state)) { in sas_queue_work() 85 if (test_bit(SAS_HA_REGISTERED, &ha->state)) in sas_drain_work()
|
/linux-4.1.27/kernel/ |
D | kthread.c | 81 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop() 98 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(current)->flags); in kthread_should_park() 160 while (test_bit(KTHREAD_SHOULD_PARK, &self->flags)) { in __kthread_parkme() 205 if (!test_bit(KTHREAD_SHOULD_STOP, &self.flags)) { in kthread() 393 if (test_bit(KTHREAD_IS_PER_CPU, &kthread->flags)) in __kthread_unpark() 433 if (!test_bit(KTHREAD_IS_PARKED, &kthread->flags)) { in kthread_park()
|
/linux-4.1.27/drivers/spi/ |
D | spi-dw-mid.c | 144 if (test_bit(RX_BUSY, &dws->dma_chan_busy)) in dw_spi_dma_tx_done() 190 if (test_bit(TX_BUSY, &dws->dma_chan_busy)) in dw_spi_dma_rx_done() 276 if (test_bit(TX_BUSY, &dws->dma_chan_busy)) { in mid_spi_dma_stop() 280 if (test_bit(RX_BUSY, &dws->dma_chan_busy)) { in mid_spi_dma_stop()
|
/linux-4.1.27/drivers/net/usb/ |
D | r8152.c | 687 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in generic_ocp_read() 731 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in generic_ocp_write() 959 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_mii_word() 975 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_mii_word() 1061 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_bulk_callback() 1064 if (!test_bit(WORK_ENABLE, &tp->flags)) in read_bulk_callback() 1141 if (!test_bit(WORK_ENABLE, &tp->flags)) in write_bulk_callback() 1144 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_bulk_callback() 1162 if (!test_bit(WORK_ENABLE, &tp->flags)) in intr_callback() 1165 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in intr_callback() [all …]
|
/linux-4.1.27/drivers/acpi/ |
D | battery.c | 282 else if (test_bit(ACPI_BATTERY_ALARM_PRESENT, &battery->flags) && in acpi_battery_get_property() 448 char *name = test_bit(ACPI_BATTERY_XINFO_PRESENT, &battery->flags) ? in acpi_battery_get_info() 469 else if (test_bit(ACPI_BATTERY_XINFO_PRESENT, &battery->flags)) in acpi_battery_get_info() 477 if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)) in acpi_battery_get_info() 479 if (test_bit(ACPI_BATTERY_QUIRK_THINKPAD_MAH, &battery->flags) && in acpi_battery_get_info() 538 if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags) in acpi_battery_get_state() 542 if (test_bit(ACPI_BATTERY_QUIRK_THINKPAD_MAH, &battery->flags) && in acpi_battery_get_state() 555 !test_bit(ACPI_BATTERY_ALARM_PRESENT, &battery->flags)) in acpi_battery_set_alarm() 686 if (test_bit(ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY, &battery->flags)) in acpi_battery_quirks() 698 if (test_bit(ACPI_BATTERY_QUIRK_THINKPAD_MAH, &battery->flags)) in acpi_battery_quirks() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | debug.c | 542 if (!test_bit(S_GEO_CONFIGURED, &il->status)) in il_dbgfs_channels_read() 622 test_bit(S_HCMD_ACTIVE, &il->status)); in il_dbgfs_status_read() 625 test_bit(S_INT_ENABLED, &il->status)); in il_dbgfs_status_read() 628 test_bit(S_RFKILL, &il->status)); in il_dbgfs_status_read() 631 test_bit(S_CT_KILL, &il->status)); in il_dbgfs_status_read() 634 test_bit(S_INIT, &il->status)); in il_dbgfs_status_read() 637 test_bit(S_ALIVE, &il->status)); in il_dbgfs_status_read() 640 test_bit(S_READY, &il->status)); in il_dbgfs_status_read() 643 test_bit(S_TEMPERATURE, &il->status)); in il_dbgfs_status_read() 646 test_bit(S_GEO_CONFIGURED, &il->status)); in il_dbgfs_status_read() [all …]
|
/linux-4.1.27/fs/hfs/ |
D | bnode.c | 274 wait_event(node2->lock_wq, !test_bit(HFS_BNODE_NEW, &node2->flags)); in __hfs_bnode_create() 327 wait_event(node->lock_wq, !test_bit(HFS_BNODE_NEW, &node->flags)); in hfs_bnode_find() 328 if (test_bit(HFS_BNODE_ERROR, &node->flags)) in hfs_bnode_find() 336 if (test_bit(HFS_BNODE_ERROR, &node->flags)) in hfs_bnode_find() 338 if (!test_bit(HFS_BNODE_NEW, &node->flags)) in hfs_bnode_find() 425 if (test_bit(HFS_BNODE_ERROR, &node->flags)) { in hfs_bnode_create() 475 if (test_bit(HFS_BNODE_DELETED, &node->flags)) { in hfs_bnode_put()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | sched.h | 139 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 150 #define RPC_IS_QUEUED(t) test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 159 #define RPC_IS_ACTIVATED(t) test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate)
|
D | xprt.h | 258 return test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); in bc_prealloc() 377 return test_bit(XPRT_CONNECTED, &xprt->state); in xprt_connected() 399 return test_bit(XPRT_CONNECTING, &xprt->state); in xprt_connecting() 414 return test_bit(XPRT_BOUND, &xprt->state); in xprt_bound()
|
/linux-4.1.27/drivers/tty/serial/ |
D | ifx6x60.c | 305 (test_bit(IFX_SPI_RTS, &ifx_dev->signal_state) ? TIOCM_RTS : 0) | in ifx_spi_tiocmget() 306 (test_bit(IFX_SPI_DTR, &ifx_dev->signal_state) ? TIOCM_DTR : 0) | in ifx_spi_tiocmget() 307 (test_bit(IFX_SPI_CTS, &ifx_dev->signal_state) ? TIOCM_CTS : 0) | in ifx_spi_tiocmget() 308 (test_bit(IFX_SPI_DSR, &ifx_dev->signal_state) ? TIOCM_DSR : 0) | in ifx_spi_tiocmget() 309 (test_bit(IFX_SPI_DCD, &ifx_dev->signal_state) ? TIOCM_CAR : 0) | in ifx_spi_tiocmget() 310 (test_bit(IFX_SPI_RI, &ifx_dev->signal_state) ? TIOCM_RNG : 0); in ifx_spi_tiocmget() 745 test_bit(IFX_SPI_STATE_IO_AVAILABLE, &ifx_dev->flags)) { in ifx_spi_io() 869 if (test_bit(IFX_SPI_STATE_TIMER_PENDING, &ifx_dev->flags)) { in ifx_spi_handle_srdy() 876 if (!test_bit(IFX_SPI_STATE_IO_IN_PROGRESS, &ifx_dev->flags)) in ifx_spi_handle_srdy() 912 int solreset = test_bit(MR_START, &ifx_dev->mdm_reset_state); in ifx_spi_reset_interrupt() [all …]
|
/linux-4.1.27/drivers/nfc/nfcmrvl/ |
D | usb.c | 61 rv = test_bit(NFCMRVL_USB_SUSPENDING, &drv_data->flags); in nfcmrvl_inc_tx() 77 if (!test_bit(NFCMRVL_NCI_RUNNING, &drv_data->flags)) in nfcmrvl_bulk_complete() 86 if (!test_bit(NFCMRVL_USB_BULK_RUNNING, &drv_data->flags)) in nfcmrvl_bulk_complete() 409 if (!test_bit(NFCMRVL_NCI_RUNNING, &drv_data->flags)) in nfcmrvl_resume() 412 if (test_bit(NFCMRVL_USB_BULK_RUNNING, &drv_data->flags)) { in nfcmrvl_resume()
|
/linux-4.1.27/drivers/s390/char/ |
D | raw3270.c | 121 if (test_bit(RAW3270_FLAGS_14BITADDR, &rp->flags)) { in raw3270_buffer_address() 265 !test_bit(RAW3270_FLAGS_BUSY, &rp->flags)) { in __raw3270_start() 284 !test_bit(RAW3270_FLAGS_FROZEN, &rp->flags); in raw3270_view_active() 297 test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) in raw3270_start() 315 test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) in raw3270_start_locked() 363 } else if (test_bit(RAW3270_FLAGS_BUSY, &rp->flags)) { in raw3270_irq() 679 test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) in raw3270_reset() 893 else if (test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) in raw3270_activate_view() 943 !test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) { in raw3270_deactivate_view() 1038 !test_bit(RAW3270_FLAGS_FROZEN, &rp->flags)) { in raw3270_del_view() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_labels.c | 30 return bit < label_bits(labels) && test_bit(bit, labels->bits); in nf_connlabel_match() 41 if (test_bit(bit, labels->bits)) in nf_connlabel_set()
|
D | nf_conntrack_proto_sctp.c | 327 if (!test_bit(SCTP_CID_INIT, map) && in sctp_packet() 328 !test_bit(SCTP_CID_SHUTDOWN_COMPLETE, map) && in sctp_packet() 329 !test_bit(SCTP_CID_COOKIE_ECHO, map) && in sctp_packet() 330 !test_bit(SCTP_CID_ABORT, map) && in sctp_packet() 331 !test_bit(SCTP_CID_SHUTDOWN_ACK, map) && in sctp_packet() 431 if (test_bit(SCTP_CID_ABORT, map) || in sctp_new() 432 test_bit(SCTP_CID_SHUTDOWN_COMPLETE, map) || in sctp_new() 433 test_bit(SCTP_CID_COOKIE_ACK, map)) in sctp_new()
|
/linux-4.1.27/net/mac80211/ |
D | agg-tx.c | 328 if (test_bit(HT_AGG_STATE_STOPPING, &tid_tx->state)) { in ___ieee80211_stop_tx_ba_session() 339 if (test_bit(HT_AGG_STATE_WANT_START, &tid_tx->state)) { in ___ieee80211_stop_tx_ba_session() 427 test_bit(HT_AGG_STATE_RESPONSE_RECEIVED, &tid_tx->state)) { in sta_addba_resp_timer_expired() 525 if (!tid_tx || test_bit(HT_AGG_STATE_STOPPING, &tid_tx->state)) { in sta_tx_agg_session_timer_expired() 752 if (test_bit(HT_AGG_STATE_RESPONSE_RECEIVED, &tid_tx->state)) in ieee80211_start_tx_ba_cb() 822 if (test_bit(HT_AGG_STATE_STOPPING, &tid_tx->state)) { in ieee80211_stop_tx_ba_session() 867 if (!tid_tx || !test_bit(HT_AGG_STATE_STOPPING, &tid_tx->state)) { in ieee80211_stop_tx_ba_cb() 948 if (test_bit(HT_AGG_STATE_WANT_STOP, &tid_tx->state) || in ieee80211_process_addba_resp() 949 test_bit(HT_AGG_STATE_STOPPING, &tid_tx->state)) { in ieee80211_process_addba_resp() 972 if (test_bit(HT_AGG_STATE_DRV_READY, &tid_tx->state)) in ieee80211_process_addba_resp()
|
/linux-4.1.27/arch/xtensa/mm/ |
D | cache.c | 144 if (!test_bit(PG_arch_1, &page->flags)) in flush_dcache_page() 230 if (!PageReserved(page) && test_bit(PG_arch_1, &page->flags)) { in update_mmu_cache() 243 if (!PageReserved(page) && !test_bit(PG_arch_1, &page->flags) in update_mmu_cache()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
D | lis3l02dq_ring.c | 73 if (test_bit(i, indio_dev->active_scan_mask)) { in lis3l02dq_read_all() 330 if (test_bit(0, indio_dev->active_scan_mask)) { in lis3l02dq_buffer_postenable() 336 if (test_bit(1, indio_dev->active_scan_mask)) { in lis3l02dq_buffer_postenable() 342 if (test_bit(2, indio_dev->active_scan_mask)) { in lis3l02dq_buffer_postenable()
|
/linux-4.1.27/arch/sh/mm/ |
D | cache.c | 63 test_bit(PG_dcache_clean, &page->flags)) { in copy_to_user_page() 82 test_bit(PG_dcache_clean, &page->flags)) { in copy_from_user_page() 101 test_bit(PG_dcache_clean, &from->flags)) { in copy_user_highpage() 157 test_bit(PG_dcache_clean, &page->flags)) { in __flush_anon_page()
|
D | pmb.c | 148 if (!test_bit(i, pmb_map)) in pmb_mapping_exists() 470 if (test_bit(i, pmb_map)) { in pmb_unmap() 537 if (!test_bit(i, pmb_map)) in pmb_notify() 705 if (!test_bit(i, pmb_map)) in pmb_coalesce() 747 if (!test_bit(i, pmb_map)) in pmb_resize() 884 if (test_bit(i, pmb_map)) { in pmb_syscore_resume()
|
/linux-4.1.27/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 281 if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) in goldfish_pipe_read_write() 378 while (test_bit(wakeBit, &pipe->flags)) { in goldfish_pipe_read_write() 381 !test_bit(wakeBit, &pipe->flags))) in goldfish_pipe_read_write() 384 if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) in goldfish_pipe_read_write() 437 if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) in goldfish_pipe_poll()
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
D | adma.c | 373 if (!test_bit(PPC440SPE_DESC_RXOR, &desc->flags)) { in ppc440spe_desc_init_dma01pq() 383 if (test_bit(PPC440SPE_ZERO_P, &desc->flags)) { in ppc440spe_desc_init_dma01pq() 391 if (test_bit(PPC440SPE_ZERO_Q, &desc->flags)) { in ppc440spe_desc_init_dma01pq() 425 if (test_bit(PPC440SPE_DESC_WXOR, &desc->flags)) { in ppc440spe_desc_init_dma01pq() 934 if (test_bit(PPC440SPE_RXOR_RUN, in ppc440spe_adma_device_clear_eot_status() 971 if (test_bit(PPC440SPE_DESC_PCHECK, in ppc440spe_adma_device_clear_eot_status() 976 if (test_bit(PPC440SPE_DESC_QCHECK, in ppc440spe_adma_device_clear_eot_status() 1095 if (!test_bit(PPC440SPE_DESC_INT, &desc->flags)) in ppc440spe_dma_put_desc() 2343 if (!test_bit(PPC440SPE_DESC_RXOR, &op)) { in ppc440spe_dma01_prep_pq() 2354 if (!test_bit(PPC440SPE_DESC_RXOR, &op)) { in ppc440spe_dma01_prep_pq() [all …]
|
/linux-4.1.27/net/tipc/ |
D | server.c | 99 if (test_bit(CF_SERVER, &con->flags)) { in tipc_conn_kref_release() 141 if (con && test_bit(CF_CONNECTED, &con->flags)) { in sock_data_ready() 155 if (con && test_bit(CF_CONNECTED, &con->flags)) { in sock_write_space() 464 if (test_bit(CF_CONNECTED, &con->flags)) { in tipc_conn_sendmsg() 539 while (test_bit(CF_CONNECTED, &con->flags)) { in tipc_recv_work() 556 if (test_bit(CF_CONNECTED, &con->flags)) in tipc_send_work()
|
/linux-4.1.27/drivers/platform/x86/ |
D | ideapad-laptop.c | 270 if (test_bit(CFG_BT_BIT, &priv->cfg)) in debugfs_cfg_show() 272 if (test_bit(CFG_3G_BIT, &priv->cfg)) in debugfs_cfg_show() 274 if (test_bit(CFG_WIFI_BIT, &priv->cfg)) in debugfs_cfg_show() 276 if (test_bit(CFG_CAMERA_BIT, &priv->cfg)) in debugfs_cfg_show() 432 supported = test_bit(CFG_CAMERA_BIT, &(priv->cfg)); in ideapad_is_visible() 640 if (test_bit(bit, &value)) { in ideapad_check_special_buttons() 794 if (test_bit(vpc_bit, &vpc1)) { in ideapad_acpi_notify() 950 if (test_bit(ideapad_rfk_data[i].cfgbit, &priv->cfg)) in ideapad_acpi_add()
|
/linux-4.1.27/drivers/input/serio/ |
D | serport.c | 133 if (!test_bit(SERPORT_ACTIVE, &serport->flags)) in serport_ldisc_receive() 192 wait_event_interruptible(serport->wait, test_bit(SERPORT_DEAD, &serport->flags)); in serport_ldisc_read() 258 if (test_bit(SERPORT_ACTIVE, &serport->flags)) in serport_ldisc_write_wakeup()
|
/linux-4.1.27/fs/dlm/ |
D | recoverd.c | 292 if (!test_bit(LSFL_RECOVER_WORK, &ls->ls_flags) && in dlm_recoverd() 293 !test_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) in dlm_recoverd() 307 if (test_bit(LSFL_RECOVER_LOCK, &ls->ls_flags)) in dlm_recoverd()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.h | 196 test_bit(__I40E_RX_PS_ENABLED, &(ring)->state) 202 test_bit(__I40E_TX_DETECT_HANG, &(ring)->state) 208 test_bit(__I40E_RX_16BYTE_DESC_ENABLED, &(ring)->state)
|
/linux-4.1.27/net/rfkill/ |
D | input.c | 262 if (test_bit(EV_SW, handle->dev->evbit) && in rfkill_start() 263 test_bit(SW_RFKILL_ALL, handle->dev->swbit)) in rfkill_start() 264 rfkill_schedule_evsw_rfkillall(test_bit(SW_RFKILL_ALL, in rfkill_start()
|
/linux-4.1.27/block/ |
D | bounce.c | 131 if (test_bit(BIO_EOPNOTSUPP, &bio->bi_flags)) in bounce_end_io() 165 if (test_bit(BIO_UPTODATE, &bio->bi_flags)) in __bounce_end_io_read() 190 return test_bit(BIO_SNAP_STABLE, &bio->bi_flags); in must_snapshot_stable_pages()
|
D | blk-iopoll.c | 108 if (test_bit(IOPOLL_F_SCHED, &iop->state)) in blk_iopoll_softirq() 163 BUG_ON(!test_bit(IOPOLL_F_SCHED, &iop->state)); in blk_iopoll_enable()
|
D | blk-lib.c | 137 if (!test_bit(BIO_UPTODATE, &bb.flags)) in blkdev_issue_discard() 211 if (!test_bit(BIO_UPTODATE, &bb.flags)) in blkdev_issue_write_same() 273 if (!test_bit(BIO_UPTODATE, &bb.flags)) in __blkdev_issue_zeroout()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd.c | 1378 test_bit(DASD_FLAG_LOCK_STOLEN, &cqr->block->base->flags)) || in dasd_start_IO() 1379 test_bit(DASD_FLAG_LOCK_STOLEN, &device->flags)) && in dasd_start_IO() 1380 !test_bit(DASD_CQR_ALLOW_SLOCK, &cqr->flags)) { in dasd_start_IO() 1398 if (!test_bit(DASD_CQR_VERIFY_PATH, &cqr->flags)) { in dasd_start_IO() 1430 if (test_bit(DASD_CQR_VERIFY_PATH, &cqr->flags)) { in dasd_start_IO() 1677 if (!test_bit(DASD_CQR_FLAGS_USE_ERP, &cqr->flags) && in dasd_int_handler() 1684 if (!test_bit(DASD_CQR_VERIFY_PATH, &cqr->flags)) in dasd_int_handler() 1712 if (test_bit(DASD_FLAG_OFFLINE, &device->flags) || in dasd_generic_uc_handler() 1839 if (test_bit(DASD_FLAG_SAFE_OFFLINE_RUNNING, &device->flags)) { in __dasd_device_check_expire() 1883 && test_bit(DASD_CQR_VERIFY_PATH, &cqr->flags))) { in __dasd_device_start_head() [all …]
|
/linux-4.1.27/net/batman-adv/ |
D | multicast.c | 714 orig_initialized = test_bit(BATADV_ORIG_CAPA_HAS_MCAST, in batadv_mcast_tvlv_ogm_handler_v1() 722 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) { in batadv_mcast_tvlv_ogm_handler_v1() 731 (test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) || in batadv_mcast_tvlv_ogm_handler_v1() 780 if (!test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) && in batadv_mcast_purge_orig() 781 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized)) in batadv_mcast_purge_orig()
|
/linux-4.1.27/drivers/tty/vt/ |
D | keyboard.c | 231 if (test_bit(EV_SND, dev->evbit)) { in kd_sound_helper() 232 if (test_bit(SND_TONE, dev->sndbit)) { in kd_sound_helper() 237 if (test_bit(SND_BELL, dev->sndbit)) in kd_sound_helper() 273 if (test_bit(EV_REP, dev->evbit)) { in kbd_rate_helper() 382 if (!test_bit(k, key_down)) in do_compute_shiftstate() 1002 if (test_bit(EV_LED, handle->dev->evbit)) { in kbd_update_leds_helper() 1118 #define HW_RAW(dev) (test_bit(EV_MSC, dev->evbit) && test_bit(MSC_RAW, dev->mscbit) &&\ 1173 if (test_bit(KEY_LEFTALT, key_down) || in emulate_raw() 1174 test_bit(KEY_RIGHTALT, key_down)) { in emulate_raw() 1386 if (test_bit(EV_SND, dev->evbit)) in kbd_match() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_transport.c | 82 } else if (test_bit(port_num, roce_bitmap)) { in usnic_transport_rsrv_port() 114 if (!test_bit(port_num, roce_bitmap)) { in usnic_transport_unrsrv_port()
|
/linux-4.1.27/arch/sparc/lib/ |
D | bitext.c | 80 while (test_bit(offset + i, t->map) == 0) { in bit_map_string_get() 110 if (test_bit(offset + i, t->map) == 0) in bit_map_clear()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 120 if (!dev || !test_bit(CNIC_F_CNIC_UP, &dev->flags)) { in cnic_uio_open() 280 return test_bit(SK_F_INUSE, &csk->flags); in cnic_in_use() 331 if (test_bit(SK_F_IPV6, &csk->flags)) { in cnic_send_nlmsg() 392 test_bit(SK_F_CONNECT_START, &csk->flags)) { in cnic_iscsi_nl_msg_recv() 397 if (test_bit(SK_F_IPV6, &csk->flags)) in cnic_iscsi_nl_msg_recv() 406 } else if (!test_bit(SK_F_OFFLD_SCHED, &csk->flags) && in cnic_iscsi_nl_msg_recv() 407 !test_bit(SK_F_OFFLD_COMPLETE, &csk->flags)) { in cnic_iscsi_nl_msg_recv() 427 if (!test_bit(SK_F_CONNECT_START, &csk->flags)) { in cnic_offld_prep() 588 if (test_bit(CNIC_F_CNIC_UP, &dev->flags)) in cnic_register_device() 631 while (test_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[ulp_type]) && in cnic_unregister_device() [all …]
|
/linux-4.1.27/drivers/staging/vt6656/ |
D | usbpipe.c | 54 if (test_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags)) in vnt_control_out() 82 if (test_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags)) in vnt_control_in() 284 if (test_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags)) { in vnt_tx_context()
|
/linux-4.1.27/drivers/net/wireless/ |
D | airo.c | 1401 if (test_bit(FLAG_ADHOC, &ai->flags) && (frame->da[0] & 0x1)) in encapsulate() 1562 if (test_bit(FLAG_UPDATE_MULTI, &ai->flags)) { in RxSeqValid() 1567 } else if (test_bit(FLAG_UPDATE_UNI, &ai->flags)) { in RxSeqValid() 1829 if (!test_bit (FLAG_COMMIT, &ai->flags)) in writeConfigRid() 1872 if (auto_wep && !test_bit(FLAG_RADIO_DOWN, &ai->flags)) { in try_auto_wep() 1882 if (test_bit(FLAG_FLASHING, &ai->flags)) in airo_open() 1889 if (test_bit(FLAG_COMMIT, &ai->flags)) { in airo_open() 1949 pending = test_bit(FLAG_PENDING_XMIT, &ai->flags); in mpi_start_xmit() 2014 if (test_bit(FLAG_MIC_CAPABLE, &ai->flags) && ai->micstats.enabled && in mpi_send_packet() 2200 if (test_bit(FLAG_MPI, &priv->flags)) { in airo_start_xmit11() [all …]
|
/linux-4.1.27/arch/x86/boot/compressed/ |
D | cpuflags.c | 9 return test_bit(flag, cpu.flags); in has_cpuflag()
|
/linux-4.1.27/sound/oss/ |
D | msnd_pinnacle.c | 289 if (!test_bit(F_DISABLE_WRITE_NDELAY, &dev.flags) && in dsp_ioctl() 528 else if ((dev.recsrc & SOUND_MASK_DIGITAL1) && test_bit(F_HAVEDIGITAL, &dev.flags)) { in set_recsrc() 621 if (test_bit(F_HAVEDIGITAL, &dev.flags)) in mixer_ioctl() 669 if (!(dev.mode & FMODE_WRITE) || !test_bit(F_WRITING, &dev.flags)) in dsp_write_flush() 674 !test_bit(F_WRITEFLUSH, &dev.flags), in dsp_write_flush() 697 if (test_bit(F_WRITING, &dev.flags)) { in dsp_halt() 771 test_bit(F_AUDIO_WRITE_INUSE, &dev.flags)) || in dev_open() 773 test_bit(F_AUDIO_READ_INUSE, &dev.flags))) { in dev_open() 782 if (!test_bit(F_DISABLE_WRITE_NDELAY, &dev.flags)) in dev_open() 930 if (!test_bit(F_READING, &dev.flags) && dev.mode & FMODE_READ) { in dsp_read() [all …]
|