• Home
  • Raw
  • Download

Lines Matching refs:size_t

43 #define MINUS_ONE_T			((size_t)(-1))
109 #define RUN_DEALLOCATE ((struct runs_tree *)(size_t)1)
114 size_t count; /* Currently used size a ntfs_run storage. */
115 size_t allocated; /* Currently allocated ntfs_run storage size. */
142 size_t nbits;
144 size_t total_zeroes; // Total number of free bits.
146 size_t nwnd;
151 size_t count; // Extents count.
159 size_t extent_min; // Minimal extent used while building.
160 size_t extent_max; // Upper estimate of biggest free block.
163 size_t zone_bit;
164 size_t zone_end;
170 typedef int (*NTFS_CMP_FUNC)(const void *key1, size_t len1, const void *key2,
171 size_t len2, const void *param);
255 size_t next_free; // The next record to allocate from
256 size_t used; // MFT valid size in records.
385 size_t size;
389 size_t ni_flags; // NI_FLAG_XXX
418 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr,
443 int attr_allocate_frame(struct ntfs_inode *ni, CLST frame, size_t compr_size,
466 const __le16 *name, size_t name_len,
469 static inline size_t al_aligned(size_t size) in al_aligned()
471 return size_add(size, 1023) & ~(size_t)1023; in al_aligned()
475 bool are_bits_clear(const ulong *map, size_t bit, size_t nbits);
476 bool are_bits_set(const ulong *map, size_t bit, size_t nbits);
477 size_t get_set_bits_ex(const ulong *map, size_t bit, size_t nbits);
526 const __le16 *name, size_t name_len, bool base_only,
580 bool check_index_header(const struct INDEX_HDR *hdr, size_t bytes);
585 bool ntfs_fix_pre_write(struct NTFS_RECORD_HEADER *rhdr, size_t bytes);
586 int ntfs_fix_post_read(struct NTFS_RECORD_HEADER *rhdr, size_t bytes,
598 int ntfs_clear_mft_tail(struct ntfs_sb_info *sbi, size_t from, size_t to);
607 int ntfs_sb_read(struct super_block *sb, u64 lbo, size_t bytes, void *buffer);
608 int ntfs_sb_write(struct super_block *sb, u64 lbo, size_t bytes,
611 u64 vbo, const void *buf, size_t bytes, int sync);
636 size_t *size);
651 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit);
672 const struct INDEX_ROOT *root, const void *Key, size_t KeyLen,
680 size_t *off, struct ntfs_fnd *fnd);
701 int inode_write_data(struct inode *inode, const void *data, size_t bytes);
731 size_t name_len, const __le16 *id);
779 CLST *len, size_t *index);
783 bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *Index);
787 bool run_get_entry(const struct runs_tree *run, size_t index, CLST *vcn,
816 static inline size_t wnd_zeroes(const struct wnd_bitmap *wnd) in wnd_zeroes()
820 int wnd_init(struct wnd_bitmap *wnd, struct super_block *sb, size_t nbits);
821 int wnd_set_free(struct wnd_bitmap *wnd, size_t bit, size_t bits);
822 int wnd_set_used(struct wnd_bitmap *wnd, size_t bit, size_t bits);
823 bool wnd_is_free(struct wnd_bitmap *wnd, size_t bit, size_t bits);
824 bool wnd_is_used(struct wnd_bitmap *wnd, size_t bit, size_t bits);
829 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
830 size_t flags, size_t *allocated);
831 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits);
832 void wnd_zone_set(struct wnd_bitmap *wnd, size_t Lcn, size_t Len);
836 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2,
856 ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
864 size_t compress_lznt(const void *uncompressed, size_t uncompressed_size,
865 void *compressed, size_t compressed_size,
867 ssize_t decompress_lznt(const void *compressed, size_t compressed_size,
868 void *uncompressed, size_t uncompressed_size);
909 static inline size_t wnd_zone_bit(const struct wnd_bitmap *wnd) in wnd_zone_bit()
914 static inline size_t wnd_zone_len(const struct wnd_bitmap *wnd) in wnd_zone_len()
951 static inline size_t bitmap_size(size_t bits) in bitmap_size()