/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_link.c | 144 int lockflags; local 170 lockflags = SFL_CATALOG | SFL_ATTRIBUTE; 173 lockflags |= SFL_BITMAP; 175 lockflags = hfs_systemfile_lock(hfsmp, lockflags, HFS_EXCLUSIVE_LOCK); 382 hfs_systemfile_unlock(hfsmp, lockflags); 414 int lockflags = 0; local 531 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 578 hfs_systemfile_unlock(hfsmp, lockflags); 579 lockflags 684 int lockflags = 0; local 908 int lockflags; local 1026 int lockflags; local [all...] |
H A D | hfs_lookup.c | 167 int lockflags; local 221 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 225 hfs_systemfile_unlock(hfsmp, lockflags); 509 int lockflags; local 542 lockflags = hfs_systemfile_lock(VTOHFS(dvp), SFL_CATALOG, HFS_SHARED_LOCK); 546 hfs_systemfile_unlock(VTOHFS(dvp), lockflags); local
|
H A D | hfs_readwrite.c | 287 int lockflags; local 495 lockflags = SFL_BITMAP; 497 lockflags |= SFL_EXTENTS; 498 lockflags = hfs_systemfile_lock(hfsmp, lockflags, HFS_EXCLUSIVE_LOCK); 507 hfs_systemfile_unlock(hfsmp, lockflags); 1073 int lockflags; local 1078 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 1083 hfs_systemfile_unlock(hfsmp, lockflags); 1894 int lockflags local 2394 int lockflags = 0; local 2514 int lockflags = 0; local 2851 int lockflags; local 3242 int lockflags; local 3456 int lockflags; local 4388 int lockflags = 0; local [all...] |
H A D | hfs_btreeio.c | 367 int lockflags = 0; local 392 lockflags = SFL_BITMAP; 394 lockflags |= SFL_EXTENTS; 395 lockflags = hfs_systemfile_lock(vcb, lockflags, HFS_EXCLUSIVE_LOCK); 512 hfs_systemfile_unlock(vcb, lockflags); 513 lockflags = 0; 541 if (lockflags) 542 hfs_systemfile_unlock(vcb, lockflags);
|
H A D | hfs_vnops.c | 1029 int lockflags; local 1065 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 1067 hfs_systemfile_unlock(hfsmp, lockflags); 1625 int lockflags; local 1755 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS | SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK); 1782 hfs_systemfile_unlock(hfsmp, lockflags); 1995 int lockflags = 0; local 2086 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS | SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK); 2091 hfs_systemfile_unlock(hfsmp, lockflags); 2097 hfs_systemfile_unlock(hfsmp, lockflags); 2473 int lockflags; local 2517 int lockflags; local 2640 int lockflags; local 3019 int lockflags; local 3627 int lockflags; local 4516 int lockflags; local 4931 int lockflags; local 5076 int lockflags; local 5550 int lockflags; local [all...] |
H A D | hfs_xattr.c | 448 int lockflags = 0; local 499 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_SHARED_LOCK); 501 hfs_systemfile_unlock(hfsmp, lockflags); 589 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_SHARED_LOCK); 608 hfs_systemfile_unlock(hfsmp, lockflags); 952 int lockflags = 0; local 1006 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK); 1204 if (lockflags) { 1205 hfs_systemfile_unlock(hfsmp, lockflags); 1263 int lockflags; local 1651 int lockflags; local 1878 int result, lockflags; local 1956 int lockflags; local 2381 int lockflags; local 2441 int lockflags; local [all...] |
H A D | hfs_vfsops.c | 602 int lockflags; local 610 lockflags = hfs_systemfile_lock(args->hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 612 hfs_systemfile_unlock(args->hfsmp, lockflags); 801 int lockflags; local 826 lockflags = hfs_systemfile_lock(args->hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 828 hfs_systemfile_unlock(args->hfsmp, lockflags); 2915 int lockflags; local 2939 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS, HFS_EXCLUSIVE_LOCK); 2944 hfs_systemfile_unlock(hfsmp, lockflags); 2947 hfs_systemfile_unlock(hfsmp, lockflags); 3180 int lockflags; local 3277 int lockflags; local 3321 int lockflags; local 3976 int lockflags = 0; local 4408 int lockflags = 0; local 5026 int lockflags; /* Locks that reclaim and split code should grab before modifying the extent record */ member in struct:hfs_reclaim_extent_info 5869 int lockflags = 0; local 6221 int lockflags; local 6422 int lockflags; local 6646 int *lockflags; local 6809 int lockflags = 0; local 6937 int lockflags; local 7224 int lockflags = 0; local 7570 int lockflags; local [all...] |
H A D | hfs_vfsutils.c | 1340 int lockflags; local 1353 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 1355 hfs_systemfile_unlock(hfsmp, lockflags); 1390 int lockflags; local 1423 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK); 1425 hfs_systemfile_unlock(hfsmp, lockflags); 1429 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK); 1431 hfs_systemfile_unlock(hfsmp, lockflags); 1476 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_ATTRIBUTE | SFL_EXTENTS | SFL_BITMAP, HFS_EXCLUSIVE_LOCK); 1525 hfs_systemfile_unlock(hfsmp, lockflags); 2789 int lockflags; local 3034 int lockflags; local [all...] |
H A D | hfs_cnode.c | 189 int lockflags; local 379 lockflags = 0; 406 lockflags = hfs_systemfile_lock (hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 411 hfs_systemfile_unlock (hfsmp, lockflags); 506 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK); 542 hfs_systemfile_unlock(hfsmp, lockflags); 1461 int lockflags; local 1471 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 1562 hfs_systemfile_unlock(hfsmp, lockflags);
|
H A D | hfs_search.c | 198 int lockflags; local 304 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 316 hfs_systemfile_unlock(hfsmp, lockflags); 318 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 341 hfs_systemfile_unlock(hfsmp, lockflags); 466 int lockflags; local 470 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 475 hfs_systemfile_unlock(hfsmp, lockflags);
|
H A D | hfs_catalog.c | 144 int lockflags = 0; local 148 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK); 152 if (lockflags) 153 hfs_systemfile_unlock(hfsmp, lockflags); 161 int lockflags = 0; local 164 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK); 168 if (lockflags) 169 hfs_systemfile_unlock(hfsmp, lockflags); 1828 int lockflags = 0; local 1850 lockflags [all...] |
H A D | hfs_attrlist.c | 119 int lockflags; local 225 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 230 hfs_systemfile_unlock(hfsmp, lockflags);
|
H A D | hfs_hotfiles.c | 1687 int lockflags; local 1698 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK); 1702 hfs_systemfile_unlock(hfsmp, lockflags);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 360 int lockflags; local 379 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK); 415 hfs_systemfile_unlock(vcb, lockflags); 644 int lockflags; local 653 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK); 672 hfs_systemfile_unlock(vcb, lockflags); 715 int lockflags; local 719 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK); 721 hfs_systemfile_unlock(vcb, lockflags); 1543 int lockflags; local 1808 int lockflags; local 1916 int lockflags; local 2096 int lockflags; local [all...] |