Home
last modified time | relevance | path

Searched refs:in0_out1 (Results 1 – 3 of 3) sorted by relevance

/dports/sysutils/ddpt/ddpt-0.95/src/
H A Dddpt_pt.c253 pt_read_capacity(struct opts_t * op, int in0_out1, int64_t * num_blks, in pt_read_capacity() argument
260 int sg_fd = (in0_out1 ? op->odip->fd : op->idip->fd); in pt_read_capacity()
261 int protect = (in0_out1 ? op->wrprotect : op->rdprotect); in pt_read_capacity()
296 if (in0_out1) { in pt_read_capacity()
488 pt_low_read(struct opts_t * op, int in0_out1, unsigned char * buff, in pt_low_read() argument
496 const struct flags_t * fp = (in0_out1 ? op->oflagp : op->iflagp); in pt_low_read()
497 const struct dev_info_t * dip = (in0_out1 ? op->odip : op->idip); in pt_low_read()
498 int protect = (in0_out1 ? op->wrprotect : op->rdprotect); in pt_low_read()
639 if (in0_out1) { in pt_read()
658 res = pt_low_read(op, in0_out1, bp, blks, lba, bs, &io_addr); in pt_read()
[all …]
H A Dddpt_xcopy.c1610 fd = in0_out1 ? op->odip->fd : op->idip->fd; in do_rrti()
1982 odx_check_sgl(struct opts_t * op, uint64_t num_blks, int in0_out1)
1985 struct dev_info_t * dip = in0_out1 ? op->odip : op->idip;
1986 struct flags_t * flp = in0_out1 ? op->oflagp : op->iflagp;
1988 const char * sgl_nm = in0_out1 ? "scatter" : "gather";
2014 int bs = in0_out1 ? op->obs : op->ibs; in fetch_read_cap()
2015 struct dev_info_t * dip = in0_out1 ? op->odip : op->idip; in fetch_read_cap()
2016 struct flags_t * flagp = in0_out1 ? op->oflagp : op->iflagp; in fetch_read_cap()
2017 const char * oip = in0_out1 ? "o" : "i"; in fetch_read_cap()
2019 if ((res = pt_read_capacity(op, in0_out1, num_blks, blk_sz))) { in fetch_read_cap()
[all …]
H A Dddpt.h513 int pt_read_capacity(struct opts_t * op, int in0_out1, int64_t * num_blks,
515 int pt_read(struct opts_t * op, int in0_out1, unsigned char * buff,
537 int do_rrti(struct opts_t * op, int in0_out1, struct rrti_resp_t * rrp,