Lines Matching refs:inodedep

131 #define	IOSTARTED	0x000200 /* inodedep, pagedep, bmsafemap only */
140 #define UNLINKED 0x040000 /* inodedep has been unlinked. */
141 #define UNLINKNEXT 0x080000 /* inodedep has valid di_freelink */
142 #define UNLINKPREV 0x100000 /* inodedep is pointed at in the unlink list */
143 #define UNLINKONLIST 0x200000 /* inodedep is in the unlinked list on disk */
219 #define WK_INODEDEP(wk) ((struct inodedep *)(wk))
252 LIST_HEAD(inodedephd, inodedep);
302 * The "inodedep" structure tracks the set of dependencies associated
304 * (i.e., work requests that must be held until the inodedep's associated
310 * order, the inodedep maintains two lists. Delayed operations are
315 * inodedep structure is to track the status of block allocation within
323 * done), the "inodedep" structure is linked onto the buffer through
348 struct inodedep {
351 LIST_ENTRY(inodedep) id_hash; /* hashed lookup */
352 TAILQ_ENTRY(inodedep) id_unlinked; /* Unlinked but ref'd inodes */
357 LIST_ENTRY(inodedep) id_deps; /* bmsafemap's list of inodedep's */
401 struct inodedephd sm_inodedephd; /* inodedep deps */
402 struct inodedephd sm_inodedepwr; /* writing inodedep deps */
435 * An "allocdirect" structure is attached to an "inodedep" when a new block
437 * "inodedep". The worklist is linked to the buffer that holds the block.
448 * associated inodedep (pointed to by ad_inodedep) for processing after
456 * the inodedep id_bufwait list of its directory to await the inode
459 * and inodedep->id_pendinghd lists.
465 TAILQ_ENTRY(allocdirect) ad_next; /* inodedep's list of allocdirect's */
466 struct inodedep *ad_inodedep; /* associated inodedep */
545 * A "freefrag" structure is attached to an "inodedep" when a previously
564 * A "freeblks" structure is attached to an "inodedep" when the
646 * A "diradd" structure is linked to an "inodedep" id_inowait list when a
648 * by "inodedep". When the inode itself is written (either the initial
651 * is for a newly allocated inode, the "inodedep" structure is associated
740 LIST_ENTRY(dirrem) dm_inonext; /* inodedep's list of dirrem's */
762 * satisfied, the newdirblk structure is moved to the inodedep id_bufwait
765 * deleted from their pagedep->id_pendinghd and inodedep->id_pendinghd
784 * so they may easily be queued in-order on the inodedep.
789 TAILQ_ENTRY(inoref) if_deps; /* Links for inodedep. */
1030 LIST_HEAD(inodedep_hashhead, inodedep);
1052 struct inodedep_hashhead *sd_idhash; /* inodedep hash table */
1053 u_long sd_idhashsize; /* inodedep hash table size-1 */