/macosx-10.10/ntfs-84/kext/ |
H A D | ntfs_runlist.c | 203 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) 209 if ((dst->lcn >= 0) && (src->lcn >= 0) && 210 ((dst->lcn + dst->length) == src->lcn)) 213 if ((dst->lcn == LCN_HOLE) && (src->lcn == LCN_HOLE)) 332 if (d_elements - tail > 0 && d_rl[marker].lcn == LCN_ENOENT) 423 if (d_rl[marker].lcn 870 LCN lcn; /* Current lcn. */ local 2287 LCN lcn; local 2397 LCN lcn; local [all...] |
H A D | ntfs_lcnalloc.c | 71 * @start_lcn: starting lcn at which to allocate the clusters (or -1) 108 * access to the lcn bitmap in portions of up to 8192 bytes at a time, so we 135 * Locking: - The volume lcn bitmap must be unlocked on entry and is unlocked 137 * - This function takes the volume lcn bitmap lock for writing and 147 LCN zone_start, zone_end, bmp_pos, bmp_initial_pos, last_read_pos, lcn; local 315 lcn = bmp_pos & 7; 317 ntfs_debug("Before inner while loop: bsize %d, lcn 0x%llx, " 319 (unsigned long long)lcn, 322 while (lcn < bsize && lcn [all...] |
H A D | ntfs_debug.c | 268 LCN lcn = rl[u].lcn; local 270 if (lcn < (LCN)0) { 271 int index = -lcn - 1; 283 (unsigned long long)rl[u].lcn,
|
H A D | ntfs_compress.c | 104 LCN lcn; local 127 lcn = ntfs_rl_vcn_to_lcn(rl, vcn, &clusters); 134 if (lcn == LCN_HOLE) { 150 if (lcn >= 0) { 160 lcn = LCN_RL_NOT_MAPPED; 169 if (!is_retry && lcn == LCN_RL_NOT_MAPPED) { 186 ntfs_error(ni->vol->mp, "Failed (error %d, lcn %lld).", ret, 187 (long long)lcn);
|
H A D | ntfs_runlist.h | 50 * ntfs_rl_element - in memory vcn to lcn mapping array element 52 * @lcn: starting lcn of the current array element 57 * When lcn == -1 this means that the count vcns starting at vcn are not 60 typedef struct { /* In memory vcn to lcn mapping structure element. */ 62 LCN lcn; /* lcn = Starting logical cluster number. */ member in struct:__anon11432 67 * ntfs_runlist - in memory vcn to lcn mapping array including a read/write lock 132 * be read in before the real lcn can be determined
|
H A D | ntfs_attr.c | 402 * ntfs_attr_vcn_to_lcn_nolock - convert a vcn into a lcn given an ntfs inode 410 * number (lcn). 413 * extent containing the @vcn and the vcn to lcn conversion is retried. 419 * the number of contiguous clusters after the returned lcn in *@clusters. 438 LCN lcn; local 455 lcn = LCN_ENOENT; 461 lcn = LCN_EIO; 464 /* Convert vcn to lcn. If that fails map the runlist and retry once. */ 465 lcn = ntfs_rl_vcn_to_lcn(ni->rl.rl, vcn, clusters); 466 if (lcn > [all...] |
H A D | ntfs_mft.c | 807 LCN lcn; local 827 * Determine the last lcn of the mft bitmap. The allocated size of the 837 if (err || !rl || !rl->length || rl->lcn < 0 || rl[1].length || 846 lcn = rl->lcn + rl->length; 847 ntfs_debug("Last lcn of mft bitmap attribute is 0x%llx.", 848 (unsigned long long)lcn); 863 ll = lcn >> 3; 871 ntfs_error(vol->mp, "Failed to read from lcn bitmap."); 875 tb = 1 << ((unsigned)lcn 1274 LCN lcn; local [all...] |
H A D | ntfs_attr_list.c | 1333 LCN lcn; local 1754 lcn = -1; 1763 while (rl->lcn < 0 && rl > base_ni->attr_list_rl.rl) 1765 if (rl->lcn >= 0) 1766 lcn = rl->lcn + rl->length; 1777 vol->cluster_size_shift, lcn, DATA_ZONE, TRUE,
|
H A D | ntfs_vnops.c | 10244 LCN lcn; local 10379 * Convert the vcn to the corresponding lcn and obtain the number of 10383 lcn = ntfs_attr_vcn_to_lcn_nolock(ni, vcn, FALSE, 10385 if (lcn < LCN_HOLE) { 10390 switch (lcn) { 10415 if (lcn < 0) { 10466 /* The vcn was mapped successfully to a physical lcn, return it. */ 10467 *a->a_bpn = ((lcn << vol->cluster_size_shift) + vcn_ofs) >>
|
H A D | ntfs_vfsops.c | 593 * Setup the cluster (lcn) and mft allocators to the starting values. 1488 if (ni->rl.rl->lcn != vol->mftmirr_lcn ||
|
/macosx-10.10/ntfs-84/util/ |
H A D | ntfs.util.c | 71 bits in lcn bitmap. */ 79 typedef struct { /* In memory vcn to lcn mapping structure element. */ 81 LCN lcn; /* lcn = Starting logical cluster number. */ member in struct:__anon11447 411 LCN lcn; /* Current lcn. */ local 425 /* Start at vcn = lowest_vcn and lcn 0. */ 427 lcn = 0; 446 rl->lcn = LCN_RL_NOT_MAPPED; 502 * There might be no lcn chang 716 LCN lcn; local [all...] |
/macosx-10.10/tcl-105/tcl/tcl/generic/ |
H A D | tclIO.c | 10552 int explicitResult, numOptions, lc, lcn; 10620 lcn = numOptions; 10622 lcn ++; 10625 lcn += 2; 10628 lcn += 2; 10631 lvn = (Tcl_Obj **) ckalloc(lcn * sizeof(Tcl_Obj *)); 10429 int explicitResult, numOptions, lc, lcn; local
|