Searched refs:cw (Results 1 – 3 of 3) sorted by relevance
/fs/ceph/ |
D | debugfs.c | 142 struct cap_wait *cw; in caps_show() local 175 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show() 176 seq_printf(s, "%-13d0x%-17lx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show() 177 ceph_cap_string(cw->need), in caps_show() 178 ceph_cap_string(cw->want)); in caps_show()
|
D | caps.c | 2794 struct cap_wait cw; in ceph_get_caps() local 2797 cw.ino = inode->i_ino; in ceph_get_caps() 2798 cw.tgid = current->tgid; in ceph_get_caps() 2799 cw.need = need; in ceph_get_caps() 2800 cw.want = want; in ceph_get_caps() 2803 list_add(&cw.list, &mdsc->cap_wait_list); in ceph_get_caps() 2821 list_del(&cw.list); in ceph_get_caps()
|
/fs/dlm/ |
D | lock.c | 2506 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument 2561 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert() 2562 *cw = 1; in grant_pending_convert() 2575 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument 2588 *cw = 1; in grant_pending_wait() 2600 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument 2602 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast() 2618 int cw = 0; in grant_pending_locks() local 2626 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks() 2627 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks() [all …]
|