Home
last modified time | relevance | path

Searched refs:tf (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/ata/
Dsata_promise.h28 static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf, in pdc_pkt_header() argument
38 switch (tf->protocol) { in pdc_pkt_header()
40 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header()
69 buf[15] = tf->ctl; in pdc_pkt_header()
74 static inline unsigned int pdc_pkt_footer(struct ata_taskfile *tf, u8 *buf, in pdc_pkt_footer() argument
77 if (tf->flags & ATA_TFLAG_DEVICE) { in pdc_pkt_footer()
79 buf[i++] = tf->device; in pdc_pkt_footer()
84 buf[i++] = tf->command; in pdc_pkt_footer()
89 static inline unsigned int pdc_prep_lba28(struct ata_taskfile *tf, u8 *buf, unsigned int i) in pdc_prep_lba28() argument
95 buf[i++] = tf->feature; in pdc_prep_lba28()
[all …]
Dlibata-acpi.c33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */ member
551 struct ata_taskfile *tf) in ata_acpi_gtf_to_tf() argument
553 ata_tf_init(dev, tf); in ata_acpi_gtf_to_tf()
555 tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in ata_acpi_gtf_to_tf()
556 tf->protocol = ATA_PROT_NODATA; in ata_acpi_gtf_to_tf()
557 tf->error = gtf->tf[0]; /* 0x1f1 */ in ata_acpi_gtf_to_tf()
558 tf->nsect = gtf->tf[1]; /* 0x1f2 */ in ata_acpi_gtf_to_tf()
559 tf->lbal = gtf->tf[2]; /* 0x1f3 */ in ata_acpi_gtf_to_tf()
560 tf->lbam = gtf->tf[3]; /* 0x1f4 */ in ata_acpi_gtf_to_tf()
561 tf->lbah = gtf->tf[4]; /* 0x1f5 */ in ata_acpi_gtf_to_tf()
[all …]
Dlibata-scsi.c204 const struct ata_taskfile *tf) in ata_scsi_set_sense_information() argument
211 information = ata_tf_read_block(tf, dev); in ata_scsi_set_sense_information()
672 static void ata_dump_status(unsigned id, struct ata_taskfile *tf) in ata_dump_status() argument
674 u8 stat = tf->status, err = tf->error; in ata_dump_status()
857 struct ata_taskfile *tf = &qc->result_tf; in ata_gen_passthru_sense() local
870 tf->status & (ATA_BUSY | ATA_DF | ATA_ERR | ATA_DRQ)) { in ata_gen_passthru_sense()
871 ata_to_sense_error(qc->ap->print_id, tf->status, tf->error, in ata_gen_passthru_sense()
900 desc[3] = tf->error; in ata_gen_passthru_sense()
901 desc[5] = tf->nsect; in ata_gen_passthru_sense()
902 desc[7] = tf->lbal; in ata_gen_passthru_sense()
[all …]
Dsata_vsc.c142 static void vsc_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in vsc_sata_tf_load() argument
145 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in vsc_sata_tf_load()
153 if ((tf->ctl & ATA_NIEN) != (ap->last_ctl & ATA_NIEN)) { in vsc_sata_tf_load()
154 ap->last_ctl = tf->ctl; in vsc_sata_tf_load()
155 vsc_intr_mask_update(ap, tf->ctl & ATA_NIEN); in vsc_sata_tf_load()
157 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in vsc_sata_tf_load()
158 writew(tf->feature | (((u16)tf->hob_feature) << 8), in vsc_sata_tf_load()
160 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), in vsc_sata_tf_load()
162 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in vsc_sata_tf_load()
164 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in vsc_sata_tf_load()
[all …]
Dsata_svw.c158 static void k2_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in k2_sata_tf_load() argument
161 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in k2_sata_tf_load()
163 if (tf->ctl != ap->last_ctl) { in k2_sata_tf_load()
164 writeb(tf->ctl, ioaddr->ctl_addr); in k2_sata_tf_load()
165 ap->last_ctl = tf->ctl; in k2_sata_tf_load()
168 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in k2_sata_tf_load()
169 writew(tf->feature | (((u16)tf->hob_feature) << 8), in k2_sata_tf_load()
171 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), in k2_sata_tf_load()
173 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in k2_sata_tf_load()
175 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in k2_sata_tf_load()
[all …]
Dpata_octeon_cf.c382 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16() argument
389 tf->error = blob >> 8; in octeon_cf_tf_read16()
392 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
393 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
396 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
397 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
400 tf->device = blob & 0xff; in octeon_cf_tf_read16()
401 tf->status = blob >> 8; in octeon_cf_tf_read16()
403 if (tf->flags & ATA_TFLAG_LBA48) { in octeon_cf_tf_read16()
405 iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); in octeon_cf_tf_read16()
[all …]
Dsata_rcar.c369 const struct ata_taskfile *tf) in sata_rcar_tf_load() argument
372 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in sata_rcar_tf_load()
374 if (tf->ctl != ap->last_ctl) { in sata_rcar_tf_load()
375 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_load()
376 ap->last_ctl = tf->ctl; in sata_rcar_tf_load()
380 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in sata_rcar_tf_load()
381 iowrite32(tf->hob_feature, ioaddr->feature_addr); in sata_rcar_tf_load()
382 iowrite32(tf->hob_nsect, ioaddr->nsect_addr); in sata_rcar_tf_load()
383 iowrite32(tf->hob_lbal, ioaddr->lbal_addr); in sata_rcar_tf_load()
384 iowrite32(tf->hob_lbam, ioaddr->lbam_addr); in sata_rcar_tf_load()
[all …]
Dpata_samsung_cf.c176 const struct ata_taskfile *tf) in pata_s3c_tf_load() argument
179 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in pata_s3c_tf_load()
181 if (tf->ctl != ap->last_ctl) { in pata_s3c_tf_load()
182 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_load()
183 ap->last_ctl = tf->ctl; in pata_s3c_tf_load()
187 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in pata_s3c_tf_load()
188 ata_outb(ap->host, tf->hob_feature, ioaddr->feature_addr); in pata_s3c_tf_load()
189 ata_outb(ap->host, tf->hob_nsect, ioaddr->nsect_addr); in pata_s3c_tf_load()
190 ata_outb(ap->host, tf->hob_lbal, ioaddr->lbal_addr); in pata_s3c_tf_load()
191 ata_outb(ap->host, tf->hob_lbam, ioaddr->lbam_addr); in pata_s3c_tf_load()
[all …]
Dlibata-sff.c393 void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_tf_load() argument
396 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in ata_sff_tf_load()
398 if (tf->ctl != ap->last_ctl) { in ata_sff_tf_load()
400 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_load()
401 ap->last_ctl = tf->ctl; in ata_sff_tf_load()
405 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in ata_sff_tf_load()
407 iowrite8(tf->hob_feature, ioaddr->feature_addr); in ata_sff_tf_load()
408 iowrite8(tf->hob_nsect, ioaddr->nsect_addr); in ata_sff_tf_load()
409 iowrite8(tf->hob_lbal, ioaddr->lbal_addr); in ata_sff_tf_load()
410 iowrite8(tf->hob_lbam, ioaddr->lbam_addr); in ata_sff_tf_load()
[all …]
Dpata_ns87415.c123 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup()
140 ap->ops->sff_exec_command(ap, &qc->tf); in ns87415_bmdma_setup()
263 static void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ns87560_tf_read() argument
267 tf->status = ns87560_check_status(ap); in ns87560_tf_read()
268 tf->error = ioread8(ioaddr->error_addr); in ns87560_tf_read()
269 tf->nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read()
270 tf->lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read()
271 tf->lbam = ioread8(ioaddr->lbam_addr); in ns87560_tf_read()
272 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
273 tf->device = ns87560_read_buggy(ioaddr->device_addr); in ns87560_tf_read()
[all …]
Dlibata-sata.c149 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument
156 fis[2] = tf->command; in ata_tf_to_fis()
157 fis[3] = tf->feature; in ata_tf_to_fis()
159 fis[4] = tf->lbal; in ata_tf_to_fis()
160 fis[5] = tf->lbam; in ata_tf_to_fis()
161 fis[6] = tf->lbah; in ata_tf_to_fis()
162 fis[7] = tf->device; in ata_tf_to_fis()
164 fis[8] = tf->hob_lbal; in ata_tf_to_fis()
165 fis[9] = tf->hob_lbam; in ata_tf_to_fis()
166 fis[10] = tf->hob_lbah; in ata_tf_to_fis()
[all …]
Dlibata-core.c580 static int ata_rwcmd_protocol(struct ata_taskfile *tf, struct ata_device *dev) in ata_rwcmd_protocol() argument
586 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_rwcmd_protocol()
587 lba48 = (tf->flags & ATA_TFLAG_LBA48) ? 2 : 0; in ata_rwcmd_protocol()
588 write = (tf->flags & ATA_TFLAG_WRITE) ? 1 : 0; in ata_rwcmd_protocol()
591 tf->protocol = ATA_PROT_PIO; in ata_rwcmd_protocol()
595 tf->protocol = ATA_PROT_PIO; in ata_rwcmd_protocol()
598 tf->protocol = ATA_PROT_DMA; in ata_rwcmd_protocol()
604 tf->command = cmd; in ata_rwcmd_protocol()
625 u64 ata_tf_read_block(const struct ata_taskfile *tf, struct ata_device *dev) in ata_tf_read_block() argument
629 if (tf->flags & ATA_TFLAG_LBA) { in ata_tf_read_block()
[all …]
Dpata_via.c390 static void via_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in via_tf_load() argument
394 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in via_tf_load()
397 if (tf->ctl != ap->last_ctl) { in via_tf_load()
398 iowrite8(tf->ctl, ioaddr->ctl_addr); in via_tf_load()
399 ap->last_ctl = tf->ctl; in via_tf_load()
404 if (tf->flags & ATA_TFLAG_DEVICE) { in via_tf_load()
405 iowrite8(tf->device, ioaddr->device_addr); in via_tf_load()
406 vp->cached_device = tf->device; in via_tf_load()
410 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in via_tf_load()
412 iowrite8(tf->hob_feature, ioaddr->feature_addr); in via_tf_load()
[all …]
Dsata_inic162x.c416 qc ? qc->tf.command : 0xff, irq_stat, idma_stat); in inic_host_intr()
464 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg()
467 if (ata_is_dma(qc->tf.protocol)) in inic_fill_sg()
487 bool is_atapi = ata_is_atapi(qc->tf.protocol); in inic_qc_prep()
488 bool is_data = ata_is_data(qc->tf.protocol); in inic_qc_prep()
506 cpb->device = qc->tf.device; in inic_qc_prep()
507 cpb->feature = qc->tf.feature; in inic_qc_prep()
508 cpb->nsect = qc->tf.nsect; in inic_qc_prep()
509 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
510 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
[all …]
Dpata_ep93xx.c374 const struct ata_taskfile *tf) in ep93xx_pata_tf_load() argument
377 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in ep93xx_pata_tf_load()
379 if (tf->ctl != ap->last_ctl) { in ep93xx_pata_tf_load()
380 ep93xx_pata_write_reg(drv_data, tf->ctl, IDECTRL_ADDR_CTL); in ep93xx_pata_tf_load()
381 ap->last_ctl = tf->ctl; in ep93xx_pata_tf_load()
385 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in ep93xx_pata_tf_load()
386 ep93xx_pata_write_reg(drv_data, tf->hob_feature, in ep93xx_pata_tf_load()
388 ep93xx_pata_write_reg(drv_data, tf->hob_nsect, in ep93xx_pata_tf_load()
390 ep93xx_pata_write_reg(drv_data, tf->hob_lbal, in ep93xx_pata_tf_load()
392 ep93xx_pata_write_reg(drv_data, tf->hob_lbam, in ep93xx_pata_tf_load()
[all …]
Dlibata-zpodd.c37 struct ata_taskfile tf; in eject_tray() local
44 ata_tf_init(dev, &tf); in eject_tray()
45 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in eject_tray()
46 tf.command = ATA_CMD_PACKET; in eject_tray()
47 tf.protocol = ATAPI_PROT_NODATA; in eject_tray()
49 return ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0); in eject_tray()
58 struct ata_taskfile tf; in zpodd_get_mech_type() local
72 ata_tf_init(dev, &tf); in zpodd_get_mech_type()
73 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in zpodd_get_mech_type()
74 tf.command = ATA_CMD_PACKET; in zpodd_get_mech_type()
[all …]
Dsata_dwc_460ex.c318 static void sata_dwc_tf_dump(struct ata_port *ap, struct ata_taskfile *tf) in sata_dwc_tf_dump() argument
322 tf->command, get_prot_descript(tf->protocol), tf->flags, in sata_dwc_tf_dump()
323 tf->device); in sata_dwc_tf_dump()
326 tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); in sata_dwc_tf_dump()
329 tf->hob_feature, tf->hob_nsect, tf->hob_lbal, tf->hob_lbam, in sata_dwc_tf_dump()
330 tf->hob_lbah); in sata_dwc_tf_dump()
578 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) { in sata_dwc_isr()
599 __func__, get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
601 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
619 } else if (ata_is_pio(qc->tf.protocol)) { in sata_dwc_isr()
[all …]
Dsata_sx4.c206 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
207 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
343 static inline unsigned int pdc20621_ata_pkt(struct ata_taskfile *tf, in pdc20621_ata_pkt() argument
361 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()
363 else if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt()
373 if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt()
391 buf[i++] = tf->ctl; in pdc20621_ata_pkt()
396 static inline void pdc20621_host_pkt(struct ata_taskfile *tf, u8 *buf, in pdc20621_host_pkt() argument
417 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()
471 pdc20621_host_pkt(&qc->tf, &pp->dimm_buf[0], portno); in pdc20621_dma_prep()
[all …]
Dlibata-pmp.c42 struct ata_taskfile tf; in sata_pmp_read() local
45 ata_tf_init(pmp_dev, &tf); in sata_pmp_read()
46 tf.command = ATA_CMD_PMP_READ; in sata_pmp_read()
47 tf.protocol = ATA_PROT_NODATA; in sata_pmp_read()
48 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE | ATA_TFLAG_LBA48; in sata_pmp_read()
49 tf.feature = reg; in sata_pmp_read()
50 tf.device = link->pmp; in sata_pmp_read()
52 err_mask = ata_exec_internal(pmp_dev, &tf, NULL, DMA_NONE, NULL, 0, in sata_pmp_read()
57 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; in sata_pmp_read()
79 struct ata_taskfile tf; in sata_pmp_write() local
[all …]
Dpata_pdc202xx_old.c39 const struct ata_taskfile *tf) in pdc202xx_exec_command() argument
41 DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); in pdc202xx_exec_command()
43 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command()
181 struct ata_taskfile *tf = &qc->tf; in pdc2026x_bmdma_start() local
201 if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATAPI_PROT_DMA) { in pdc2026x_bmdma_start()
204 if (tf->flags & ATA_TFLAG_WRITE) in pdc2026x_bmdma_start()
231 struct ata_taskfile *tf = &qc->tf; in pdc2026x_bmdma_stop() local
240 if (tf->protocol == ATAPI_PROT_DMA || (tf->flags & ATA_TFLAG_LBA48)) { in pdc2026x_bmdma_stop()
/drivers/target/
Dtarget_core_fabric_configfs.c37 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
39 struct config_item_type *cit = &tf->tf_##_name##_cit; \
44 cit->ct_owner = tf->tf_ops->module; \
49 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \
51 struct config_item_type *cit = &tf->tf_##_name##_cit; \
52 struct configfs_attribute **attrs = tf->tf_ops->tfc_##_name##_attrs; \
57 cit->ct_owner = tf->tf_ops->module; \
271 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; in target_fabric_make_mappedlun() local
308 &tf->tf_tpg_mappedlun_cit); in target_fabric_make_mappedlun()
311 "statistics", &tf->tf_tpg_mappedlun_stat_cit); in target_fabric_make_mappedlun()
[all …]
/drivers/thunderbolt/
Ddma_test.c233 struct dma_test_frame *tf = container_of(frame, typeof(*tf), frame); in dma_test_rx_callback() local
234 struct dma_test *dt = tf->dma_test; in dma_test_rx_callback()
237 dma_unmap_single(dma_dev, tf->frame.buffer_phy, DMA_TEST_FRAME_SIZE, in dma_test_rx_callback()
239 kfree(tf->data); in dma_test_rx_callback()
242 kfree(tf); in dma_test_rx_callback()
250 if (tf->frame.flags & RING_DESC_CRC_ERROR) in dma_test_rx_callback()
252 if (tf->frame.flags & RING_DESC_BUFFER_OVERRUN) in dma_test_rx_callback()
255 kfree(tf); in dma_test_rx_callback()
267 struct dma_test_frame *tf; in dma_test_submit_rx() local
270 tf = kzalloc(sizeof(*tf), GFP_KERNEL); in dma_test_submit_rx()
[all …]
/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c58 struct timed_fence *tf = from_timer(tf, t, timer); in timed_fence_wake() local
60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
65 onstack_fence_init(&tf->fence); in timed_fence_init()
67 timer_setup_on_stack(&tf->timer, timed_fence_wake, 0); in timed_fence_init()
70 mod_timer(&tf->timer, expires); in timed_fence_init()
72 i915_sw_fence_commit(&tf->fence); in timed_fence_init()
75 void timed_fence_fini(struct timed_fence *tf) in timed_fence_fini() argument
77 if (del_timer_sync(&tf->timer)) in timed_fence_fini()
78 i915_sw_fence_commit(&tf->fence); in timed_fence_fini()
[all …]
/drivers/net/
Dthunderbolt.c317 static inline unsigned int tbnet_frame_size(const struct tbnet_frame *tf) in tbnet_frame_size() argument
319 return tf->frame.size ? : TBNET_FRAME_SIZE; in tbnet_frame_size()
328 struct tbnet_frame *tf = &ring->frames[i]; in tbnet_free_buffers() local
333 if (!tf->page) in tbnet_free_buffers()
346 if (tf->frame.buffer_phy) in tbnet_free_buffers()
347 dma_unmap_page(dma_dev, tf->frame.buffer_phy, size, in tbnet_free_buffers()
350 __free_pages(tf->page, order); in tbnet_free_buffers()
351 tf->page = NULL; in tbnet_free_buffers()
483 struct tbnet_frame *tf = &ring->frames[index]; in tbnet_alloc_rx_buffers() local
486 if (tf->page) in tbnet_alloc_rx_buffers()
[all …]
/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c223 void dc_transfer_func_retain(struct dc_transfer_func *tf) in dc_transfer_func_retain() argument
225 kref_get(&tf->refcount); in dc_transfer_func_retain()
230 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); in dc_transfer_func_free() local
231 kvfree(tf); in dc_transfer_func_free()
234 void dc_transfer_func_release(struct dc_transfer_func *tf) in dc_transfer_func_release() argument
236 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
241 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func() local
243 if (tf == NULL) in dc_create_transfer_func()
246 kref_init(&tf->refcount); in dc_create_transfer_func()
248 return tf; in dc_create_transfer_func()

1234