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

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_chash.c200 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
244 * the hash and it is marked C_NOEXISTS or C_DELETED. However, if the CNID
262 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
285 * If the cnode is C_DELETED, then return NULL since that
288 * If the cnode is C_DELETED but also marked C_RENAMED, then that means
366 if ((cp->c_flag & (C_NOEXISTS | C_DELETED)) && !wantrsrc) {
H A Dhfs_cnode.c68 return ((cp->c_flag & (C_DELETED | C_NOEXISTS)) ? ENOENT : 0);
164 * conditions will fail, since they apply generally to cnodes still marked with C_DELETED.
224 (cp->c_flag & C_DELETED) &&
243 (!ISSET(cp->c_flag, C_DELETED)) &&
314 (cp->c_flag & C_DELETED) &&
369 * ones. The C_DELETED check above makes things much simpler.
477 (cp->c_flag & C_DELETED) &&
489 if ((cp->c_flag & C_DELETED) && (forkcount <= 1)) {
569 cp->c_flag &= ~C_DELETED;
606 ISSET(cp->c_flag, C_DELETED)) {
[all...]
H A Dhfs_vnops.c2598 if (ISSET(from_cp->c_flag, C_DELETED | C_NOEXISTS)
2599 || ISSET(to_cp->c_flag, C_DELETED | C_NOEXISTS)) {
3055 !ISSET(cp->c_flag, C_DELETED | C_NOEXISTS)) {
3237 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) {
3297 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
3312 * Otherwise, we can get into a weird old mess where the directory has C_DELETED,
3331 * directory and it will be only tagged with C_DELETED (as opposed to C_NOEXISTS).
3611 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) {
3735 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
3812 cp->c_flag |= C_DELETED;
[all...]
H A Dhfs_cnode.h229 #define C_DELETED 0x0000040 /* CNode has been marked to be deleted */ macro
247 #define C_RENAMED 0x0010000 /* cnode was deleted as part of rename; C_DELETED should also be set */
H A Dhfs_link.c516 if (fdcp->c_flag & (C_NOEXISTS | C_DELETED)) {
522 if (tdcp->c_flag & (C_NOEXISTS | C_DELETED)) {
538 if (cp->c_flag & (C_NOEXISTS | C_DELETED)) {
850 cp->c_flag |= C_DELETED;
H A Dhfs_lookup.c294 !(ISSET(dcp->c_flag, C_DELETED | C_NOEXISTS))) {
H A Dhfs_xattr.c341 if ((cp->c_flag & C_DELETED) && (namelen == 0)) {
897 if ((cp->c_flag & C_DELETED) && (namelen == 0)) {
H A Dhfs_hotfiles.c820 (cp->c_flag & (C_DELETED | C_NOEXISTS)) ||
H A Dhfs_readwrite.c4261 * marked C_DELETED, it will call ubc_setsize(0). As a result, the unmount
4270 * marked C_DELETED, then just go ahead and do the page in without taking
4276 if (cp->c_flag & C_DELETED) {

Completed in 60 milliseconds