Lines Matching refs:sdesc
229 msg.sdesc = NULL; in hmdfs_sendmessage_response()
352 msg.sdesc = NULL; in hmdfs_send_async_request()
460 msg.sdesc = NULL; in hmdfs_sendmessage_request()
521 struct slice_descriptor *sdesc, void *slice_buf) in hmdfs_send_slice() argument
526 int content_size = le32_to_cpu(sdesc->content_size); in hmdfs_send_slice()
542 msg.sdesc = sdesc; in hmdfs_send_slice()
560 struct slice_descriptor sdesc; in hmdfs_readfile_response() local
566 sdesc.slice_size = cpu_to_le32(slice_size); in hmdfs_readfile_response()
569 sdesc.num_slices = cpu_to_le32(file_size / slice_size); in hmdfs_readfile_response()
578 sdesc.slice_sn = cpu_to_le32(slice_sn++); in hmdfs_readfile_response()
585 sdesc.content_size = cpu_to_le32(size); in hmdfs_readfile_response()
586 ret = hmdfs_send_slice(con, head, &sdesc, slice_buf); in hmdfs_readfile_response()
589 le32_to_cpu(sdesc.slice_sn)); in hmdfs_readfile_response()
674 msg.sdesc = NULL; in hmdfs_sendpage_request()
881 struct slice_descriptor *sdesc = desp->buf; in hmdfs_readfile_slice() local
882 void *slice_buf = sdesc + 1; in hmdfs_readfile_slice()
891 offset = le32_to_cpu(sdesc->slice_size) * le32_to_cpu(sdesc->slice_sn); in hmdfs_readfile_slice()
894 le32_to_cpu(sdesc->content_size), &offset); in hmdfs_readfile_slice()
898 le32_to_cpu(sdesc->slice_sn), in hmdfs_readfile_slice()
899 le32_to_cpu(sdesc->num_slices), (int)written_size); in hmdfs_readfile_slice()
904 le32_to_cpu(sdesc->num_slices)) in hmdfs_readfile_slice()