Searched refs:cl_t (Results 1 – 4 of 4) sorted by relevance
/freebsd/sbin/fsck_msdosfs/ |
H A D | ext.h | 94 void fat_clear_cl_head(struct fat_descriptor *, cl_t); 95 bool fat_is_cl_head(struct fat_descriptor *, cl_t); 97 cl_t fat_get_cl_next(struct fat_descriptor *, cl_t); 99 int fat_set_cl_next(struct fat_descriptor *, cl_t, cl_t); 101 cl_t fat_allocate_cluster(struct fat_descriptor *fat); 105 bool fat_is_valid_cl(struct fat_descriptor *, cl_t); 128 int checkchain(struct fat_descriptor *, cl_t, size_t *); 137 int reconnect(struct fat_descriptor *, cl_t, size_t); 146 const char *rsrvdcltype(cl_t); 151 void clearchain(struct fat_descriptor *, cl_t);
|
H A D | fat.c | 55 static inline bool valid_cl(struct fat_descriptor *, cl_t); 88 bitmap_clear(long_bitmap_t *lbp, cl_t cl) in bitmap_clear() 90 cl_t i = cl / LONG_BIT; in bitmap_clear() 99 bitmap_get(long_bitmap_t *lbp, cl_t cl) in bitmap_get() 101 cl_t i = cl / LONG_BIT; in bitmap_get() 108 bitmap_none_in_range(long_bitmap_t *lbp, cl_t cl) in bitmap_none_in_range() 110 cl_t i = cl / LONG_BIT; in bitmap_none_in_range() 170 cl_t (*get)(struct fat_descriptor *, cl_t); 171 int (*set)(struct fat_descriptor *, cl_t, cl_t); 186 fat_clear_cl_head(struct fat_descriptor *fat, cl_t cl) in fat_clear_cl_head() [all …]
|
H A D | dosfs.h | 38 typedef u_int32_t cl_t; /* type holding a cluster number */ typedef 57 cl_t bpbRootClust; /* Start of Root Directory */ 60 cl_t FSFree; /* Number of free clusters acc. FSInfo */ 61 cl_t FSNext; /* Next free cluster acc. FSInfo */ 71 cl_t ClustMask; /* mask for entries in FAT */ 72 cl_t NumClusters; /* # of entries in a FAT */ 116 cl_t head; /* cluster no */
|
H A D | dir.c | 97 static int delete(struct fat_descriptor *, cl_t, int, cl_t, int, int); 99 cl_t, cl_t, cl_t, char *, int); 296 delete(struct fat_descriptor *fat, cl_t startcl, in delete() 297 int startoff, cl_t endcl, int endoff, int notlast) in delete() 349 u_char *end, cl_t startcl, cl_t endcl, cl_t curcl, in removede() 451 cl_t cl; in checksize() 479 cl_t cl; in check_subdirectory() 555 cl_t cl, valcl = ~0, invcl = ~0, empcl = ~0; in readDosDirSection() 1082 static cl_t lfcl; 1086 reconnect(struct fat_descriptor *fat, cl_t head, size_t length) in reconnect()
|