Home
last modified time | relevance | path

Searched refs:kfifo_alloc (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.12.1/samples/kfifo/
Ddma-example.c31 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init()
Dinttype-example.c153 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
Drecord-example.c167 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
Dbytestream-example.c160 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c57 r = kfifo_alloc(&node->ih_fifo, in kfd_interrupt_init()
Dkfd_smi_events.c357 ret = kfifo_alloc(&client->fifo, MAX_KFIFO_SIZE, GFP_KERNEL); in kfd_smi_event_open()
/linux-6.12.1/drivers/crypto/caam/
Dcaamrng.c234 if (kfifo_alloc(&ctx->fifo, ALIGN(CAAM_RNG_MAX_FIFO_STORE_SIZE, in caam_init()
/linux-6.12.1/drivers/media/rc/
Dlirc_dev.c146 if (kfifo_alloc(&fh->rawir, MAX_IR_EVENT_SIZE, GFP_KERNEL)) { in lirc_open()
153 if (kfifo_alloc(&fh->scancodes, 32, GFP_KERNEL)) { in lirc_open()
/linux-6.12.1/drivers/gnss/
Dcore.c256 ret = kfifo_alloc(&gdev->read_fifo, GNSS_READ_FIFO_SIZE, GFP_KERNEL); in gnss_allocate_device()
/linux-6.12.1/drivers/soc/aspeed/
Daspeed-lpc-snoop.c195 rc = kfifo_alloc(&lpc_snoop->chan[channel].fifo, in aspeed_lpc_enable_snoop()
/linux-6.12.1/sound/soc/intel/avs/
Ddebugfs.c242 ret = kfifo_alloc(&adev->trace_fifo, PAGE_SIZE, GFP_KERNEL); in strace_open()
/linux-6.12.1/drivers/usb/host/
Dfhci.h475 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); in cq_new()
Dxhci-dbgtty.c459 ret = kfifo_alloc(&port->port.xmit_fifo, DBC_WRITE_BUF_SIZE, in xhci_dbc_tty_register_device()
/linux-6.12.1/drivers/char/
Dsonypi.c1298 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL); in sonypi_probe()
1377 error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE, in sonypi_probe()
/linux-6.12.1/drivers/most/
Dmost_cdev.c450 retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL); in comp_probe()
/linux-6.12.1/drivers/usb/gadget/function/
Du_serial.c625 status = kfifo_alloc(&port->port_write_buf, in gs_open()
1062 err = kfifo_alloc(&cons->buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL); in gs_console_init()
/linux-6.12.1/drivers/mfd/
Dsi476x-i2c.c758 rval = kfifo_alloc(&core->rds_fifo, in si476x_core_probe()
/linux-6.12.1/drivers/counter/
Dcounter-chrdev.c479 return kfifo_alloc(&counter->events, 64, GFP_KERNEL); in counter_chrdev_add()
/linux-6.12.1/drivers/hwmon/
Dxgene-hwmon.c626 rc = kfifo_alloc(&ctx->async_msg_fifo, in xgene_hwmon_probe()
/linux-6.12.1/include/linux/
Dkfifo.h362 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/linux-6.12.1/drivers/dma/qcom/
Dhidma_ll.c786 rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL); in hidma_ll_init()
/linux-6.12.1/drivers/hid/
Dhid-sensor-custom.c726 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()
/linux-6.12.1/drivers/staging/greybus/
Duart.c845 retval = kfifo_alloc(&gb_tty->write_fifo, GB_UART_WRITE_FIFO_SIZE, in gb_uart_probe()
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dmain.c869 ret = kfifo_alloc(&priv->event_fifo, sizeof(u32) * 16, GFP_KERNEL); in lbs_init_adapter()
/linux-6.12.1/drivers/platform/x86/
Dfujitsu-laptop.c900 ret = kfifo_alloc(&priv->fifo, RINGBUFFERSIZE * sizeof(int), in acpi_fujitsu_laptop_add()

123