Home
last modified time | relevance | path

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

12

/linux/samples/kfifo/
H A Ddma-example.c32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init()
H A Dinttype-example.c153 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
H A Drecord-example.c167 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
H A Dbytestream-example.c160 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_interrupt.c57 r = kfifo_alloc(&node->ih_fifo, in kfd_interrupt_init()
H A Dkfd_smi_events.c358 ret = kfifo_alloc(&client->fifo, KFD_MAX_KFIFO_SIZE, GFP_KERNEL); in kfd_smi_event_open()
/linux/drivers/crypto/caam/
H A Dcaamrng.c234 if (kfifo_alloc(&ctx->fifo, ALIGN(CAAM_RNG_MAX_FIFO_STORE_SIZE, in caam_init()
/linux/drivers/media/rc/
H A 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/drivers/gnss/
H A Dcore.c256 ret = kfifo_alloc(&gdev->read_fifo, GNSS_READ_FIFO_SIZE, GFP_KERNEL); in gnss_allocate_device()
/linux/drivers/usb/host/
H A Dfhci.h475 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); in cq_new()
H A Dxhci-dbgtty.c491 ret = kfifo_alloc(&port->port.xmit_fifo, DBC_WRITE_BUF_SIZE, in xhci_dbc_tty_register_device()
/linux/sound/soc/intel/avs/
H A Ddebugfs.c243 ret = kfifo_alloc(&adev->trace_fifo, PAGE_SIZE, GFP_KERNEL); in strace_open()
/linux/drivers/most/
H A Dmost_cdev.c450 retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL); in comp_probe()
/linux/drivers/usb/gadget/function/
H A Du_serial.c629 status = kfifo_alloc(&port->port_write_buf, in gs_open()
1066 err = kfifo_alloc(&cons->buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL); in gs_console_init()
/linux/drivers/mfd/
H A Dsi476x-i2c.c758 rval = kfifo_alloc(&core->rds_fifo, in si476x_core_probe()
/linux/drivers/counter/
H A Dcounter-chrdev.c479 return kfifo_alloc(&counter->events, 64, GFP_KERNEL); in counter_chrdev_add()
/linux/drivers/hwmon/
H A Dxgene-hwmon.c626 rc = kfifo_alloc(&ctx->async_msg_fifo, in xgene_hwmon_probe()
/linux/drivers/dma/qcom/
H A Dhidma_ll.c786 rc = kfifo_alloc(&lldev->handoff_fifo, sz, GFP_KERNEL); in hidma_ll_init()
/linux/include/linux/
H A Dkfifo.h361 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/linux/arch/powerpc/sysdev/
H A Dfsl_rmu.c593 if (kfifo_alloc(&pw->pw_fifo, RIO_PW_MSG_SIZE * 32, GFP_KERNEL)) { in fsl_rio_port_write_init()
/linux/drivers/net/wireless/marvell/libertas/
H A Dmain.c869 ret = kfifo_alloc(&priv->event_fifo, sizeof(u32) * 16, GFP_KERNEL); in lbs_init_adapter()
/linux/drivers/hid/
H A Dhid-sensor-custom.c726 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()
/linux/drivers/scsi/
H A Dlibiscsi_tcp.c1180 if (kfifo_alloc(&tcp_task->r2tqueue, in iscsi_tcp_r2tpool_alloc()
/linux/drivers/media/pci/cx23885/
H A Dcx23888-ir.c1150 if (kfifo_alloc(&state->rx_kfifo, CX23888_IR_RX_KFIFO_SIZE, in cx23888_ir_probe()
/linux/drivers/mtd/
H A Dsm_ftl.c772 if (kfifo_alloc(&zone->free_sectors, ftl->zone_size * 2, GFP_KERNEL)) { in sm_init_zone()

12