Searched refs:hfs_lock (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_cnode.c | 87 err = hfs_lock (cp, HFS_EXCLUSIVE_LOCK); 126 err = hfs_lock (cp, HFS_SHARED_LOCK); 227 (void) hfs_lock(cp, HFS_FORCE_LOCK); 698 (void) hfs_lock(cp, HFS_FORCE_LOCK); 780 hfs_lock(cp, HFS_FORCE_LOCK); 799 hfs_lock(cp, HFS_FORCE_LOCK); 817 hfs_lock(cp, HFS_FORCE_LOCK); 855 (void) hfs_lock (cp, HFS_FORCE_LOCK); 1739 hfs_lock(struct cnode *cp, enum hfslocktype locktype) function 1751 panic("hfs_lock [all...] |
H A D | hfs_chash.c | 191 if (!skiplock && hfs_lock(cp, HFS_EXCLUSIVE_LOCK) != 0) { 355 hfs_lock(cp, HFS_FORCE_LOCK); 426 (void) hfs_lock(ncp, HFS_EXCLUSIVE_LOCK);
|
H A D | hfs_cprotect.c | 431 error = hfs_lock(cp, HFS_SHARED_LOCK); 519 if (hfs_lock(cp, HFS_EXCLUSIVE_LOCK)) { 604 if (hfs_lock(cp, HFS_EXCLUSIVE_LOCK)) { 714 if ((error = hfs_lock(cp, HFS_SHARED_LOCK))) { 762 if ((error = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) { 825 if ((error = hfs_lock(cp, HFS_SHARED_LOCK))) { 1561 hfs_lock(cp, HFS_FORCE_LOCK); 1599 hfs_lock (cp, HFS_FORCE_LOCK);
|
H A D | hfs_xattr.c | 135 if ((error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) { 186 if ((error = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) { 222 if ((error = hfs_lock(scp, HFS_EXCLUSIVE_LOCK))) { 296 if ((result = hfs_lock(cp, HFS_SHARED_LOCK))) { 338 if ((result = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) { 408 if ((result = hfs_lock(cp, HFS_SHARED_LOCK))) { 707 if ((result = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) { 806 if ((result = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) { 853 if ((result = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) { 899 result = hfs_lock(VTO [all...] |
H A D | hfs_lookup.c | 193 if (hfs_lock(VTOC(dvp), HFS_EXCLUSIVE_LOCK) != 0) { 504 hfs_lock(cp, HFS_FORCE_LOCK);
|
H A D | hfs_vnops.c | 260 if (!skiplock) hfs_lock(cp, HFS_SHARED_LOCK); 519 if ((error = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) 589 if ( hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK) != 0) 619 if (hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK) != 0) { 754 if ((error = hfs_lock(cp, HFS_EXCLUSIVE_LOCK))) 759 if ((error = hfs_lock(cp, HFS_SHARED_LOCK))) 1203 if ((error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) { 1222 if ((error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) 1683 if ((error = hfs_lock(VTOC(from_vp), HFS_EXCLUSIVE_LOCK))) { 2310 hfs_lock(c [all...] |
H A D | hfs_readwrite.c | 233 hfs_lock(cp, HFS_FORCE_LOCK); 441 if ( (retval = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) { 614 hfs_lock(cp, HFS_FORCE_LOCK); 763 hfs_lock(cp, HFS_FORCE_LOCK); 772 hfs_lock(cp, HFS_FORCE_LOCK); 784 hfs_lock(cp, HFS_FORCE_LOCK); 2089 error = hfs_lock (cp, HFS_EXCLUSIVE_LOCK); 2137 error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK); 2153 error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK); 2554 hfs_lock(VTO [all...] |
H A D | hfs_hotfiles.c | 471 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 618 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 988 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 1093 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 1302 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 1524 if (hfs_lock(VTOC(hfsmp->hfc_filevp), HFS_EXCLUSIVE_LOCK) != 0) { 1767 error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK); 1835 if ((error = hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK))) {
|
H A D | hfs_cnode.h | 386 int hfs_lock(struct cnode *, enum hfslocktype);
|
H A D | hfs_vfsutils.c | 886 (void)hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK); 1062 (void) hfs_lock(hfsmp->hfs_catalog_cp, locktype); 1089 (void) hfs_lock(hfsmp->hfs_attribute_cp, locktype); 1111 (void) hfs_lock(hfsmp->hfs_startup_cp, locktype); 1137 (void) hfs_lock(hfsmp->hfs_allocation_cp, HFS_EXCLUSIVE_LOCK); 1152 (void) hfs_lock(hfsmp->hfs_extents_cp, HFS_EXCLUSIVE_LOCK);
|
H A D | hfs_attrlist.c | 157 if ((error = hfs_lock(VTOC(dvp), HFS_EXCLUSIVE_LOCK))) { 387 (void) hfs_lock(VTOC(dvp), HFS_FORCE_LOCK);
|
H A D | hfs_vfsops.c | 2182 (void) hfs_lock(VTOC(hfsmp->hfs_startup_vp), HFS_EXCLUSIVE_LOCK); 2190 (void) hfs_lock(VTOC(hfsmp->hfs_attribute_vp), HFS_EXCLUSIVE_LOCK); 2197 (void) hfs_lock(VTOC(hfsmp->hfs_catalog_vp), HFS_EXCLUSIVE_LOCK); 2203 (void) hfs_lock(VTOC(hfsmp->hfs_extents_vp), HFS_EXCLUSIVE_LOCK); 2210 (void) hfs_lock(VTOC(hfsmp->hfs_allocation_vp), HFS_EXCLUSIVE_LOCK); 2547 if (hfs_lock(VTOC(vp), HFS_EXCLUSIVE_LOCK) != 0) { 2630 (void) hfs_lock(VTOC(btvp), HFS_EXCLUSIVE_LOCK); 3197 (hfs_lock(VTOC(*vpp), HFS_EXCLUSIVE_LOCK) == 0)) { 5951 error = hfs_lock(cp, HFS_FORCE_LOCK); 7598 if ((error = hfs_lock(c [all...] |
Completed in 123 milliseconds