Searched refs:kfifo_alloc (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/samples/kfifo/
H A Ddma-example.c30 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) {
31 printk(KERN_WARNING "error kfifo_alloc\n");
H A Dbytestream-example.c160 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL);
162 printk(KERN_ERR "error kfifo_alloc\n");
H A Dinttype-example.c153 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL);
155 printk(KERN_ERR "error kfifo_alloc\n");
H A Drecord-example.c167 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL);
169 printk(KERN_ERR "error kfifo_alloc\n");
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_interrupt.c57 r = kfifo_alloc(&node->ih_fifo,
H A Dkfd_smi_events.c346 ret = kfifo_alloc(&client->fifo, MAX_KFIFO_SIZE, GFP_KERNEL);
/linux-master/drivers/crypto/caam/
H A Dcaamrng.c234 if (kfifo_alloc(&ctx->fifo, ALIGN(CAAM_RNG_MAX_FIFO_STORE_SIZE,
/linux-master/drivers/gnss/
H A Dcore.c257 ret = kfifo_alloc(&gdev->read_fifo, GNSS_READ_FIFO_SIZE, GFP_KERNEL);
/linux-master/drivers/soc/aspeed/
H A Daspeed-lpc-snoop.c195 rc = kfifo_alloc(&lpc_snoop->chan[channel].fifo,
/linux-master/sound/soc/intel/avs/
H A Ddebugfs.c245 ret = kfifo_alloc(&adev->trace_fifo, PAGE_SIZE, GFP_KERNEL);
/linux-master/drivers/media/rc/
H A Dlirc_dev.c144 if (kfifo_alloc(&fh->rawir, MAX_IR_EVENT_SIZE, GFP_KERNEL)) {
151 if (kfifo_alloc(&fh->scancodes, 32, GFP_KERNEL)) {
/linux-master/include/linux/
H A Dkfifo.h16 * - Init the in-place object with kfifo_alloc() or kfifo_init()
23 * Note: the spinlock pointer formerly passed to kfifo_init/kfifo_alloc
339 * kfifo_alloc - dynamically allocates a new fifo buffer
350 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/linux-master/drivers/usb/host/
H A Dfhci.h475 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL);
H A Dxhci-dbgtty.c427 ret = kfifo_alloc(&port->write_fifo, DBC_WRITE_BUF_SIZE, GFP_KERNEL);
/linux-master/drivers/most/
H A Dmost_cdev.c450 retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL);
/linux-master/drivers/mfd/
H A Dsi476x-i2c.c758 rval = kfifo_alloc(&core->rds_fifo,
/linux-master/drivers/counter/
H A Dcounter-chrdev.c480 return kfifo_alloc(&counter->events, 64, GFP_KERNEL);
/linux-master/drivers/hwmon/
H A Dxgene-hwmon.c626 rc = kfifo_alloc(&ctx->async_msg_fifo,
/linux-master/drivers/usb/gadget/function/
H A Du_serial.c621 status = kfifo_alloc(&port->port_write_buf,
1040 err = kfifo_alloc(&cons->buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL);
/linux-master/drivers/char/
H A Dsonypi.c1299 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL);
1301 printk(KERN_ERR "sonypi: kfifo_alloc failed\n");
1378 error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE,
1381 printk(KERN_ERR "sonypi: kfifo_alloc failed\n");
/linux-master/drivers/dma/qcom/
H A Dhidma_ll.c786 rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL);
/linux-master/drivers/scsi/
H A Dlibiscsi_tcp.c1180 if (kfifo_alloc(&tcp_task->r2tqueue,
/linux-master/drivers/usb/serial/
H A Dcypress_m8.c457 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) {
/linux-master/drivers/media/pci/cx23885/
H A Dcx23888-ir.c1150 if (kfifo_alloc(&state->rx_kfifo, CX23888_IR_RX_KFIFO_SIZE,
/linux-master/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c1201 if (kfifo_alloc(&ir_state->rx_kfifo,

Completed in 368 milliseconds

123