Home
last modified time | relevance | path

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

12

/Linux-v4.19/samples/kfifo/
Ddma-example.c32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init()
Drecord-example.c166 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
Dinttype-example.c152 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
Dbytestream-example.c159 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c56 r = kfifo_alloc(&kfd->ih_fifo, in kfd_interrupt_init()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c58 if (kfifo_alloc(fifo, nr * sizeof(u32), GFP_KERNEL)) in __cxio_init_resource_fifo()
117 if (kfifo_alloc(&rdev_p->rscp->qpid_fifo, T3_MAX_NUM_QP * sizeof(u32), in cxio_init_qpid_fifo()
/Linux-v4.19/drivers/misc/
Daspeed-lpc-snoop.c197 rc = kfifo_alloc(&lpc_snoop->chan[channel].fifo, in aspeed_lpc_enable_snoop()
/Linux-v4.19/drivers/gnss/
Dcore.c257 ret = kfifo_alloc(&gdev->read_fifo, GNSS_READ_FIFO_SIZE, GFP_KERNEL); in gnss_allocate_device()
/Linux-v4.19/drivers/media/rc/
Dlirc_dev.c165 if (kfifo_alloc(&fh->rawir, MAX_IR_EVENT_SIZE, GFP_KERNEL)) { in ir_lirc_open()
172 if (kfifo_alloc(&fh->scancodes, 32, GFP_KERNEL)) { in ir_lirc_open()
/Linux-v4.19/drivers/usb/host/
Dfhci.h475 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); in cq_new()
Dxhci-dbgtty.c458 ret = kfifo_alloc(&port->write_fifo, DBC_WRITE_BUF_SIZE, GFP_KERNEL); in xhci_dbc_tty_register_device()
/Linux-v4.19/drivers/usb/gadget/function/
Du_serial.c648 status = kfifo_alloc(&port->port_write_buf, in gs_open()
1051 status = kfifo_alloc(&info->con_buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL); in gs_console_setup()
/Linux-v4.19/drivers/staging/most/cdev/
Dcdev.c463 retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL); in comp_probe()
/Linux-v4.19/drivers/char/
Dsonypi.c1314 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL); in sonypi_probe()
1393 error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE, in sonypi_probe()
/Linux-v4.19/drivers/mfd/
Dsi476x-i2c.c762 rval = kfifo_alloc(&core->rds_fifo, in si476x_core_probe()
/Linux-v4.19/include/linux/
Dkfifo.h333 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/Linux-v4.19/drivers/hwmon/
Dxgene-hwmon.c643 rc = kfifo_alloc(&ctx->async_msg_fifo, in xgene_hwmon_probe()
/Linux-v4.19/drivers/dma/qcom/
Dhidma_ll.c796 rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL); in hidma_ll_init()
/Linux-v4.19/drivers/hid/
Dhid-logitech-dj.c1022 if (kfifo_alloc(&djrcv_dev->notif_fifo, in logi_dj_probe()
Dhid-sensor-custom.c734 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()
/Linux-v4.19/drivers/media/pci/meye/
Dmeye.c1633 if (kfifo_alloc(&meye.grabq, sizeof(int) * MEYE_MAX_BUFNBRS, in meye_probe()
1638 if (kfifo_alloc(&meye.doneq, sizeof(int) * MEYE_MAX_BUFNBRS, in meye_probe()
/Linux-v4.19/drivers/platform/x86/
Dfujitsu-laptop.c803 ret = kfifo_alloc(&priv->fifo, RINGBUFFERSIZE * sizeof(int), in acpi_fujitsu_laptop_add()
/Linux-v4.19/drivers/mailbox/
Domap-mailbox.c338 if (kfifo_alloc(&mq->fifo, mbox_kfifo_size, GFP_KERNEL)) in mbox_queue_alloc()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_rmu.c597 if (kfifo_alloc(&pw->pw_fifo, RIO_PW_MSG_SIZE * 32, GFP_KERNEL)) { in fsl_rio_port_write_init()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dmain.c869 ret = kfifo_alloc(&priv->event_fifo, sizeof(u32) * 16, GFP_KERNEL); in lbs_init_adapter()

12