Lines Matching refs:locked
117 int falloc_locked(proc_t p, struct fileproc **resultfp, int *resultfd, vfs_context_t ctx, int locked);
235 * Description: Unlock the lock previously locked by a call to proc_fdlock()
2881 * locked !0 if the caller holds the
2890 * Locks: If the argument 'locked' is non-zero, then the caller is
2895 fp_lookup(proc_t p, int fd, struct fileproc **resultfp, int locked)
2900 if (!locked)
2905 if (!locked)
2913 if (!locked)
3002 * locked flag to internally take and
3010 * the supplied process if 'locked' is non-zero, and assumes that
3011 * the caller already holds this lock if 'locked' is non-zero.
3016 fp_drop(proc_t p, int fd, struct fileproc *fp, int locked)
3021 if (!locked)
3027 if (!locked)
3037 if (!locked)
3333 * locked Flag to indicate whether the
3347 * Locks: If the parameter 'locked' is zero, this function takes and
3351 * Notes: If you intend to use a non-zero 'locked' parameter, use the
3360 vfs_context_t ctx, int locked)
3366 if (!locked)
3369 if (!locked)
3374 if (!locked)
3382 if (!locked)
3398 if (locked)
3405 if (locked)
3443 if (!locked)
3861 * then fg must eith be locked (FHASLOCK) or must not have a