Searched refs:job (Results 1 – 1 of 1) sorted by relevance
35 static void bsg_destroy_job(struct bsg_job *job) in bsg_destroy_job() argument37 put_device(job->dev); /* release reference for the request */ in bsg_destroy_job()39 kfree(job->request_payload.sg_list); in bsg_destroy_job()40 kfree(job->reply_payload.sg_list); in bsg_destroy_job()41 kfree(job); in bsg_destroy_job()52 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done() argument55 struct request *req = job->req; in bsg_job_done()59 err = job->req->errors = result; in bsg_job_done()62 job->req->sense_len = sizeof(u32); in bsg_job_done()64 job->req->sense_len = job->reply_len; in bsg_job_done()[all …]