Searched refs:is_master (Results 1 – 14 of 14) sorted by relevance
195 if (file_priv->is_master) in drm_setmaster_ioctl()208 file_priv->is_master = 1; in drm_setmaster_ioctl()212 file_priv->is_master = 0; in drm_setmaster_ioctl()225 if (!file_priv->is_master) in drm_dropmaster_ioctl()235 file_priv->is_master = 0; in drm_dropmaster_ioctl()
285 priv->is_master = 1; in drm_open_helper()524 if (file_priv->is_master) { in drm_release()556 file_priv->is_master = 0; in drm_release()
118 if (!file_priv->is_master) { in drm_lock()
427 ((ioctl->flags & DRM_MASTER) && !file_priv->is_master) || in drm_ioctl()
365 if (is_master(r)) in recover_master_static()400 else if (!is_master(r) && in dlm_recover_masters()515 if (is_master(r)) { in dlm_recover_locks()697 if (is_master(r)) { in dlm_recover_rsbs()781 if (dlm_no_directory(ls) || !is_master(r)) { in dlm_clear_toss_list()
53 static inline int is_master(struct dlm_rsb *r) in is_master() function
1016 if (is_master(r)) in shrink_bucket()1798 DLM_ASSERT(is_master(r), dlm_dump_rsb(r);); in grant_pending_locks()4236 if (is_master(r)) in dlm_recover_waiters_post()4311 if (is_master(r)) in dlm_purge_locks()4354 if (is_master(r)) { in dlm_grant_after_purge()
589 int call_ast, is_master; in dlmunlock() local624 is_master = (res->owner == dlm->node_num); in dlmunlock()629 if (is_master) { in dlmunlock()661 if (is_master) { in dlmunlock()
57 DRM_DEBUG("is_master %d\n", file_priv->is_master ? 1 : 0); in psb_open()
199 uint16_t is_master:1; member
525 u8 is_master; /* Flag: is array master? */ member886 u8 is_master; /* Flag: array drive master? */ member
500 if (!(ha->hdr[i].is_arraydrv && ha->hdr[i].is_master)) in gdth_get_info()574 (ha->hdr[i].is_arraydrv && !ha->hdr[i].is_master)) in gdth_get_info()
1817 ha->hdr[j].is_master = alst->list[j].is_master; in gdth_search_drives()1828 ha->hdr[j].is_master = alst2->is_master; in gdth_search_drives()
437 int is_master; /* this file private is a master for a minor */ member