函数名称:lk_rq_prep_clone - Helper function to setup clone request*@rq: the request to be setup*@rq_src: original request to be cloned*@bs: bio_set that bios for clone are allocated from*@gfp_mask: memory allocation mask for bio
函数原型:int blk_rq_prep_clone(struct request *rq, struct request *rq_src, struct bio_set *bs, gfp_t gfp_mask, int (*bio_ctr)(struct bio *, struct bio *, void *), void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|
struct request * | rq | |
struct request * | rq_src | |
struct bio_set * | bs | |
gfp_t | gfp_mask | |
int (* | bio_ctr | |
void * | data | |