Searched refs:C_DELETED (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_chash.c204 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
248 * the hash and it is marked C_NOEXISTS or C_DELETED. However, if the CNID
266 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
287 * If the cnode is C_DELETED, then return NULL since that
290 * If the cnode is C_DELETED but also marked C_RENAMED, then that means
368 if ((cp->c_flag & (C_NOEXISTS | C_DELETED)) && !wantrsrc) {
H A Dhfs_cnode.c66 return ((cp->c_flag & (C_DELETED | C_NOEXISTS)) ? ENOENT : 0);
162 * conditions will fail, since they apply generally to cnodes still marked with C_DELETED.
222 (cp->c_flag & C_DELETED) &&
241 (!ISSET(cp->c_flag, C_DELETED)) &&
312 (cp->c_flag & C_DELETED) &&
358 * ones. The C_DELETED check above makes things much simpler.
463 (cp->c_flag & C_DELETED) &&
475 if ((cp->c_flag & C_DELETED) && (forkcount <= 1)) {
554 cp->c_flag &= ~C_DELETED;
702 * files' blocks from being in use, and move the cnode from C_DELETED t
[all...]
H A Dhfs_vnops.c2006 if (from_cp->c_flag & (C_DELETED | C_NOEXISTS)) {
2011 if (to_cp->c_flag & (C_DELETED | C_NOEXISTS)) {
2434 !ISSET(cp->c_flag, C_DELETED | C_NOEXISTS)) {
2616 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) {
2650 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
2665 * Otherwise, we can get into a weird old mess where the directory has C_DELETED,
2684 * directory and it will be only tagged with C_DELETED (as opposed to C_NOEXISTS).
2920 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) {
3030 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
3107 cp->c_flag |= C_DELETED;
[all...]
H A Dhfs_link.c488 if (fdcp->c_flag & (C_NOEXISTS | C_DELETED)) {
494 if (tdcp->c_flag & (C_NOEXISTS | C_DELETED)) {
510 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
810 cp->c_flag |= C_DELETED;
H A Dhfs_cnode.h213 #define C_DELETED 0x00040 /* CNode has been marked to be deleted */ macro
231 #define C_RENAMED 0x10000 /* cnode was deleted as part of rename; C_DELETED should also be set */
H A Dhfs_lookup.c273 !(ISSET(dcp->c_flag, C_DELETED | C_NOEXISTS))) {
H A Dhfs_xattr.c348 if ((cp->c_flag & C_DELETED) && (namelen == 0)) {
830 if ((cp->c_flag & C_DELETED) && (namelen == 0)) {
H A Dhfs_hotfiles.c812 (cp->c_flag & (C_DELETED | C_NOEXISTS)) ||
H A Dhfs_readwrite.c3751 * marked C_DELETED, it will call ubc_setsize(0). As a result, the unmount
3760 * marked C_DELETED, then just go ahead and do the page in without taking
3766 if (cp->c_flag & C_DELETED) {

Completed in 89 milliseconds