/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | debug.c | 59 LCN lcn = (rl + i)->lcn; local 61 if (lcn < (LCN)0) { 62 int idx = -lcn - 1; 72 (long long)rl[i].vcn, (long long)rl[i].lcn,
|
H A D | lcnalloc.c | 147 * @start_lcn: starting lcn at which to allocate the clusters (or -1 if none) 171 * approach and from the fact that we have access to the lcn bitmap via up to 186 LCN last_read_pos, lcn; local 205 ntfs_log_perror("%s: vcn: %lld, count: %lld, lcn: %lld", 216 rl[0].lcn = LCN_RL_NOT_MAPPED; 278 lcn = bmp_pos & 7; 282 while (lcn < buf_size) { 283 byte = buf + (lcn >> 3); 284 bit = 1 << (lcn & 7); 291 lcn [all...] |
H A D | runlist.c | 133 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) 139 if ((dst->lcn >= 0) && (src->lcn >= 0) && 140 ((dst->lcn + dst->length) == src->lcn)) 143 if ((dst->lcn == LCN_HOLE) && (src->lcn == LCN_HOLE)) 224 if (dst[marker].lcn == LCN_ENOENT) 310 if (dst[marker].lcn 749 LCN lcn; /* Current lcn. */ local 1754 LCN lcn = rl->lcn; local [all...] |
H A D | device.c | 393 * @lcn: starting logical cluster number 397 * Read @count ntfs clusters starting at logical cluster number @lcn from 401 s64 ntfs_cluster_read(const ntfs_volume *vol, const s64 lcn, const s64 count, argument 406 if (!vol || lcn < 0 || count < 0) { 410 if (vol->nr_clusters < lcn + count) { 414 (long long)lcn + count); 417 br = ntfs_pread(vol->dev, lcn << vol->cluster_size_bits, 429 * @lcn: starting logical cluster number 433 * Write @count ntfs clusters starting at logical cluster number @lcn from 437 s64 ntfs_cluster_write(const ntfs_volume *vol, const s64 lcn, argument [all...] |
H A D | compress.c | 280 if (rl->lcn < LCN_HOLE || !rl->length) { 283 if (!rl || rl->lcn < LCN_HOLE || !rl->length) 293 if (rl->lcn == LCN_HOLE) 417 if (!rl || rl->lcn < LCN_HOLE) { 426 if (rl->lcn == LCN_HOLE) {
|
H A D | mft.c | 643 LCN lcn; local 658 * Determine the last lcn of the mft bitmap. The allocated size of the 663 if (!rl || !rl->length || rl->lcn < 0) { 670 lcn = rl->lcn + rl->length; 672 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE); 804 lcn = rl->lcn; 805 rl->lcn = rl[1].lcn; 964 LCN lcn; local [all...] |
H A D | attrib.c | 217 * FIXME: If compressed file: Only read if lcn != -1. 227 r = ntfs_pread(vol->dev, rl[i].lcn << 254 * FIXME: If compressed file: Only read if lcn != -1. 263 r = ntfs_pread(vol->dev, rl[i].lcn << vol->cluster_size_bits, 513 LCN lcn; local 519 lcn = ntfs_rl_vcn_to_lcn(na->rl, vcn); 520 if (lcn >= 0 || lcn == LCN_HOLE || lcn == LCN_ENOENT) 652 * ntfs_attr_vcn_to_lcn - convert a vcn into a lcn give 674 LCN lcn; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/ |
H A D | runlist.c | 162 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) 168 if ((dst->lcn >= 0) && (src->lcn >= 0) && 169 ((dst->lcn + dst->length) == src->lcn)) 172 if ((dst->lcn == LCN_HOLE) && (src->lcn == LCN_HOLE)) 255 if (dst[marker].lcn == LCN_ENOENT) 341 if (dst[marker].lcn 719 LCN lcn; /* Current lcn. */ local [all...] |
H A D | lcnalloc.c | 47 * Locking: - The volume lcn bitmap must be locked for writing on entry and is 62 if (rl->lcn < 0) 64 err = ntfs_bitmap_clear_run(lcnbmp_vi, rl->lcn, rl->length); 77 LCN zone_start, zone_end, bmp_pos, bmp_initial_pos, last_read_pos, lcn; local 224 lcn = bmp_pos & 7; 226 ntfs_debug("Before inner while loop: buf_size %i, lcn 0x%llx, " 228 (unsigned long long)lcn, 230 while (lcn < buf_size && lcn + bmp_pos < zone_end) { 231 byte = buf + (lcn >> [all...] |
H A D | debug.c | 159 LCN lcn = (rl + i)->lcn; local 161 if (lcn < (LCN)0) { 162 int index = -lcn - 1; 174 (long long)(rl + i)->lcn,
|
H A D | aops.c | 184 LCN lcn; local 271 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); 273 lcn = LCN_RL_NOT_MAPPED; 275 if (lcn >= 0) { 277 bh->b_blocknr = ((lcn << vol->cluster_size_bits) 289 if (lcn == LCN_HOLE) 292 if (!is_retry && lcn == LCN_RL_NOT_MAPPED) { 310 if (err == -ENOENT || lcn == LCN_ENOENT) { 541 LCN lcn; local 698 lcn 988 LCN lcn; local [all...] |
H A D | attrib.c | 314 * ntfs_attr_vcn_to_lcn_nolock - convert a vcn into a lcn given an ntfs inode 321 * number (lcn). 324 * extent containing the @vcn and the vcn to lcn conversion is retried. 346 LCN lcn; local 365 /* Convert vcn to lcn. If that fails map the runlist and retry once. */ 366 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); 367 if (likely(lcn >= LCN_HOLE)) { 368 ntfs_debug("Done, lcn 0x%llx.", (long long)lcn); 369 return lcn; 715 LCN lcn; local [all...] |
H A D | file.c | 496 LCN lcn; local 549 vcn = lcn = -1; 624 * clusters, @lcn is the device cluster corresponding to @vcn, 625 * and @lcn_block is the block number corresponding to @lcn. 630 BUG_ON(lcn < 0); 762 lcn = ntfs_rl_vcn_to_lcn(rl, bh_cpos); 763 if (likely(lcn >= 0)) { 771 lcn_block = lcn << (vol->cluster_size_bits - 792 lcn = LCN_RL_NOT_MAPPED; 797 if (unlikely(lcn ! 1800 LCN lcn; local [all...] |
H A D | runlist.h | 32 * runlist_element - in memory vcn to lcn mapping array element 34 * @lcn: starting lcn of the current array element 39 * When lcn == -1 this means that the count vcns starting at vcn are not 42 typedef struct { /* In memory vcn to lcn mapping structure element. */ 44 LCN lcn; /* lcn = Starting logical cluster number. */ member in struct:__anon7596 49 * runlist - in memory vcn to lcn mapping array including a read/write lock
|
H A D | compress.c | 459 LCN lcn; local 575 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); 577 lcn = LCN_RL_NOT_MAPPED; 578 ntfs_debug("Reading vcn = 0x%llx, lcn = 0x%llx.", 580 (unsigned long long)lcn); 581 if (lcn < 0) { 586 if (lcn == LCN_HOLE) 588 if (is_retry || lcn != LCN_RL_NOT_MAPPED) 600 block = lcn << vol->cluster_size_bits >> block_size_bits; 601 /* Read the lcn fro [all...] |
H A D | mft.c | 529 LCN lcn; local 551 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); 552 /* For $MFTMirr, only lcn >= 0 is a successful remap. */ 553 if (likely(lcn >= 0)) { 555 bh->b_blocknr = ((lcn << 566 (long long)lcn); 718 LCN lcn; local 735 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); 736 /* For $MFT, only lcn >= 0 is a successful remap. */ 737 if (likely(lcn > 1274 LCN lcn; local 1710 LCN lcn; local [all...] |
H A D | super.c | 894 * Setup the cluster (lcn) and mft allocators to the starting values. 1128 rl2[0].lcn = vol->mftmirr_lcn; 1132 rl2[1].lcn = LCN_ENOENT; 1144 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || 1705 * The lcn and mft bitmap inodes are NTFS-internal inodes with
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/wan/ |
H A D | cycx_x25.c | 113 s16 lcn; /* logical channel number/conn.req.key*/ member in struct:cycx_x25_channel 170 cycx_x25_send(struct cycx_device *card, u8 link, u8 lcn, u8 bitm, 175 u8 lcn); 197 s16 lcn); 423 s16 lcn = dec_to_uint(conf->addr, 0); local 425 if (lcn >= card->u.x.lo_pvc && lcn <= card->u.x.hi_pvc) 426 chan->lcn = lcn; 430 wandev->name, lcn, cha 730 u8 lcn; local 764 u8 bitm, lcn; local 852 u8 lcn, sizeloc, sizerem; local 893 u8 lcn, key; local 921 u8 lcn; local 943 u8 lcn; local 1243 cycx_x25_disconnect_response(struct cycx_device *card, u8 link, u8 lcn) argument 1257 x25_clear_call(struct cycx_device *card, u8 link, u8 lcn, u8 cause, u8 diagn) argument 1273 cycx_x25_send(struct cycx_device *card, u8 link, u8 lcn, u8 bitm, int len, void *buf) argument 1286 cycx_x25_get_dev_by_lcn(struct wan_device *wandev, s16 lcn) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/ |
H A D | if_wanpipe.h | 47 unsigned short lcn; member in struct:__anon9873 110 unsigned short lcn; /* Binded LCN */ member in struct:wanpipe_opt
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/ |
H A D | runlist.h | 36 * struct _runlist_element - in memory vcn to lcn mapping array element. 38 * @lcn: starting lcn of the current array element 43 * When lcn == -1 this means that the count vcns starting at vcn are not 46 struct _runlist_element {/* In memory vcn to lcn mapping structure element. */ 48 LCN lcn; /* lcn = Starting logical cluster number. */ member in struct:_runlist_element
|
H A D | device.h | 116 extern s64 ntfs_cluster_read(const ntfs_volume *vol, const s64 lcn, 118 extern s64 ntfs_cluster_write(const ntfs_volume *vol, const s64 lcn,
|
H A D | logfile.h | 386 LCN lcn; member in struct:__anon1344::__anon1345
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/src/ |
H A D | ntfs-3g.c | 1328 LCN lcn; local 1358 lcn = ntfs_rl_vcn_to_lcn(na->rl, *idx / cl_per_bl); 1359 *idx = (lcn > 0) ? lcn * cl_per_bl + *idx % cl_per_bl : 0;
|