Searched refs:DRBD_MAX_SEGMENT_SIZE (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/drbd/
H A Ddrbd_req.c1017 if (bio->bi_vcnt != 1 || bio->bi_idx != 0 || bio->bi_size > DRBD_MAX_SEGMENT_SIZE) {
1088 limit = DRBD_MAX_SEGMENT_SIZE
1089 - ((bio_offset & (DRBD_MAX_SEGMENT_SIZE-1)) + bio_size);
H A Ddrbd_actlog.c937 if (size <= 0 || (size & 0x1ff) != 0 || size > DRBD_MAX_SEGMENT_SIZE) {
998 * and at most 1+DRBD_MAX_SEGMENT_SIZE/BM_BLOCK_SIZE bits.
1011 if (size <= 0 || (size & 0x1ff) != 0 || size > DRBD_MAX_SEGMENT_SIZE) {
1385 if (size <= 0 || (size & 0x1ff) != 0 || size > DRBD_MAX_SEGMENT_SIZE) {
H A Ddrbd_worker.c462 queue_max_segment_size(mdev->rq_queue) : DRBD_MAX_SEGMENT_SIZE;
521 #if DRBD_MAX_SEGMENT_SIZE > BM_BLOCK_SIZE
H A Ddrbd_receiver.c302 if (drbd_pp_vacant > (DRBD_MAX_SEGMENT_SIZE/PAGE_SIZE)*minor_count)
1380 ERR_IF(data_size > DRBD_MAX_SEGMENT_SIZE) return NULL;
2035 if (size <= 0 || (size & 0x1ff) != 0 || size > DRBD_MAX_SEGMENT_SIZE) {
3027 max_seg_s = DRBD_MAX_SEGMENT_SIZE;
H A Ddrbd_int.h1341 #define DRBD_MAX_SEGMENT_SIZE (1U<<(9+HT_SHIFT)) macro
H A Ddrbd_main.c2762 const int number = (DRBD_MAX_SEGMENT_SIZE/PAGE_SIZE) * minor_count;
3028 blk_queue_max_segment_size(q, DRBD_MAX_SEGMENT_SIZE);
H A Ddrbd_nl.c1034 drbd_setup_queue_param(mdev, DRBD_MAX_SEGMENT_SIZE);

Completed in 187 milliseconds