/drivers/block/drbd/ |
D | drbd_bitmap.c | 459 if (!expect(mdev->bitmap)) in drbd_bm_capacity() 468 if (!expect(mdev->bitmap)) in drbd_bm_cleanup() 643 if (!expect(b)) in drbd_bm_resize() 766 if (!expect(b)) in _drbd_bm_total_weight() 768 if (!expect(b->bm_pages)) in _drbd_bm_total_weight() 792 if (!expect(b)) in drbd_bm_words() 794 if (!expect(b->bm_pages)) in drbd_bm_words() 803 if (!expect(b)) in drbd_bm_bits() 825 if (!expect(b)) in drbd_bm_merge_lel() 827 if (!expect(b->bm_pages)) in drbd_bm_merge_lel() [all …]
|
D | drbd_actlog.c | 835 if (!expect(sector < nr_sectors)) in __drbd_set_in_sync() 837 if (!expect(esector < nr_sectors)) in __drbd_set_in_sync() 909 if (!expect(sector < nr_sectors)) in __drbd_set_out_of_sync() 911 if (!expect(esector < nr_sectors)) in __drbd_set_out_of_sync() 1273 if (!expect(sector < nr_sectors)) in drbd_rs_failed_io() 1275 if (!expect(esector < nr_sectors)) in drbd_rs_failed_io()
|
D | drbd_receiver.c | 1511 if (!expect(IS_ALIGNED(data_size, 512))) in read_in_block() 1513 if (!expect(data_size <= DRBD_MAX_BIO_SIZE)) in read_in_block() 1600 int dgs, err, i, expect; in recv_dless_read() local 1622 expect = min_t(int, data_size, bvec->bv_len); in recv_dless_read() 1623 err = drbd_recv_all_warn(mdev->tconn, mapped, expect); in recv_dless_read() 1627 data_size -= expect; in recv_dless_read() 4607 const int expect = sizeof(struct p_connection_features); in drbd_do_features() local 4625 if (pi.size != expect) { in drbd_do_features() 4627 expect, pi.size); in drbd_do_features() 4632 err = drbd_recv_all_warn(tconn, p, expect); in drbd_do_features() [all …]
|
D | drbd_main.c | 1235 if (!expect(mdev->bitmap)) in _drbd_send_bitmap() 2224 expect(atomic_read(&req->completion_ref) == 0) && in do_retry() 2225 expect(req->rq_state & RQ_POSTPONED) && in do_retry() 2226 expect((req->rq_state & RQ_LOCAL_PENDING) == 0 || in do_retry()
|
D | drbd_int.h | 123 #define expect(exp) ({ \ macro
|
D | drbd_nl.c | 1213 if (!expect(new_disk_conf->resync_rate >= 1)) in drbd_adm_disk_opts()
|
/drivers/bluetooth/ |
D | bpa10x.c | 81 struct { __u8 type; int expect; } *scb; in bpa10x_recv() member 138 scb->expect = len; in bpa10x_recv() 143 len = scb->expect; in bpa10x_recv() 150 scb->expect -= len; in bpa10x_recv() 152 if (scb->expect == 0) { in bpa10x_recv()
|
/drivers/char/ |
D | nvram.c | 489 unsigned short expect; in pc_check_checksum() local 493 expect = __nvram_read_byte(PC_CKS_LOC)<<8 | in pc_check_checksum() 495 return (sum & 0xffff) == expect; in pc_check_checksum()
|
/drivers/block/ |
D | mg_disk.c | 213 static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec) in mg_wait() argument 237 if (expect == ATA_BUSY) in mg_wait() 246 if (expect == MG_STAT_READY) in mg_wait() 250 if (expect == ATA_DRQ) in mg_wait()
|
/drivers/block/paride/ |
D | pg.c | 390 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pg_reset() local 406 err = memcmp(expect, got, sizeof(got)) ? -1 : 0; in pg_reset()
|
D | pf.c | 538 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pf_reset() local 552 flg &= (read_reg(pf, i + 1) == expect[i]); in pf_reset()
|
D | pcd.c | 541 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pcd_reset() local 555 flg &= (read_reg(cd, i + 1) == expect[i]); in pcd_reset()
|
D | pt.c | 454 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pt_reset() local 468 flg &= (read_reg(pi, i + 1) == expect[i]); in pt_reset()
|
/drivers/net/wireless/b43/ |
D | Kconfig | 119 Say N if you expect high stability and performance. Saying Y will not
|
/drivers/xen/ |
D | Kconfig | 103 The old xenstore userspace tools expect to find "xenbus"
|
/drivers/usb/gadget/ |
D | net2280.c | 925 int expect; in net2280_queue() local 930 expect = likely (req->req.zero in net2280_queue() 932 if (expect != ep->in_fifo_validate) in net2280_queue()
|
D | Kconfig | 584 This driver doesn't expect any real Audio codec to be present
|
/drivers/staging/media/go7007/ |
D | go7007.txt | 245 expect only uncompressed video will not function.
|