Home
last modified time | relevance | path

Searched refs:DRBD_FF_WSAME (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_protocol.h209 #define DRBD_FF_WSAME 4 macro
320 /* optional queue_limits if (agreed_features & DRBD_FF_WSAME)
362 /* optional queue_limits if (agreed_features & DRBD_FF_WSAME) */
H A Ddrbd_receiver.c42 #define PRO_FEATURES (DRBD_FF_TRIM|DRBD_FF_THIN_RESYNC|DRBD_FF_WSAME|DRBD_FF_WZEROES)
3357 * This is a protocol change, overload DRBD_FF_WSAME as flag in __must_hold()
3361 if (!(connection->agreed_features & DRBD_FF_WSAME)) { in __must_hold()
3363 return -(0x10000 | PRO_VERSION_MAX | (DRBD_FF_WSAME << 8)); in __must_hold()
4109 struct o_qlim *o = (connection->agreed_features & DRBD_FF_WSAME) ? p->qlim : NULL; in receive_sizes()
5118 if (pi.cmd == P_SIZES && connection->agreed_features & DRBD_FF_WSAME) in drbdd()
5380 connection->agreed_features & DRBD_FF_WSAME ? " WRITE_SAME" : "", in drbd_do_features()
H A Ddrbd_nl.c1200 if (connection->agreed_features & DRBD_FF_WSAME) in drbd_max_discard_sectors()
1282 if (can_do && connection->cstate >= C_CONNECTED && !(connection->agreed_features & DRBD_FF_WSAME)) { in decide_on_write_same_support()
H A Ddrbd_main.c919 /* communicated if (agreed_features & DRBD_FF_WSAME) */
960 if (peer_device->connection->agreed_features & DRBD_FF_WSAME) in drbd_send_sizes()
1723 /* this will only work if DRBD_FF_WSAME is set AND the in drbd_send_dblock()
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_protocol.h209 #define DRBD_FF_WSAME 4 macro
322 /* optional queue_limits if (agreed_features & DRBD_FF_WSAME)
364 /* optional queue_limits if (agreed_features & DRBD_FF_WSAME) */
H A Ddrbd_receiver.c41 #define PRO_FEATURES (DRBD_FF_TRIM|DRBD_FF_THIN_RESYNC|DRBD_FF_WSAME|DRBD_FF_WZEROES)
3319 * This is a protocol change, overload DRBD_FF_WSAME as flag in __must_hold()
3323 if (!(connection->agreed_features & DRBD_FF_WSAME)) { in __must_hold()
3325 return -(0x10000 | PRO_VERSION_MAX | (DRBD_FF_WSAME << 8)); in __must_hold()
4066 struct o_qlim *o = (connection->agreed_features & DRBD_FF_WSAME) ? p->qlim : NULL; in receive_sizes()
5070 if (pi.cmd == P_SIZES && connection->agreed_features & DRBD_FF_WSAME) in drbdd()
5332 connection->agreed_features & DRBD_FF_WSAME ? " WRITE_SAME" : "", in drbd_do_features()
H A Ddrbd_main.c926 if (peer_device->connection->agreed_features & DRBD_FF_WSAME) in drbd_send_sizes()
H A Ddrbd_nl.c1201 if (connection->agreed_features & DRBD_FF_WSAME) in drbd_max_discard_sectors()

Completed in 37 milliseconds