Lines Matching refs:pin

208     uint32_t      pin;    /* Reference count information:             */  member
652 if ( !act->pin && in _set_status_v1()
716 if ( !act->pin && in _set_status_v2()
745 if ( !act->pin ) in _set_status_v2()
810 if ( act->pin && act->domid == ld->domain_id && act->frame == mfn ) in grant_map_exists()
945 if ( act->pin && in map_grant_ref()
947 (act->pin & 0x80808080U) != 0 || in map_grant_ref()
951 act->domid, ld->domain_id, act->pin, act->is_sub_page); in map_grant_ref()
953 if ( !act->pin || in map_grant_ref()
955 !(act->pin & (GNTPIN_hstw_mask|GNTPIN_devw_mask))) ) in map_grant_ref()
962 if ( !act->pin ) in map_grant_ref()
983 old_pin = act->pin; in map_grant_ref()
985 act->pin += (op->flags & GNTMAP_readonly) ? in map_grant_ref()
988 act->pin += (op->flags & GNTMAP_readonly) ? in map_grant_ref()
992 act_pin = act->pin; in map_grant_ref()
1171 act->pin -= (op->flags & GNTMAP_readonly) ? in map_grant_ref()
1174 act->pin -= (op->flags & GNTMAP_readonly) ? in map_grant_ref()
1179 !(act->pin & (GNTPIN_hstw_mask|GNTPIN_devw_mask)) ) in map_grant_ref()
1182 if ( !act->pin ) in map_grant_ref()
1440 ASSERT(act->pin & (GNTPIN_devw_mask | GNTPIN_devr_mask)); in unmap_common_complete()
1442 act->pin -= GNTPIN_devr_inc; in unmap_common_complete()
1444 act->pin -= GNTPIN_devw_inc; in unmap_common_complete()
1457 ASSERT(act->pin & (GNTPIN_hstw_mask | GNTPIN_hstr_mask)); in unmap_common_complete()
1459 act->pin -= GNTPIN_hstr_inc; in unmap_common_complete()
1461 act->pin -= GNTPIN_hstw_inc; in unmap_common_complete()
1464 if ( ((act->pin & (GNTPIN_devw_mask|GNTPIN_hstw_mask)) == 0) && in unmap_common_complete()
1468 if ( act->pin == 0 ) in unmap_common_complete()
2259 act->pin -= GNTPIN_hstr_inc; in release_grant_for_copy()
2265 act->pin -= GNTPIN_hstw_inc; in release_grant_for_copy()
2266 if ( !(act->pin & (GNTPIN_devw_mask|GNTPIN_hstw_mask)) ) in release_grant_for_copy()
2270 if ( !act->pin ) in release_grant_for_copy()
2296 if ( !(act->pin & (GNTPIN_hstw_mask | GNTPIN_devw_mask)) ) in fixup_status_for_copy_pin()
2299 if ( !act->pin ) in fixup_status_for_copy_pin()
2350 if ( act->pin && ((act->domid != ldom) || (act->pin & 0x80808080U) != 0) ) in acquire_grant_for_copy()
2353 act->domid, ldom, act->pin); in acquire_grant_for_copy()
2355 old_pin = act->pin; in acquire_grant_for_copy()
2422 act->pin != old_pin || in acquire_grant_for_copy()
2502 if ( !act->pin ) in acquire_grant_for_copy()
2536 act->pin += readonly ? GNTPIN_hstr_inc : GNTPIN_hstw_inc; in acquire_grant_for_copy()
2548 !(act->pin & (GNTPIN_hstw_mask | GNTPIN_devw_mask)) ) in acquire_grant_for_copy()
2551 if ( !act->pin ) in acquire_grant_for_copy()
2892 if ( read_atomic(&_active_entry(gt, i).pin) != 0 ) in gnttab_set_version()
3140 if ( act_a->pin ) in swap_grant_ref()
3144 if ( act_b->pin ) in swap_grant_ref()
3571 BUG_ON(!(act->pin & GNTPIN_devr_mask)); in gnttab_release_mappings()
3572 act->pin -= GNTPIN_devr_inc; in gnttab_release_mappings()
3579 BUG_ON(!(act->pin & GNTPIN_hstr_mask)); in gnttab_release_mappings()
3580 act->pin -= GNTPIN_hstr_inc; in gnttab_release_mappings()
3590 BUG_ON(!(act->pin & GNTPIN_devw_mask)); in gnttab_release_mappings()
3591 act->pin -= GNTPIN_devw_inc; in gnttab_release_mappings()
3598 BUG_ON(!(act->pin & GNTPIN_hstw_mask)); in gnttab_release_mappings()
3599 act->pin -= GNTPIN_hstw_inc; in gnttab_release_mappings()
3611 if ( (act->pin & (GNTPIN_devw_mask|GNTPIN_hstw_mask)) == 0 ) in gnttab_release_mappings()
3615 if ( act->pin == 0 ) in gnttab_release_mappings()
3641 if ( !act->pin ) in grant_table_warn_active_grants()
3837 if ( !act->pin ) in gnttab_usage_print()
3860 ref, act->domid, act->frame, act->pin, in gnttab_usage_print()