/drivers/block/drbd/ |
D | drbd_bitmap.c | 465 if (!expect(device->bitmap)) in drbd_bm_capacity() 474 if (!expect(device->bitmap)) in drbd_bm_cleanup() 653 if (!expect(b)) in drbd_bm_resize() 774 if (!expect(b)) in _drbd_bm_total_weight() 776 if (!expect(b->bm_pages)) in _drbd_bm_total_weight() 800 if (!expect(b)) in drbd_bm_words() 802 if (!expect(b->bm_pages)) in drbd_bm_words() 811 if (!expect(b)) in drbd_bm_bits() 833 if (!expect(b)) in drbd_bm_merge_lel() 835 if (!expect(b->bm_pages)) in drbd_bm_merge_lel() [all …]
|
D | drbd_receiver.c | 425 if (!expect(!(peer_req->flags & EE_CALL_AL_COMPLETE_IO))) { in __drbd_free_peer_req() 1785 if (!expect(data_size == 0)) in read_in_block() 1802 if (!expect(IS_ALIGNED(ds, 512))) in read_in_block() 1805 if (!expect(ds <= (DRBD_MAX_BBIO_SECTORS << 9))) in read_in_block() 1807 } else if (!expect(ds <= DRBD_MAX_BIO_SIZE)) in read_in_block() 1901 int digest_size, err, expect; in recv_dless_read() local 1923 expect = min_t(int, data_size, bvec.bv_len); in recv_dless_read() 1924 err = drbd_recv_all_warn(peer_device->connection, mapped, expect); in recv_dless_read() 1928 data_size -= expect; in recv_dless_read() 5199 const int expect = sizeof(struct p_connection_features); in drbd_do_features() local [all …]
|
D | drbd_actlog.c | 883 if (!expect(sector < nr_sectors)) in __drbd_change_sync() 885 if (!expect(esector < nr_sectors)) in __drbd_change_sync()
|
D | drbd_main.c | 1284 if (!expect(device->bitmap)) in _drbd_send_bitmap() 2325 expect(atomic_read(&req->completion_ref) == 0) && in do_retry() 2326 expect(req->rq_state & RQ_POSTPONED) && in do_retry() 2327 expect((req->rq_state & RQ_LOCAL_PENDING) == 0 || in do_retry()
|
D | drbd_int.h | 150 #define expect(exp) ({ \ macro
|
D | drbd_nl.c | 1586 if (!expect(new_disk_conf->resync_rate >= 1)) in drbd_adm_disk_opts()
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_syncmap.c | 576 bool expect; in igt_syncmap_random() local 579 expect = seqno_later(last_seqno, seqno); in igt_syncmap_random() 584 if (i915_syncmap_is_later(&sync, context, seqno) != expect) { in igt_syncmap_random() 586 context, last_seqno, seqno, expect); in igt_syncmap_random()
|
/drivers/input/tablet/ |
D | wacom_serial4.c | 172 u8 expect; member 291 if (wacom->data[0] != '~' || wacom->data[1] != wacom->expect) { in wacom_handle_response() 475 wacom->expect = cmd[1]; in wacom_send_and_wait() 488 wacom->expect = 0; in wacom_send_and_wait()
|
/drivers/char/ |
D | nvram.c | 477 unsigned short expect; in pc_check_checksum() local 481 expect = __nvram_read_byte(PC_CKS_LOC)<<8 | in pc_check_checksum() 483 return (sum & 0xffff) == expect; in pc_check_checksum()
|
/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 163 const unsigned char *expect, size_t size) in rocker_dma_test_one() argument 177 if (buf[i] != expect[i]) { in rocker_dma_test_one() 179 buf[i], i, expect[i]); in rocker_dma_test_one() 195 unsigned char *expect; in rocker_dma_test_offset() local 205 expect = buf + ROCKER_TEST_DMA_BUF_SIZE; in rocker_dma_test_offset() 217 memset(expect, ROCKER_TEST_DMA_FILL_PATTERN, ROCKER_TEST_DMA_BUF_SIZE); in rocker_dma_test_offset() 219 dma_handle, buf, expect, in rocker_dma_test_offset() 224 memset(expect, 0, ROCKER_TEST_DMA_BUF_SIZE); in rocker_dma_test_offset() 226 dma_handle, buf, expect, in rocker_dma_test_offset() 233 expect[i] = ~buf[i]; in rocker_dma_test_offset() [all …]
|
/drivers/net/ieee802154/ |
D | atusb.c | 243 uint8_t expect = atusb->tx_ack_seq; in atusb_tx_done() local 245 dev_dbg(&usb_dev->dev, "atusb_tx_done (0x%02x/0x%02x)\n", seq, expect); in atusb_tx_done() 246 if (seq == expect) { in atusb_tx_done()
|
/drivers/block/paride/ |
D | pg.c | 391 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pg_reset() local 407 err = memcmp(expect, got, sizeof(got)) ? -1 : 0; in pg_reset()
|
D | pcd.c | 550 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pcd_reset() local 564 flg &= (read_reg(cd, i + 1) == expect[i]); in pcd_reset()
|
D | pf.c | 546 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pf_reset() local 560 flg &= (read_reg(pf, i + 1) == expect[i]); in pf_reset()
|
D | pt.c | 455 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pt_reset() local 469 flg &= (read_reg(pi, i + 1) == expect[i]); in pt_reset()
|
/drivers/s390/block/ |
D | dasd_eckd.c | 2737 trkcount = cdata->expect.stop_unit - cdata->expect.start_unit + 1; in dasd_eckd_format_evaluate_tracks() 2740 for (i = cdata->expect.start_unit; i <= cdata->expect.stop_unit; i++) { in dasd_eckd_format_evaluate_tracks() 2749 if (i != cdata->expect.start_unit) in dasd_eckd_format_evaluate_tracks() 2769 blksize = cdata->expect.blksize; in dasd_eckd_format_evaluate_tracks() 2776 if ((cdata->expect.intensity & 0x08) && in dasd_eckd_format_evaluate_tracks() 2783 if ((cdata->expect.intensity & 0x08) && in dasd_eckd_format_evaluate_tracks() 2847 rpt_exp = recs_per_track(&private->rdc_data, 0, cdata->expect.blksize); in dasd_eckd_check_device_format() 2849 trkcount = cdata->expect.stop_unit - cdata->expect.start_unit + 1; in dasd_eckd_check_device_format() 2868 rc = dasd_eckd_format_process_data(base, &cdata->expect, enable_pav, in dasd_eckd_check_device_format() 2880 rc = dasd_eckd_format_process_data(base, &cdata->expect, in dasd_eckd_check_device_format()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | Kconfig | 89 expect incoming broadcasts for their normal operations.
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | bcmsdh.c | 945 atomic_t *expect = &sdiodev->freezer->thread_count; in brcmf_sdiod_freezer_on() local 953 atomic_read(expect) == sdiodev->freezer->frozen_count); in brcmf_sdiod_freezer_on()
|
/drivers/staging/most/Documentation/ |
D | driver_usage.txt | 133 written to 'set_subbuffer_size' and hardware will always expect two isochronous
|
/drivers/usb/gadget/ |
D | Kconfig | 412 This driver doesn't expect any real Audio codec to be present 444 This driver doesn't expect any real Audio codec to be present
|
/drivers/xen/ |
D | Kconfig | 126 The old xenstore userspace tools expect to find "xenbus"
|
/drivers/usb/gadget/udc/ |
D | net2280.c | 1102 int expect; in net2280_queue() local 1107 expect = likely(req->req.zero || in net2280_queue() 1109 if (expect != ep->in_fifo_validate) in net2280_queue()
|
/drivers/usb/gadget/legacy/ |
D | Kconfig | 67 This driver doesn't expect any real Audio codec to be present
|