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

/linux-4.4.14/samples/kfifo/
H A Ddma-example.c32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { example_init()
33 printk(KERN_WARNING "error kfifo_alloc\n"); example_init()
H A Dinttype-example.c152 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init()
154 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
H A Dbytestream-example.c159 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init()
161 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
H A Drecord-example.c166 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init()
168 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
H A Dcxio_resource.c58 if (kfifo_alloc(fifo, nr * sizeof(u32), GFP_KERNEL)) __cxio_init_resource_fifo()
117 if (kfifo_alloc(&rdev_p->rscp->qpid_fifo, T3_MAX_NUM_QP * sizeof(u32), cxio_init_qpid_fifo()
/linux-4.4.14/net/dccp/
H A Dprobe.c161 if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL)) dccpprobe_init()
/linux-4.4.14/drivers/char/
H A Dsonypi.c1314 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL); sonypi_probe()
1316 printk(KERN_ERR "sonypi: kfifo_alloc failed\n"); sonypi_probe()
1393 error = kfifo_alloc(&sonypi_device.input_fifo, SONYPI_BUF_SIZE, sonypi_probe()
1396 printk(KERN_ERR "sonypi: kfifo_alloc failed\n"); sonypi_probe()
/linux-4.4.14/net/sctp/
H A Dprobe.c213 if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL)) sctpprobe_init()
/linux-4.4.14/include/media/
H A Dlirc_dev.h57 ret = kfifo_alloc(&buf->fifo, size * chunk_size, GFP_KERNEL); lirc_buffer_init()
/linux-4.4.14/include/linux/
H A Dkfifo.h30 * - Init the in-place object with kfifo_alloc() or kfifo_init()
37 * Note: the spinlock pointer formerly passed to kfifo_init/kfifo_alloc
321 * kfifo_alloc - dynamically allocates a new fifo buffer
332 #define kfifo_alloc(fifo, size, gfp_mask) \ macro
/linux-4.4.14/drivers/media/rc/
H A Drc-ir-raw.c266 rc = kfifo_alloc(&dev->raw->kfifo, ir_raw_event_register()
/linux-4.4.14/drivers/staging/most/aim-cdev/
H A Dcdev.c455 retval = kfifo_alloc(&channel->fifo, cfg->num_buffers, GFP_KERNEL); aim_probe()
/linux-4.4.14/drivers/gpu/drm/amd/scheduler/
H A Dgpu_scheduler.c134 r = kfifo_alloc(&entity->job_queue, jobs * sizeof(void *), GFP_KERNEL); amd_sched_entity_init()
/linux-4.4.14/drivers/platform/x86/
H A Dfujitsu-laptop.c799 error = kfifo_alloc(&fujitsu_hotkey->fifo, RINGBUFFERSIZE * sizeof(int), acpi_fujitsu_hotkey_add()
802 pr_err("kfifo_alloc failed\n"); acpi_fujitsu_hotkey_add()
H A Dsony-laptop.c466 error = kfifo_alloc(&sony_laptop_input.fifo, sony_laptop_setup_input()
469 pr_err("kfifo_alloc failed\n"); sony_laptop_setup_input()
4277 kfifo_alloc(&sonypi_compat.fifo, SONY_LAPTOP_BUF_SIZE, GFP_KERNEL); sonypi_compat_init()
4279 pr_err("kfifo_alloc failed\n"); sonypi_compat_init()
/linux-4.4.14/drivers/usb/host/
H A Dfhci.h481 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); cq_new()
/linux-4.4.14/drivers/mailbox/
H A Domap-mailbox.c390 if (kfifo_alloc(&mq->fifo, mbox_kfifo_size, GFP_KERNEL)) mbox_queue_alloc()
/linux-4.4.14/drivers/hid/
H A Dhid-sensor-custom.c734 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, hid_sensor_custom_dev_if_add()
H A Dhid-logitech-dj.c1019 if (kfifo_alloc(&djrcv_dev->notif_fifo, logi_dj_probe()
/linux-4.4.14/drivers/mfd/
H A Dsi476x-i2c.c764 rval = kfifo_alloc(&core->rds_fifo, si476x_core_probe()
/linux-4.4.14/drivers/media/pci/meye/
H A Dmeye.c1644 if (kfifo_alloc(&meye.grabq, sizeof(int) * MEYE_MAX_BUFNBRS, meye_probe()
1650 if (kfifo_alloc(&meye.doneq, sizeof(int) * MEYE_MAX_BUFNBRS, meye_probe()
/linux-4.4.14/drivers/usb/serial/
H A Dcypress_m8.c461 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) { cypress_generic_port_probe()
H A Dmxuport.c1235 err = kfifo_alloc(&port->write_fifo, PAGE_SIZE, mxuport_attach()
H A Dusb-serial.c957 if (kfifo_alloc(&port->write_fifo, PAGE_SIZE, GFP_KERNEL)) usb_serial_probe()
/linux-4.4.14/drivers/scsi/
H A Dlibiscsi_tcp.c1144 if (kfifo_alloc(&tcp_task->r2tqueue, iscsi_tcp_r2tpool_alloc()
/linux-4.4.14/drivers/mmc/card/
H A Dsdio_uart.c96 if (kfifo_alloc(&port->xmit_fifo, FIFO_SIZE, GFP_KERNEL)) sdio_uart_add_port()
/linux-4.4.14/drivers/mtd/
H A Dsm_ftl.c778 if (kfifo_alloc(&zone->free_sectors, ftl->zone_size * 2, GFP_KERNEL)) { sm_init_zone()
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dcx23888-ir.c1182 if (kfifo_alloc(&state->rx_kfifo, CX23888_IR_RX_KFIFO_SIZE, GFP_KERNEL)) cx23888_ir_probe()
/linux-4.4.14/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c1238 if (kfifo_alloc(&ir_state->rx_kfifo, cx25840_ir_probe()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dmain.c917 ret = kfifo_alloc(&priv->event_fifo, sizeof(u32) * 16, GFP_KERNEL); lbs_init_adapter()
/linux-4.4.14/drivers/net/wireless/rt2x00/
H A Drt2x00dev.c1085 status = kfifo_alloc(&rt2x00dev->txstatus_fifo, kfifo_size, rt2x00lib_probe_hw()
/linux-4.4.14/arch/powerpc/sysdev/
H A Dfsl_rmu.c591 if (kfifo_alloc(&pw->pw_fifo, RIO_PW_MSG_SIZE * 32, GFP_KERNEL)) { fsl_rio_port_write_init()
/linux-4.4.14/drivers/tty/serial/
H A Difx6x60.c834 if (kfifo_alloc(&ifx_dev->tx_fifo, IFX_SPI_FIFO_SIZE, GFP_KERNEL)) { ifx_spi_create_port()
/linux-4.4.14/drivers/tty/
H A Dnozomi.c1419 if (kfifo_alloc(&dc->port[i].fifo_ul, FIFO_BUFFER_SIZE_UL, nozomi_card_init()
H A Dn_gsm.c1647 if (kfifo_alloc(&dlci->_fifo, 4096, GFP_KERNEL) < 0) { gsm_dlci_alloc()
/linux-4.4.14/drivers/rapidio/devices/
H A Dtsi721.c983 if (kfifo_alloc(&priv->pw_fifo, tsi721_port_write_init()

Completed in 1335 milliseconds