Searched refs:lockflags (Results 1 - 15 of 15) sorted by relevance

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_link.c144 int lockflags; local
170 lockflags = SFL_CATALOG | SFL_ATTRIBUTE;
173 lockflags |= SFL_BITMAP;
175 lockflags = hfs_systemfile_lock(hfsmp, lockflags, HFS_EXCLUSIVE_LOCK);
397 hfs_systemfile_unlock(hfsmp, lockflags);
429 int lockflags = 0; local
559 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
606 hfs_systemfile_unlock(hfsmp, lockflags);
607 lockflags
723 int lockflags = 0; local
962 int lockflags; local
1089 int lockflags; local
1114 int lockflags; local
[all...]
H A Dhfs_resize.c78 int lockflags = 0; local
216 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE | SFL_EXTENTS | SFL_BITMAP, HFS_EXCLUSIVE_LOCK);
466 if (lockflags) {
467 hfs_systemfile_unlock(hfsmp, lockflags);
468 lockflags = 0;
499 if (lockflags) {
500 hfs_systemfile_unlock(hfsmp, lockflags);
526 int lockflags = 0; local
628 lockflags = hfs_systemfile_lock(hfsmp, SFL_BITMAP, HFS_EXCLUSIVE_LOCK);
681 if (lockflags) {
1147 int lockflags; /* Locks that reclaim and split code should grab before modifying the extent record */ member in struct:hfs_reclaim_extent_info
2011 int lockflags = 0; local
2363 int lockflags; local
2564 int lockflags; local
2791 int *lockflags; local
2954 int lockflags = 0; local
3082 int lockflags; local
3383 int lockflags = 0; local
[all...]
H A Dhfs_readwrite.c309 int lockflags; local
524 lockflags = SFL_BITMAP;
526 lockflags |= SFL_EXTENTS;
527 lockflags = hfs_systemfile_lock(hfsmp, lockflags, HFS_EXCLUSIVE_LOCK);
536 hfs_systemfile_unlock(hfsmp, lockflags);
1100 int lockflags; local
1105 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
1110 hfs_systemfile_unlock(hfsmp, lockflags);
1750 int lockflags; local
2042 int lockflags = 0; local
2659 int lockflags = 0; local
2791 int lockflags = 0; local
2911 int lockflags = 0; local
3281 int lockflags; local
3694 int lockflags; local
3939 int lockflags; local
4933 int lockflags = 0; local
[all...]
H A Dhfs_lookup.c167 int lockflags; local
226 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
230 hfs_systemfile_unlock(hfsmp, lockflags);
541 int lockflags; local
586 lockflags = hfs_systemfile_lock(VTOHFS(dvp), SFL_CATALOG, HFS_SHARED_LOCK);
590 hfs_systemfile_unlock(VTOHFS(dvp), lockflags); local
H A Dhfs_btreeio.c392 int lockflags = 0; local
417 lockflags = SFL_BITMAP;
419 lockflags |= SFL_EXTENTS;
420 lockflags = hfs_systemfile_lock(vcb, lockflags, HFS_EXCLUSIVE_LOCK);
537 hfs_systemfile_unlock(vcb, lockflags);
538 lockflags = 0;
566 if (lockflags)
567 hfs_systemfile_unlock(vcb, lockflags);
H A Dhfs_xattr.c456 int lockflags = 0; local
505 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_SHARED_LOCK);
507 hfs_systemfile_unlock(hfsmp, lockflags);
565 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_SHARED_LOCK);
567 hfs_systemfile_unlock(hfsmp, lockflags);
633 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_SHARED_LOCK);
652 hfs_systemfile_unlock(hfsmp, lockflags);
1031 int lockflags = 0; local
1084 lockflags = hfs_systemfile_lock(hfsmp, SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK);
1280 if (lockflags) {
1339 int lockflags; local
1736 int lockflags; local
1973 int result, lockflags; local
2051 int lockflags; local
2477 int lockflags; local
2548 int lockflags; local
[all...]
H A Dhfs_vnops.c1306 int lockflags; local
1343 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
1345 hfs_systemfile_unlock(hfsmp, lockflags);
2011 int lockflags; local
2182 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS | SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK);
2235 hfs_systemfile_unlock(hfsmp, lockflags);
2593 int lockflags = 0; local
2655 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS | SFL_ATTRIBUTE,
2795 if (lockflags) {
2796 hfs_systemfile_unlock(hfsmp, lockflags);
3094 int lockflags; local
3138 int lockflags; local
3287 int lockflags; local
3724 int lockflags; local
4353 int lockflags; local
5464 int lockflags; local
5986 int lockflags; local
6112 int lockflags; local
6662 int lockflags; local
[all...]
H A Dhfs_vfsutils.c1648 int lockflags; local
1661 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
1663 hfs_systemfile_unlock(hfsmp, lockflags);
1698 int lockflags; local
1731 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK);
1733 hfs_systemfile_unlock(hfsmp, lockflags);
1737 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK);
1739 hfs_systemfile_unlock(hfsmp, lockflags);
1784 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_ATTRIBUTE | SFL_EXTENTS | SFL_BITMAP, HFS_EXCLUSIVE_LOCK);
1832 hfs_systemfile_unlock(hfsmp, lockflags);
3157 int lockflags; local
3465 int lockflags; local
3623 int lockflags; local
3663 int lockflags = 0; local
[all...]
H A Dhfs_search.c199 int lockflags; local
314 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
326 hfs_systemfile_unlock(hfsmp, lockflags);
328 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
351 hfs_systemfile_unlock(hfsmp, lockflags);
476 int lockflags; local
480 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
485 hfs_systemfile_unlock(hfsmp, lockflags);
H A Dhfs_cnode.c191 int lockflags; local
399 lockflags = 0;
426 lockflags = hfs_systemfile_lock (hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
431 hfs_systemfile_unlock (hfsmp, lockflags);
520 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_ATTRIBUTE, HFS_EXCLUSIVE_LOCK);
557 hfs_systemfile_unlock(hfsmp, lockflags);
1511 int lockflags; local
1521 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
1612 hfs_systemfile_unlock(hfsmp, lockflags);
H A Dhfs_vfsops.c563 int lockflags; local
571 lockflags = hfs_systemfile_lock(args->hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
573 hfs_systemfile_unlock(args->hfsmp, lockflags);
771 int lockflags; local
796 lockflags = hfs_systemfile_lock(args->hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
798 hfs_systemfile_unlock(args->hfsmp, lockflags);
2863 int lockflags; local
2895 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG | SFL_EXTENTS, HFS_EXCLUSIVE_LOCK);
2900 hfs_systemfile_unlock(hfsmp, lockflags);
2903 hfs_systemfile_unlock(hfsmp, lockflags);
3208 int lockflags; local
3305 int lockflags; local
4421 int lockflags; local
[all...]
H A Dhfs_catalog.c340 int lockflags = 0; local
344 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK);
348 if (lockflags)
349 hfs_systemfile_unlock(hfsmp, lockflags);
357 int lockflags = 0; local
360 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_EXCLUSIVE_LOCK);
364 if (lockflags)
365 hfs_systemfile_unlock(hfsmp, lockflags);
2059 int lockflags = 0; local
2081 lockflags
[all...]
H A Dhfs_attrlist.c210 int lockflags; local
318 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
323 hfs_systemfile_unlock(hfsmp, lockflags);
H A Dhfs_hotfiles.c1702 int lockflags; local
1713 lockflags = hfs_systemfile_lock(hfsmp, SFL_CATALOG, HFS_SHARED_LOCK);
1717 hfs_systemfile_unlock(hfsmp, lockflags);
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DFileExtentMapping.c367 int lockflags; local
386 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK);
426 hfs_systemfile_unlock(vcb, lockflags);
659 int lockflags; local
668 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK);
687 hfs_systemfile_unlock(vcb, lockflags);
730 int lockflags; local
734 lockflags = hfs_systemfile_lock(vcb, SFL_EXTENTS, HFS_EXCLUSIVE_LOCK);
736 hfs_systemfile_unlock(vcb, lockflags);
1602 int lockflags; local
1868 int lockflags; local
1976 int lockflags; local
2162 int lockflags; local
[all...]

Completed in 88 milliseconds