Searched refs:r_p (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_generic.c | 128 struct raw_params r_p; in smedia_raw_read() local 131 r_p.offset = (uint32_t)offset; in smedia_raw_read() 132 r_p.buffer = buffer; in smedia_raw_read() 133 r_p.size = size; in smedia_raw_read() 135 ret_val = call_function((rmedia_handle_t *)handle, &r_p, "_m_raw_read"); in smedia_raw_read() 144 struct raw_params r_p; in smedia_raw_write() local 147 r_p.offset = (uint32_t)offset; in smedia_raw_write() 148 r_p.buffer = buffer; in smedia_raw_write() 149 r_p.size = (uint32_t)size; in smedia_raw_write() 152 &r_p, "_m_raw_write"); in smedia_raw_write()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 218 struct raw_params *r_p = (struct raw_params *)ip; in _m_raw_read() local 254 if ((!r_p->size) || (r_p->size % sector_size)) { in _m_raw_read() 259 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read() 260 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_read() 264 fdraw.fdr_nbytes = r_p->size; in _m_raw_read() 265 fdraw.fdr_addr = r_p->buffer; in _m_raw_read() 292 struct raw_params *r_p = (struct raw_params *)ip; in _m_raw_write() local 327 if ((!r_p->size) || (r_p->size % sector_size)) { in _m_raw_write() 332 cyl = r_p->offset/(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write() 333 rem = r_p->offset%(fdchar.fdc_nhead * fdchar.fdc_secptrack); in _m_raw_write() [all …]
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 239 struct raw_params *r_p = (struct raw_params *)i_p; in _m_raw_write() local 258 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer); in _m_raw_write() 261 reqraw_write.blockno = r_p->offset; in _m_raw_write() 262 reqraw_write.nbytes = r_p->size; in _m_raw_write() 263 bcopy(r_p->buffer, handle->sm_buf, r_p->size); in _m_raw_write() 280 "blk_num = 0x%x(%d)\n", reterror->errnum, r_p->offset, in _m_raw_write() 281 r_p->offset); in _m_raw_write() 296 struct raw_params *r_p = (struct raw_params *)i_p; in _m_raw_read() local 319 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer); in _m_raw_read() 323 reqraw_read.blockno = r_p->offset; in _m_raw_read() [all …]
|