/linux-3.4.99/fs/ntfs/ |
D | runlist.c | 162 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) in ntfs_are_rl_mergeable() 168 if ((dst->lcn >= 0) && (src->lcn >= 0) && in ntfs_are_rl_mergeable() 169 ((dst->lcn + dst->length) == src->lcn)) in ntfs_are_rl_mergeable() 172 if ((dst->lcn == LCN_HOLE) && (src->lcn == LCN_HOLE)) in ntfs_are_rl_mergeable() 255 if (dst[marker].lcn == LCN_ENOENT) in ntfs_rl_append() 341 if (dst[marker].lcn == LCN_HOLE || dst[marker].lcn == LCN_RL_NOT_MAPPED) in ntfs_rl_insert() 353 dst[loc].lcn = LCN_RL_NOT_MAPPED; in ntfs_rl_insert() 441 if (dsize - tail > 0 && dst[marker].lcn == LCN_ENOENT) in ntfs_rl_replace() 571 drl[0].lcn = LCN_RL_NOT_MAPPED; in ntfs_runlists_merge() 580 while (srl[si].length && srl[si].lcn < LCN_HOLE) in ntfs_runlists_merge() [all …]
|
D | lcnalloc.c | 62 if (rl->lcn < 0) in ntfs_cluster_free_from_rl_nolock() 64 err = ntfs_bitmap_clear_run(lcnbmp_vi, rl->lcn, rl->length); in ntfs_cluster_free_from_rl_nolock() 151 LCN zone_start, zone_end, bmp_pos, bmp_initial_pos, last_read_pos, lcn; in ntfs_cluster_alloc() local 298 lcn = bmp_pos & 7; in ntfs_cluster_alloc() 302 (unsigned long long)lcn, in ntfs_cluster_alloc() 304 while (lcn < buf_size && lcn + bmp_pos < zone_end) { in ntfs_cluster_alloc() 305 byte = buf + (lcn >> 3); in ntfs_cluster_alloc() 310 (unsigned long long)lcn, in ntfs_cluster_alloc() 313 (unsigned int)(lcn >> 3), in ntfs_cluster_alloc() 317 lcn = (lcn + 8) & ~(LCN)7; in ntfs_cluster_alloc() [all …]
|
D | debug.c | 159 LCN lcn = (rl + i)->lcn; in ntfs_debug_dump_runlist() local 161 if (lcn < (LCN)0) { in ntfs_debug_dump_runlist() 162 int index = -lcn - 1; in ntfs_debug_dump_runlist() 174 (long long)(rl + i)->lcn, in ntfs_debug_dump_runlist()
|
D | aops.c | 189 LCN lcn; in ntfs_read_block() local 276 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_read_block() 278 lcn = LCN_RL_NOT_MAPPED; in ntfs_read_block() 280 if (lcn >= 0) { in ntfs_read_block() 282 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block() 294 if (lcn == LCN_HOLE) in ntfs_read_block() 297 if (!is_retry && lcn == LCN_RL_NOT_MAPPED) { in ntfs_read_block() 315 if (err == -ENOENT || lcn == LCN_ENOENT) { in ntfs_read_block() 554 LCN lcn; in ntfs_write_block() local 732 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_write_block() [all …]
|
D | file.c | 484 LCN lcn; in ntfs_prepare_pages_for_non_resident_write() local 538 vcn = lcn = -1; in ntfs_prepare_pages_for_non_resident_write() 619 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write() 749 lcn = ntfs_rl_vcn_to_lcn(rl, bh_cpos); in ntfs_prepare_pages_for_non_resident_write() 750 if (likely(lcn >= 0)) { in ntfs_prepare_pages_for_non_resident_write() 758 lcn_block = lcn << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write() 779 lcn = LCN_RL_NOT_MAPPED; in ntfs_prepare_pages_for_non_resident_write() 784 if (unlikely(lcn != LCN_HOLE && lcn != LCN_ENOENT)) { in ntfs_prepare_pages_for_non_resident_write() 785 if (likely(!is_retry && lcn == LCN_RL_NOT_MAPPED)) { in ntfs_prepare_pages_for_non_resident_write() 812 lcn = LCN_ENOENT; in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | attrib.c | 344 LCN lcn; in ntfs_attr_vcn_to_lcn_nolock() local 364 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock() 365 if (likely(lcn >= LCN_HOLE)) { in ntfs_attr_vcn_to_lcn_nolock() 366 ntfs_debug("Done, lcn 0x%llx.", (long long)lcn); in ntfs_attr_vcn_to_lcn_nolock() 367 return lcn; in ntfs_attr_vcn_to_lcn_nolock() 369 if (lcn != LCN_RL_NOT_MAPPED) { in ntfs_attr_vcn_to_lcn_nolock() 370 if (lcn != LCN_ENOENT) in ntfs_attr_vcn_to_lcn_nolock() 371 lcn = LCN_EIO; in ntfs_attr_vcn_to_lcn_nolock() 395 lcn = LCN_ENOENT; in ntfs_attr_vcn_to_lcn_nolock() 397 lcn = LCN_ENOMEM; in ntfs_attr_vcn_to_lcn_nolock() [all …]
|
D | logfile.c | 775 LCN lcn; in ntfs_empty_logfile() local 783 lcn = rl->lcn; in ntfs_empty_logfile() 784 if (unlikely(lcn == LCN_RL_NOT_MAPPED)) { in ntfs_empty_logfile() 789 if (unlikely(!rl->length || lcn < LCN_HOLE)) in ntfs_empty_logfile() 792 if (lcn == LCN_HOLE) in ntfs_empty_logfile() 794 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_empty_logfile() 798 end_block = (lcn + len) << vol->cluster_size_bits >> in ntfs_empty_logfile()
|
D | mft.c | 535 LCN lcn; in ntfs_sync_mft_mirror() local 557 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_sync_mft_mirror() 559 if (likely(lcn >= 0)) { in ntfs_sync_mft_mirror() 561 bh->b_blocknr = ((lcn << in ntfs_sync_mft_mirror() 572 (long long)lcn); in ntfs_sync_mft_mirror() 724 LCN lcn; in write_mft_record_nolock() local 741 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in write_mft_record_nolock() 743 if (likely(lcn >= 0)) { in write_mft_record_nolock() 745 bh->b_blocknr = ((lcn << in write_mft_record_nolock() 755 ni->mft_no, (long long)lcn); in write_mft_record_nolock() [all …]
|
D | compress.c | 499 LCN lcn; in ntfs_read_compressed_block() local 625 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_read_compressed_block() 627 lcn = LCN_RL_NOT_MAPPED; in ntfs_read_compressed_block() 630 (unsigned long long)lcn); in ntfs_read_compressed_block() 631 if (lcn < 0) { in ntfs_read_compressed_block() 636 if (lcn == LCN_HOLE) in ntfs_read_compressed_block() 638 if (is_retry || lcn != LCN_RL_NOT_MAPPED) in ntfs_read_compressed_block() 650 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_read_compressed_block()
|
D | runlist.h | 44 LCN lcn; /* lcn = Starting logical cluster number. */ member
|
D | super.c | 1153 rl2[0].lcn = vol->mftmirr_lcn; in check_mft_mirror() 1157 rl2[1].lcn = LCN_ENOENT; in check_mft_mirror() 1169 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || in check_mft_mirror()
|
/linux-3.4.99/drivers/net/wan/ |
D | cycx_x25.c | 116 s16 lcn; /* logical channel number/conn.req.key*/ member 174 cycx_x25_send(struct cycx_device *card, u8 link, u8 lcn, u8 bitm, 179 u8 lcn); 201 s16 lcn); 428 s16 lcn = dec_to_uint(conf->addr, 0); in cycx_wan_new_if() local 430 if (lcn >= card->u.x.lo_pvc && lcn <= card->u.x.hi_pvc) in cycx_wan_new_if() 431 chan->lcn = lcn; in cycx_wan_new_if() 434 wandev->name, lcn, chan->name); in cycx_wan_new_if() 507 *(__be16*)dev->dev_addr = htons(chan->lcn); in cycx_netdevice_init() 737 u8 lcn; in cycx_x25_irq_tx() local [all …]
|
/linux-3.4.99/drivers/net/wireless/b43/ |
D | phy_lcn.c | 374 tx_pwr_idx = dev->phy.lcn->tx_pwr_curr_idx; in b43_phy_lcn_sense_setup() 570 if (!dev->phy.lcn->hw_pwr_ctl_capable) { in b43_phy_lcn_tx_pwr_ctl_init() 708 dev->phy.lcn = phy_lcn; in b43_phy_lcn_op_allocate() 716 struct b43_phy_lcn *phy_lcn = phy->lcn; in b43_phy_lcn_op_free() 719 phy->lcn = NULL; in b43_phy_lcn_op_free() 725 struct b43_phy_lcn *phy_lcn = phy->lcn; in b43_phy_lcn_op_prepare_structs()
|
D | phy_common.h | 224 struct b43_phy_lcn *lcn; member
|