| /linux/fs/ntfs3/ |
| A D | run.c | 133 if ((n->lcn == SPARSE_LCN) != (r->lcn == SPARSE_LCN)) { in run_consolidate() 144 if (n->lcn != SPARSE_LCN && n->lcn != r->lcn + r->len) in run_consolidate() 215 *lcn = r->lcn == SPARSE_LCN ? SPARSE_LCN : (r->lcn + gap); in run_lookup_entry() 345 (lcn == SPARSE_LCN || lcn == t->lcn + t->len)) { in run_add_entry() 415 r->lcn = lcn; in run_add_entry() 429 (lcn != SPARSE_LCN && lcn != r->lcn + (vcn - r->vcn))) { in run_add_entry() 451 r->lcn = lcn; in run_add_entry() 610 if (lcn) in run_get_entry() 611 *lcn = r->lcn; in run_get_entry() 851 lcn = r->lcn == SPARSE_LCN ? SPARSE_LCN : (r->lcn + len); in run_pack() [all …]
|
| A D | fsntfs.c | 389 alcn = lcn; in ntfs_look_for_free_space() 396 if (!lcn) in ntfs_look_for_free_space() 400 lcn = 0; in ntfs_look_for_free_space() 834 lcn_s = lcn + 1; in ntfs_refresh_zone() 1180 CLST lcn; in ntfs_bread_run() local 1201 CLST lcn, clen; in ntfs_read_run_nb() local 1330 CLST lcn, clen; in ntfs_get_bh() local 1603 CLST lcn, clen; in ntfs_bio_fill_1() local 1670 CLST lcn, len; in ntfs_vbo_to_lbo() local 2494 lcn = i; in mark_as_free_ex() [all …]
|
| A D | attrib.c | 119 if (lcn != SPARSE_LCN) { in run_deallocate_ex() 159 err = ntfs_look_for_free_space(sbi, lcn, len + pre, &lcn, &flen, in attr_allocate_clusters() 175 *new_lcn = lcn; in attr_allocate_clusters() 525 lcn = 0; in attr_set_size() 545 lcn = SPARSE_LCN; in attr_set_size() 549 lcn = 0; in attr_set_size() 550 else if (lcn) in attr_set_size() 551 lcn += 1; in attr_set_size() 939 *lcn = RESIDENT_LCN; in attr_data_get_block() 950 *lcn = SPARSE_LCN; in attr_data_get_block() [all …]
|
| A D | file.c | 197 CLST vcn, lcn, clen; in ntfs_extend_initialized_size() local 208 if (lcn == SPARSE_LCN) { in ntfs_extend_initialized_size() 363 CLST lcn, len; in ntfs_file_mmap() local 369 err = attr_data_get_block(ni, vcn, 1, &lcn, in ntfs_file_mmap() 429 CLST lcn, clen; in ntfs_extend() local 449 err = attr_data_get_block(ni, vcn, cend - vcn, &lcn, in ntfs_extend() 729 CLST lcn, clen; in ntfs_fallocate() local 741 &lcn, &clen, &new, in ntfs_fallocate() 751 &lcn, &clen, &new, in ntfs_fallocate() 1014 CLST lcn, clen; in ntfs_compress_write() local [all …]
|
| A D | bitmap.c | 510 CLST lcn, clen; in wnd_rescan() local 546 &lcn, &clen, NULL)) { in wnd_rescan() 551 lbo = ((u64)lcn << cluster_bits) + off; in wnd_rescan() 683 CLST lcn, clen; in wnd_map() local 1424 wnd_remove_free_ext(wnd, lcn, len); in wnd_zone_set() 1426 wnd->zone_bit = lcn; in wnd_zone_set() 1427 wnd->zone_end = lcn + len; in wnd_zone_set() 1436 CLST len = 0, lcn = 0, done = 0; in ntfs_trim_fs() local 1478 lcn = lcn_wnd + wbit; in ntfs_trim_fs() 1483 err = ntfs_discard(sbi, lcn, len); in ntfs_trim_fs() [all …]
|
| A D | super.c | 1164 CLST vcn, lcn, len; in ntfs_fill_super() local 1384 for (i = 0; run_get_entry(&ni->file.run, i, &vcn, &lcn, &len); i++) { in ntfs_fill_super() 1385 if (lcn == SPARSE_LCN) in ntfs_fill_super() 1393 if (wnd_set_used_safe(&sbi->used.bitmap, lcn, len, &tt) || tt) { in ntfs_fill_super() 1621 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta() argument 1625 sector_t devblock = (u64)lcn * sbi->blocks_per_cluster; in ntfs_unmap_meta() 1650 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard() argument 1656 if (sbi->used.next_free_lcn == lcn + len) in ntfs_discard() 1657 sbi->used.next_free_lcn = lcn; in ntfs_discard() 1665 lbo = (u64)lcn << sbi->cluster_bits; in ntfs_discard()
|
| A D | ntfs_fs.h | 424 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, 435 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, 603 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len, 661 void mark_as_free_ex(struct ntfs_sb_info *sbi, CLST lcn, CLST len, bool trim); 797 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn, 802 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len, 807 CLST *lcn, CLST *len); 829 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len);
|
| A D | frecord.c | 1960 CLST lcn, clen; in ni_fiemap() local 2021 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in ni_fiemap() 2025 ok = run_get_entry(run, ++idx, &vcn, &lcn, &clen) && in ni_fiemap() 2045 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in ni_fiemap() 2058 if (lcn == SPARSE_LCN) { in ni_fiemap() 2082 lbo = (u64)lcn << cluster_bits; in ni_fiemap() 2248 CLST vcn, cend, lcn, clen, end; in ni_decompress_file() local 2296 err = attr_data_get_block(ni, vcn, cend - vcn, &lcn, in ni_decompress_file()
|
| A D | fslog.c | 228 __le64 lcn; member 3755 CLST rno, lcn, lcn0, len0, clen; in log_replay() local 4554 u64 lcn0 = le64_to_cpu(r->lcn); in log_replay() 4852 lcn = le64_to_cpu(dp->page_lcns[i]); in log_replay() 4855 lcn0 != lcn) && in log_replay() 4856 !run_add_entry(oa->run1, vcn, lcn, 1, false)) { in log_replay() 4945 if (!run_lookup_entry(oa->run1, vcn, &lcn, NULL, NULL) || in log_replay() 4946 lcn == SPARSE_LCN) { in log_replay() 5069 &lcn, &clen, NULL); in log_replay() 5076 if (is_mapped && lcn != SPARSE_LCN && clen >= t16) in log_replay()
|
| A D | index.c | 379 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap() local 393 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap() 408 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap() 415 block = (sector_t)lcn * sbi->blocks_per_cluster; in scan_nres_bitmap() 452 ok = run_get_entry(run, ++idx, &vcn, &lcn, &clen) && vcn == vcn_next; in scan_nres_bitmap()
|
| A D | inode.c | 574 CLST vcn, lcn, len; in ntfs_get_block_vbo() local 602 err = attr_data_get_block(ni, vcn, 1, &lcn, &len, create ? &new : NULL, in ntfs_get_block_vbo() 612 if (lcn >= sbi->used.bitmap.nbits) { in ntfs_get_block_vbo() 625 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_get_block_vbo()
|
| /linux/fs/erofs/ |
| A D | zmap.c | 13 unsigned long lcn; member 37 m->lcn = lcn; in z_erofs_load_full_lcluster() 222 if (lcn >= totalidx) in z_erofs_load_compact_lcluster() 225 m->lcn = lcn; in z_erofs_load_compact_lcluster() 250 lcn -= compacted_2b; in z_erofs_load_compact_lcluster() 278 unsigned long lcn = m->lcn - lookback_distance; in z_erofs_extent_lookback() local 318 unsigned long lcn; in z_erofs_get_extent_compressedlen() local 334 lcn = m->lcn + 1; in z_erofs_get_extent_compressedlen() 390 u64 lcn = m->lcn, headlcn = map->m_la >> lclusterbits; in z_erofs_get_extent_decompressedlen() local 420 lcn += m->delta[1]; in z_erofs_get_extent_decompressedlen() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| A D | phy_lcn.c | 341 tx_pwr_idx = dev->phy.lcn->tx_pwr_curr_idx; in b43_phy_lcn_sense_setup() 537 if (!dev->phy.lcn->hw_pwr_ctl_capable) { in b43_phy_lcn_tx_pwr_ctl_init() 675 dev->phy.lcn = phy_lcn; in b43_phy_lcn_op_allocate() 683 struct b43_phy_lcn *phy_lcn = phy->lcn; in b43_phy_lcn_op_free() 686 phy->lcn = NULL; in b43_phy_lcn_op_free() 692 struct b43_phy_lcn *phy_lcn = phy->lcn; in b43_phy_lcn_op_prepare_structs()
|
| A D | phy_common.h | 215 struct b43_phy_lcn *lcn; member
|