Home
last modified time | relevance | path

Searched refs:lcn (Results 1 – 10 of 10) sorted by relevance

/linux/fs/erofs/
H A Dzmap.c13 unsigned long lcn; member
24 unsigned long lcn) in z_erofs_load_full_lcluster() argument
30 lcn * sizeof(struct z_erofs_lcluster_index); in z_erofs_load_full_lcluster()
37 m->lcn = lcn; in z_erofs_load_full_lcluster()
97 unsigned long lcn, bool lookahead) in z_erofs_load_compact_lcluster() argument
112 if (lcn >= totalidx || lclusterbits > 14) in z_erofs_load_compact_lcluster()
115 m->lcn = lcn; in z_erofs_load_compact_lcluster()
125 if (lcn >= compacted_4b_initial) { in z_erofs_load_compact_lcluster()
127 lcn -= compacted_4b_initial; in z_erofs_load_compact_lcluster()
128 if (lcn < compacted_2b) { in z_erofs_load_compact_lcluster()
[all …]
/linux/fs/ntfs3/
H A Dbitmap.c510 CLST lcn, clen; in wnd_rescan() local
555 &lcn, &clen, NULL)) { in wnd_rescan()
560 lbo = ((u64)lcn << cluster_bits) + off; in wnd_rescan()
700 CLST lcn, clen; in wnd_map() local
709 if (!run_lookup_entry(&wnd->run, vbo >> sbi->cluster_bits, &lcn, &clen, in wnd_map()
714 lbo = ((u64)lcn << sbi->cluster_bits) + (vbo & sbi->cluster_mask); in wnd_map()
1406 void wnd_zone_set(struct wnd_bitmap *wnd, size_t lcn, size_t len) in wnd_zone_set() argument
1414 wnd_remove_free_ext(wnd, lcn, len); in wnd_zone_set()
1416 wnd->zone_bit = lcn; in wnd_zone_set()
1417 wnd->zone_end = lcn + len; in wnd_zone_set()
[all …]
H A Dsuper.c1258 CLST vcn, lcn, len; in ntfs_fill_super() local
1493 for (i = 0; run_get_entry(&ni->file.run, i, &vcn, &lcn, &len); i++) { in ntfs_fill_super()
1494 if (lcn == SPARSE_LCN) in ntfs_fill_super()
1502 if (wnd_set_used_safe(&sbi->used.bitmap, lcn, len, &tt) || tt) { in ntfs_fill_super()
1720 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta() argument
1724 sector_t devblock = (u64)lcn * sbi->blocks_per_cluster; in ntfs_unmap_meta()
1749 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard() argument
1755 if (sbi->used.next_free_lcn == lcn + len) in ntfs_discard()
1756 sbi->used.next_free_lcn = lcn; in ntfs_discard()
1764 lbo = (u64)lcn << sbi->cluster_bits; in ntfs_discard()
H A Dntfs_fs.h449 struct runs_tree *run_da, CLST vcn, CLST lcn,
469 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn,
473 CLST *lcn, CLST *len, bool *new, bool zero,
636 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len,
722 void mark_as_free_ex(struct ntfs_sb_info *sbi, CLST lcn, CLST len, bool trim);
858 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn,
863 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len,
869 CLST *lcn, CLST *len);
894 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len);
H A Dfile.c317 CLST lcn, len; in ntfs_file_mmap_prepare() local
323 err = attr_data_get_block(ni, vcn, 1, &lcn, in ntfs_file_mmap_prepare()
647 CLST lcn, clen; in ntfs_fallocate() local
659 &lcn, &clen, &new, in ntfs_fallocate()
678 &lcn, &clen, &new, in ntfs_fallocate()
1023 CLST lcn, clen; in ntfs_compress_write() local
1029 err = attr_data_get_block(ni, frame << NTFS_LZNT_CUNIT, 1, &lcn, in ntfs_compress_write()
1034 if (lcn == SPARSE_LCN) { in ntfs_compress_write()
H A Dfrecord.c1978 CLST vcn, cend, lcn, clen, end; in ni_decompress_file() local
2018 err = attr_data_get_block(ni, vcn, cend - vcn, &lcn, in ni_decompress_file()
2846 CLST vcn, lcn, clen; in ni_seek_data_or_hole() local
2851 err = attr_data_get_block(ni, vcn, 1, &lcn, &clen, NULL, false, in ni_seek_data_or_hole()
2857 if (lcn == RESIDENT_LCN) { in ni_seek_data_or_hole()
2871 if (lcn == EOF_LCN) { in ni_seek_data_or_hole()
2886 if (lcn != SPARSE_LCN) { in ni_seek_data_or_hole()
2898 if (lcn == SPARSE_LCN && in ni_seek_data_or_hole()
3271 CLST vcn, lcn, clen, alen; in ni_allocate_da_blocks_locked() local
3277 while (run_get_entry(&ni->file.run_da, 0, &vcn, &lcn, &clen)) { in ni_allocate_da_blocks_locked()
[all …]
H A Dfslog.c228 __le64 lcn; member
3757 CLST rno, lcn, lcn0, len0, clen; in log_replay() local
4556 u64 lcn0 = le64_to_cpu(r->lcn); in log_replay()
4854 lcn = le64_to_cpu(dp->page_lcns[i]); in log_replay()
4857 lcn0 != lcn) && in log_replay()
4858 !run_add_entry(oa->run1, vcn, lcn, 1, false)) { in log_replay()
4947 if (!run_lookup_entry(oa->run1, vcn, &lcn, NULL, NULL) || in log_replay()
4948 lcn == SPARSE_LCN) { in log_replay()
5071 &lcn, &clen, NULL); in log_replay()
5078 if (is_mapped && lcn != SPARSE_LCN && clen >= t16) in log_replay()
H A Dindex.c377 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap() local
391 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap()
406 ok = run_lookup_entry(run, vcn, &lcn, &clen, &idx); in scan_nres_bitmap()
413 block = (sector_t)lcn * sbi->blocks_per_cluster; in scan_nres_bitmap()
450 ok = run_get_entry(run, ++idx, &vcn, &lcn, &clen) && vcn == vcn_next; in scan_nres_bitmap()
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lcn.c341 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()
H A Dphy_common.h215 struct b43_phy_lcn *lcn; member