Home
last modified time | relevance | path

Searched refs:CIRC_CNT_TO_END (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/include/linux/
Dcirc_buf.h26 #define CIRC_CNT_TO_END(head,tail,size) \ macro
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst104 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
/linux-6.12.1/drivers/input/serio/
Duserio.c140 nonwrap_len = CIRC_CNT_TO_END(userio->head, in userio_char_read()
/linux-6.12.1/drivers/input/joystick/iforce/
Diforce-usb.c47 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE); in __iforce_usb_xmit()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_rd.c74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
/linux-6.12.1/drivers/scsi/arcmsr/
Darcmsr_attr.c83 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()
Darcmsr_hba.c3035 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()
/linux-6.12.1/tools/power/acpi/tools/acpidbg/
Dacpidbg.c44 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
/linux-6.12.1/drivers/tty/
Dehv_bytechan.c419 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue()
/linux-6.12.1/drivers/char/hw_random/
Dcctrng.c229 cnt_w = CIRC_CNT_TO_END(drvdata->circ.head, in cctrng_read()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_debugfs.c164 ret = min_t(size_t, CIRC_CNT_TO_END(cb->head, cb->tail, LOG_SIZE), in cros_ec_console_log_read()
/linux-6.12.1/drivers/acpi/
Dacpi_dbg.c30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
/linux-6.12.1/Documentation/core-api/
Dcircular-buffers.rst104 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
/linux-6.12.1/drivers/greybus/
Dgb-beagleplay.c233 int count = CIRC_CNT_TO_END(head, tail, TX_CIRC_BUF_SIZE); in hdlc_write()
/linux-6.12.1/drivers/platform/mellanox/
Dmlxbf-tmfifo.c575 seg = CIRC_CNT_TO_END(cons->tx_buf.head, cons->tx_buf.tail, in mlxbf_tmfifo_console_tx()