Home
last modified time | relevance | path

Searched refs:alloc_req (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_switch.c158 struct npc_mcam_alloc_entry_req alloc_req = { 0 }; in rvu_switch_enable() local
167 alloc_req.contig = true; in rvu_switch_enable()
168 alloc_req.count = rvu->cgx_mapped_pfs + rvu->cgx_mapped_vfs; in rvu_switch_enable()
169 ret = rvu_mbox_handler_npc_mcam_alloc_entry(rvu, &alloc_req, in rvu_switch_enable()
177 if (alloc_rsp.count != alloc_req.count) { in rvu_switch_enable()
180 alloc_req.count, alloc_rsp.count); in rvu_switch_enable()
184 rswitch->entry2pcifunc = kcalloc(alloc_req.count, sizeof(u16), in rvu_switch_enable()
/openbmc/linux/drivers/video/fbdev/omap/
H A Dhwa742.c235 static inline struct hwa742_request *alloc_req(bool can_sleep) in alloc_req() function
411 req = alloc_req(can_sleep); \
560 req = alloc_req(true); in hwa742_sync()
/openbmc/qemu/include/hw/scsi/
H A Dscsi.h63 SCSIRequest *(*alloc_req)(SCSIDevice *s, uint32_t tag, uint32_t lun, member
/openbmc/linux/drivers/block/xen-blkback/
H A Dblkback.c414 static struct pending_req *alloc_req(struct xen_blkif_ring *ring) in alloc_req() function
1218 pending_req = alloc_req(ring); in __do_block_io_op()
/openbmc/qemu/hw/scsi/
H A Dscsi-generic.c811 sc->alloc_req = scsi_new_request; in scsi_generic_class_initfn()
H A Dscsi-bus.c122 if (sc->alloc_req) { in scsi_device_alloc_req()
123 return sc->alloc_req(s, tag, lun, buf, hba_private); in scsi_device_alloc_req()
H A Dscsi-disk.c3189 sc->alloc_req = scsi_new_request; in scsi_hd_class_initfn()
3229 sc->alloc_req = scsi_new_request; in scsi_cd_class_initfn()
3266 sc->alloc_req = scsi_block_new_request; in scsi_block_class_initfn()