Lines Matching refs:xop
29 struct plock_op xop; member
106 struct plock_xop *xop; in dlm_posix_lock() local
113 xop = kzalloc(sizeof(*xop), GFP_NOFS); in dlm_posix_lock()
114 if (!xop) { in dlm_posix_lock()
119 op = &xop->xop; in dlm_posix_lock()
132 xop->callback = fl->fl_lmops->lm_grant; in dlm_posix_lock()
133 locks_init_lock(&xop->flc); in dlm_posix_lock()
134 locks_copy_lock(&xop->flc, fl); in dlm_posix_lock()
135 xop->fl = fl; in dlm_posix_lock()
136 xop->file = file; in dlm_posix_lock()
139 xop->callback = NULL; in dlm_posix_lock()
144 if (xop->callback == NULL) { in dlm_posix_lock()
152 kfree(xop); in dlm_posix_lock()
177 kfree(xop); in dlm_posix_lock()
191 struct plock_xop *xop = (struct plock_xop *)op; in dlm_plock_callback() local
203 file = xop->file; in dlm_plock_callback()
204 flc = &xop->flc; in dlm_plock_callback()
205 fl = xop->fl; in dlm_plock_callback()
206 notify = xop->callback; in dlm_plock_callback()
237 kfree(xop); in dlm_plock_callback()
439 struct plock_xop *xop = (struct plock_xop *)op; in dev_write() local
442 if (xop->callback) in dev_write()