Home
last modified time | relevance | path

Searched refs:w_bio (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/block/
Dpktcdvd.c556 pkt->w_bio = bio_kmalloc(frames, GFP_KERNEL); in pkt_alloc_packet_data()
557 if (!pkt->w_bio) in pkt_alloc_packet_data()
584 kfree(pkt->w_bio); in pkt_alloc_packet_data()
602 kfree(pkt->w_bio); in pkt_free_packet_data()
1265 bio_init(pkt->w_bio, pd->bdev, pkt->w_bio->bi_inline_vecs, pkt->frames, in pkt_start_write()
1267 pkt->w_bio->bi_iter.bi_sector = pkt->sector; in pkt_start_write()
1268 pkt->w_bio->bi_end_io = pkt_end_io_packet_write; in pkt_start_write()
1269 pkt->w_bio->bi_private = pkt; in pkt_start_write()
1276 if (!bio_add_page(pkt->w_bio, page, CD_FRAMESIZE, offset)) in pkt_start_write()
1279 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
[all …]
/Linux-v6.6/include/linux/
Dpktcdvd.h117 struct bio *w_bio; /* The bio we will send to the real CD */ member