Searched refs:CIRC_ADD (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.h | 13 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) macro 14 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size) 15 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
|
D | ipoib_tx.c | 21 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) macro 22 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size) 23 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
|
D | tid_rdma.c | 2132 CIRC_ADD(req->clear_tail, in tid_rdma_rcv_error()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_debugfs.c | 26 #define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1)) macro 106 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work() 164 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read()
|