Home
last modified time | relevance | path

Searched refs:resid (Results 1 – 20 of 20) sorted by relevance

/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic2.c278 int res, ret, k, sense_cat, resid; in sg_ll_mode_sense6() local
306 resid = get_scsi_pt_resid(ptvp); in sg_ll_mode_sense6()
338 if (resid > 0) { in sg_ll_mode_sense6()
339 if (resid > mx_resp_len) { in sg_ll_mode_sense6()
341 cdb_name_s, resid, mx_resp_len); in sg_ll_mode_sense6()
345 memset((unsigned char *)resp + (mx_resp_len - resid), 0, resid); in sg_ll_mode_sense6()
375 int res, ret, k, sense_cat, resid; in sg_ll_mode_sense10_v2() local
407 resid = get_scsi_pt_resid(ptvp); in sg_ll_mode_sense10_v2()
409 *residp = resid; in sg_ll_mode_sense10_v2()
441 if (resid > 0) { in sg_ll_mode_sense10_v2()
[all …]
Dsg_cmds_basic.c119 sg_cmds_process_helper(const char * leadin, int mx_di_len, int resid, in sg_cmds_process_helper() argument
162 if ((mx_di_len > 0) && (resid > 0)) { in sg_cmds_process_helper()
163 got = mx_di_len - resid; in sg_cmds_process_helper()
190 int got, cat, duration, slen, resid, resp_code, sstat; in sg_cmds_process_resp() local
224 resid = (mx_di_len > 0) ? get_scsi_pt_resid(ptvp) : 0; in sg_cmds_process_resp()
242 got = mx_di_len - resid; in sg_cmds_process_resp()
243 if ((verbose > 1) && (resid != 0)) in sg_cmds_process_resp()
288 return sg_cmds_process_helper(leadin, mx_di_len, resid, sbp, slen, in sg_cmds_process_resp()
302 return sg_cmds_process_helper(leadin, mx_di_len, resid, sbp, in sg_cmds_process_resp()
341 int res, ret, k, sense_cat, resid; in sg_ll_inquiry_com() local
[all …]
Dsg_cmds_extra.c567 int resid = 0; in sg_ll_receive_diag_v2() local
600 resid = get_scsi_pt_resid(ptvp); in sg_ll_receive_diag_v2()
602 *residp = resid; in sg_ll_receive_diag_v2()
Dsg_pt_linux.c885 ptp->io_hdr.din_resid = (__s32)v3_hdr.resid; in do_scsi_pt_v3()
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.h76 unsigned resid) in add()
83 ranges.back().BaseShaderRegister + ranges.back().NumDescriptors == resid) { in add()
92 range.BaseShaderRegister = resid; in add()
147 add_uav_resource(Resources &resources, unsigned spaceid, unsigned resid,
152 add_cbv_resource(Resources &resources, unsigned spaceid, unsigned resid,
Dcompute_test.cpp420 unsigned spaceid, unsigned resid, in add_uav_resource() argument
440 resources.add(res, D3D12_DESCRIPTOR_RANGE_TYPE_UAV, spaceid, resid); in add_uav_resource()
446 unsigned spaceid, unsigned resid, in add_cbv_resource() argument
460 resources.add(res, D3D12_DESCRIPTOR_RANGE_TYPE_CBV, spaceid, resid); in add_cbv_resource()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_resource.cpp936 get_subresource_id(struct d3d12_resource *res, unsigned resid, in get_subresource_id() argument
952 return resid * resource_stride + z * layer_stride + in get_subresource_id()
958 struct d3d12_transfer *trans, unsigned resid, unsigned z) in fill_texture_location() argument
961 int subres = get_subresource_id(res, resid, z, trans->base.b.level); in fill_texture_location()
975 unsigned resid, unsigned z) in fill_buffer_location() argument
984 unsigned sub_resid = get_subresource_id(res, resid, z, trans->base.b.level); in fill_buffer_location()
1043 int resid) in transfer_buf_to_image_part() argument
1056 copy_info.src_loc = fill_buffer_location(ctx, res, staging_res, trans, depth, resid, z); in transfer_buf_to_image_part()
1060 copy_info.dst_loc = fill_texture_location(res, trans, resid, z); in transfer_buf_to_image_part()
1079 struct d3d12_transfer *trans, int resid) in transfer_buf_to_image() argument
[all …]
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c1153 int resid; in usb_read() local
1168 resid = buflen; in usb_read()
1187 while (resid > 0) { in usb_read()
1212 io_len = MIN(m->cur_data_len, resid); in usb_read()
1243 resid -= io_len; in usb_read()
1261 int resid; in usb_write() local
1278 resid = buflen; in usb_write()
1318 if (io_len > resid) in usb_write()
1319 io_len = resid; in usb_write()
1324 if (io_len > resid) in usb_write()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_fetch.h159 …ueryBufferSizeInstr(const RegisterVec4& dst, const RegisterVec4::Swizzle& swizzle, uint32_t resid);
167 uint32_t resid, PRegister res_offset, EVTXDataFormat data_format);
Dsfn_instr_fetch.cpp508 uint32_t resid): in QueryBufferSizeInstr() argument
517 resid, in QueryBufferSizeInstr()
546 uint32_t resid, PRegister res_offset, EVTXDataFormat data_format): in LoadFromBuffer() argument
548 data_format, vtx_nf_scaled, vtx_es_none, resid, res_offset) in LoadFromBuffer()
/third_party/musl/porting/liteos_m/kernel/include/scsi/
Dsg.h84 int resid; member
/third_party/musl/ndk_musl_include/scsi/
Dsg.h84 int resid; member
/third_party/musl/include/scsi/
Dsg.h84 int resid; member
/third_party/musl/porting/uniproton/kernel/include/scsi/
Dsg.h84 int resid; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/scsi/
Dsg.h84 int resid; member
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c248 uint32_t resid; /* Transfer residual length: 2's comp */ member
2152 umass_ccb->csio.resid = residue; in umass_cam_cb()
2822 if (!LOS_IsUserAddressRange((vaddr_t)buf, blocksize * nsectors - sc->data_ccb->csio.resid)) { in umass_read10()
2823 …t = memcpy_s(buf, nsectors * blocksize, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid); in umass_read10()
2825 ret = ((nsectors * blocksize >= blocksize * nsectors - sc->data_ccb->csio.resid) ? in umass_read10()
2826 …LOS_ArchCopyToUser(buf, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid) : ERANGE_AND_RE… in umass_read10()
2881 if (!LOS_IsUserAddressRange((vaddr_t)buf, blocksize * nsectors - sc->data_ccb->csio.resid)) { in umass_read16()
2882 …t = memcpy_s(buf, nsectors * blocksize, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid); in umass_read16()
2884 ret = ((nsectors * blocksize >= blocksize * nsectors - sc->data_ccb->csio.resid) ? in umass_read16()
2885 …LOS_ArchCopyToUser(buf, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid) : ERANGE_AND_RE… in umass_read16()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c261 int resid; member
2086 sum_of_resids += io_hdr.resid; in sg_read()
6199 sum_of_resids += io_hdr.resid; in sg_read2()
7044 if (rep->dio_incomplete || rep->resid) { in sg_in_operation()
7049 clp->sum_of_resids += rep->resid; in sg_in_operation()
7112 if (rep->dio_incomplete || rep->resid) { in sg_out_operation()
7117 clp->sum_of_resids += rep->resid; in sg_out_operation()
7249 rep->resid = hp->resid; in sg_finish_io()
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc1597 float resid = rg_nonlinear(x,curve,tf,P, dfdP); in gauss_newton_step() local
1603 rhs.vals[r] += dfdP[r] * resid; in gauss_newton_step()
/third_party/skia/third_party/skcms/
Dskcms.cc2037 float resid = rg_nonlinear(x,curve,tf, dfdP); in gauss_newton_step() local
2043 rhs.vals[r] += dfdP[r] * resid; in gauss_newton_step()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi6173 …<var-decl name='resid' type-id='8f92235e' visibility='default' filepath='frameworks/base/libs/andr…