Lines Matching +full:parent +full:- +full:locked
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2001 Dag-Erling Smørgrav
77 #define PFS_PROCDEP 0x0010 /* process-dependent */
113 * Called with proc locked
127 * Called with proc locked
139 * Called with proc locked
152 * Called with proc locked
166 * Last-close callback
167 * Called with proc locked
209 * - Fields marked (o) are protected by the node's own mutex.
210 * - Fields marked (p) are protected by the node's parent's mutex.
211 * - Remaining fields are not protected by any lock and are assumed to be
215 * as its parent's (e.g. when adding or removing nodes to a directory),
216 * the parent's mutex must always be acquired first. Unfortunately, this
258 int pfs_create_dir (struct pfs_node *parent, struct pfs_node **opn,
262 int pfs_create_file (struct pfs_node *parent, struct pfs_node **opn,
266 int pfs_create_link (struct pfs_node *parent, struct pfs_node **opn,
270 struct pfs_node *pfs_find_node (struct pfs_node *parent, const char *name);