Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 18 of 18) sorted by relevance

/drivers/block/drbd/
Ddrbd_bitmap.c459 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 …]
Ddrbd_actlog.c835 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()
Ddrbd_receiver.c1511 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 …]
Ddrbd_main.c1235 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()
Ddrbd_int.h123 #define expect(exp) ({ \ macro
Ddrbd_nl.c1213 if (!expect(new_disk_conf->resync_rate >= 1)) in drbd_adm_disk_opts()
/drivers/bluetooth/
Dbpa10x.c81 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/
Dnvram.c489 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/
Dmg_disk.c213 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/
Dpg.c390 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pg_reset() local
406 err = memcmp(expect, got, sizeof(got)) ? -1 : 0; in pg_reset()
Dpf.c538 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pf_reset() local
552 flg &= (read_reg(pf, i + 1) == expect[i]); in pf_reset()
Dpcd.c541 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pcd_reset() local
555 flg &= (read_reg(cd, i + 1) == expect[i]); in pcd_reset()
Dpt.c454 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/
DKconfig119 Say N if you expect high stability and performance. Saying Y will not
/drivers/xen/
DKconfig103 The old xenstore userspace tools expect to find "xenbus"
/drivers/usb/gadget/
Dnet2280.c925 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()
DKconfig584 This driver doesn't expect any real Audio codec to be present
/drivers/staging/media/go7007/
Dgo7007.txt245 expect only uncompressed video will not function.