Lines Matching refs:seg
66 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
68 (uint8_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
77 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
78 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
79 (rsm_barrier_handle_t)seg->rsmseg_barrier);
89 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
90 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
91 (rsm_barrier_handle_t)seg->rsmseg_barrier);
109 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
112 (uint16_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
121 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
122 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
123 (rsm_barrier_handle_t)seg->rsmseg_barrier);
133 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
134 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
135 (rsm_barrier_handle_t)seg->rsmseg_barrier);
153 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
156 (uint32_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
165 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
166 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
167 (rsm_barrier_handle_t)seg->rsmseg_barrier);
177 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
178 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
179 (rsm_barrier_handle_t)seg->rsmseg_barrier);
197 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
200 (uint64_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
209 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
210 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
211 (rsm_barrier_handle_t)seg->rsmseg_barrier);
221 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
222 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
223 (rsm_barrier_handle_t)seg->rsmseg_barrier);
241 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
243 (uint8_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
252 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
253 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
254 (rsm_barrier_handle_t)seg->rsmseg_barrier);
264 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
265 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
266 (rsm_barrier_handle_t)seg->rsmseg_barrier);
284 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
287 (uint16_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
296 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
297 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
298 (rsm_barrier_handle_t)seg->rsmseg_barrier);
308 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
309 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
310 (rsm_barrier_handle_t)seg->rsmseg_barrier);
328 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
331 (uint32_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
340 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
341 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
342 (rsm_barrier_handle_t)seg->rsmseg_barrier);
352 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
353 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
354 (rsm_barrier_handle_t)seg->rsmseg_barrier);
372 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
375 (uint64_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset];
384 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
385 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
386 (rsm_barrier_handle_t)seg->rsmseg_barrier);
396 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
397 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
398 (rsm_barrier_handle_t)seg->rsmseg_barrier);
414 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
420 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
421 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
422 (rsm_barrier_handle_t)seg->rsmseg_barrier);
428 bcopy(seg->rsmseg_vaddr + offset - seg->rsmseg_mapoffset, dst_addr,
431 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
432 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
433 (rsm_barrier_handle_t)seg->rsmseg_barrier);
479 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg;
485 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
486 e = seg->rsmseg_ops->rsm_memseg_import_open_barrier(
487 (rsm_barrier_handle_t)seg->rsmseg_barrier);
493 bcopy(src_addr, seg->rsmseg_vaddr + offset - seg->rsmseg_mapoffset,
496 if (seg->rsmseg_barmode == RSM_BARRIER_MODE_IMPLICIT) {
497 e = seg->rsmseg_ops->rsm_memseg_import_close_barrier(
498 (rsm_barrier_handle_t)seg->rsmseg_barrier);