Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic2.c670 sg_get_mode_page_controls(int sg_fd, bool mode6, int pg_code, int sub_pg_code, in sg_get_mode_page_controls() argument
692 if (mode6) /* want first 8 bytes just in case */ in sg_get_mode_page_controls()
706 m = sg_msense_calc_length(buff, msense10_hlen, mode6, NULL) - resid; in sg_get_mode_page_controls()
711 resp_mode6 = mode6; in sg_get_mode_page_controls()
713 if (mode6 && (n < 3)) { in sg_get_mode_page_controls()
719 if ((! mode6) && (n > 5)) { in sg_get_mode_page_controls()
731 if (verbose && (resp_mode6 != mode6)) in sg_get_mode_page_controls()
733 "processing\n", (mode6 ? 6 : 10), buff[0]); in sg_get_mode_page_controls()
752 if (mode6) in sg_get_mode_page_controls()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_cmds_basic.h261 int sg_get_mode_page_controls(int sg_fd, bool mode6, int pg_code,
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c3409 void *resp, int mx_resp_len, int noisy, int mode6) in do_modes() argument
3420 if (mx_resp_len > (mode6 ? 0xff : 0xffff)) { in do_modes()
3424 if (mode6) { in do_modes()
3435 io_hdr.cmd_len = mode6 ? MODE_SENSE6_CMDLEN : MODE_SENSE10_CMDLEN; in do_modes()
3463 if (mode6) in do_modes()
4369 int mode6) in do_modes_0a() argument
4382 if (mx_resp_len > (mode6 ? 0xff : 0xffff)) { in do_modes_0a()
4386 if (mode6) { in do_modes_0a()
4396 io_hdr.cmd_len = mode6 ? MODE_SENSE6_CMDLEN : MODE_SENSE10_CMDLEN; in do_modes_0a()