/linux-4.1.27/samples/kfifo/ |
H A D | dma-example.c | 32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { example_init() 33 printk(KERN_WARNING "error kfifo_alloc\n"); example_init()
|
H A D | inttype-example.c | 152 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init() 154 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
|
H A D | bytestream-example.c | 159 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init() 161 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
|
H A D | record-example.c | 166 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); example_init() 168 printk(KERN_ERR "error kfifo_alloc\n"); example_init()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_resource.c | 58 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.1.27/net/dccp/ |
H A D | probe.c | 160 if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL)) dccpprobe_init()
|
/linux-4.1.27/drivers/char/ |
H A D | sonypi.c | 1314 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.1.27/include/media/ |
H A D | lirc_dev.h | 57 ret = kfifo_alloc(&buf->fifo, size * chunk_size, GFP_KERNEL); lirc_buffer_init()
|
/linux-4.1.27/net/sctp/ |
H A D | probe.c | 213 if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL)) sctpprobe_init()
|
/linux-4.1.27/include/linux/ |
H A D | kfifo.h | 30 * - 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.1.27/drivers/media/rc/ |
H A D | rc-ir-raw.c | 266 rc = kfifo_alloc(&dev->raw->kfifo, ir_raw_event_register()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | fujitsu-laptop.c | 798 error = kfifo_alloc(&fujitsu_hotkey->fifo, RINGBUFFERSIZE * sizeof(int), acpi_fujitsu_hotkey_add() 801 pr_err("kfifo_alloc failed\n"); acpi_fujitsu_hotkey_add()
|
H A D | sony-laptop.c | 465 error = kfifo_alloc(&sony_laptop_input.fifo, sony_laptop_setup_input() 468 pr_err("kfifo_alloc failed\n"); sony_laptop_setup_input() 4279 kfifo_alloc(&sonypi_compat.fifo, SONY_LAPTOP_BUF_SIZE, GFP_KERNEL); sonypi_compat_init() 4281 pr_err("kfifo_alloc failed\n"); sonypi_compat_init()
|
/linux-4.1.27/drivers/mailbox/ |
H A D | omap-mailbox.c | 386 if (kfifo_alloc(&mq->fifo, mbox_kfifo_size, GFP_KERNEL)) mbox_queue_alloc()
|
/linux-4.1.27/drivers/mfd/ |
H A D | si476x-i2c.c | 764 rval = kfifo_alloc(&core->rds_fifo, si476x_core_probe()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-sensor-custom.c | 734 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, hid_sensor_custom_dev_if_add()
|
H A D | hid-logitech-dj.c | 1019 if (kfifo_alloc(&djrcv_dev->notif_fifo, logi_dj_probe()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | fhci.h | 481 return kfifo_alloc(fifo, size * sizeof(void *), GFP_KERNEL); cq_new()
|
/linux-4.1.27/drivers/media/pci/meye/ |
H A D | meye.c | 1644 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.1.27/drivers/mmc/card/ |
H A D | sdio_uart.c | 96 if (kfifo_alloc(&port->xmit_fifo, FIFO_SIZE, GFP_KERNEL)) sdio_uart_add_port()
|
/linux-4.1.27/drivers/mtd/ |
H A D | sm_ftl.c | 778 if (kfifo_alloc(&zone->free_sectors, ftl->zone_size * 2, GFP_KERNEL)) { sm_init_zone()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 1238 if (kfifo_alloc(&ir_state->rx_kfifo, cx25840_ir_probe()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 1182 if (kfifo_alloc(&state->rx_kfifo, CX23888_IR_RX_KFIFO_SIZE, GFP_KERNEL)) cx23888_ir_probe()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | main.c | 917 ret = kfifo_alloc(&priv->event_fifo, sizeof(u32) * 16, GFP_KERNEL); lbs_init_adapter()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00dev.c | 1085 status = kfifo_alloc(&rt2x00dev->txstatus_fifo, kfifo_size, rt2x00lib_probe_hw()
|
/linux-4.1.27/drivers/scsi/ |
H A D | libiscsi_tcp.c | 1144 if (kfifo_alloc(&tcp_task->r2tqueue, iscsi_tcp_r2tpool_alloc()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | cypress_m8.c | 461 if (kfifo_alloc(&priv->write_fifo, CYPRESS_BUF_SIZE, GFP_KERNEL)) { cypress_generic_port_probe()
|
H A D | mxuport.c | 1239 err = kfifo_alloc(&port->write_fifo, PAGE_SIZE, mxuport_attach()
|
H A D | usb-serial.c | 957 if (kfifo_alloc(&port->write_fifo, PAGE_SIZE, GFP_KERNEL)) usb_serial_probe()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 591 if (kfifo_alloc(&pw->pw_fifo, RIO_PW_MSG_SIZE * 32, GFP_KERNEL)) { fsl_rio_port_write_init()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | ifx6x60.c | 834 if (kfifo_alloc(&ifx_dev->tx_fifo, IFX_SPI_FIFO_SIZE, GFP_KERNEL)) { ifx_spi_create_port()
|
/linux-4.1.27/drivers/tty/ |
H A D | nozomi.c | 1419 if (kfifo_alloc(&dc->port[i].fifo_ul, FIFO_BUFFER_SIZE_UL, nozomi_card_init()
|
H A D | n_gsm.c | 1647 if (kfifo_alloc(&dlci->_fifo, 4096, GFP_KERNEL) < 0) { gsm_dlci_alloc()
|
/linux-4.1.27/drivers/rapidio/devices/ |
H A D | tsi721.c | 983 if (kfifo_alloc(&priv->pw_fifo, tsi721_port_write_init()
|