/src/sbin/fsck_msdos/ |
check.c | 49 struct fatEntry *fat = NULL; local in function:checkfilesys 86 printf("** Phase 1 - Read FAT\n"); 89 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 104 mod |= comparefat(&boot, fat, currentFat, i); 113 mod |= checkfat(&boot, fat); 121 mod |= resetDosDirSection(&boot, fat); 127 mod |= handleDirTree(dosfs, &boot, fat); 134 mod |= checklost(dosfs, &boot, fat); 141 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT); 165 mod |= writefat(dosfs, &boot, fat, 1) [all...] |
fat.c | 1 /* $NetBSD: fat.c,v 1.30 2019/06/04 00:08:00 christos Exp $ */ 31 __RCSID("$NetBSD: fat.c,v 1.30 2019/06/04 00:08:00 christos Exp $"); 52 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) 66 pwarn("Cluster %u in FAT %u continues with %s cluster number %u\n", 67 cl, fat, 80 * Read a FAT from disk. Returns 1 if successful, 0 otherwise. 90 perr("No space for FAT sectors (%zu)", len); 98 perr("Unable to read FAT"); 104 perr("Unable to read FAT"); 116 * Read a FAT and decode it into internal forma 121 struct fatEntry *fat; local in function:readfat [all...] |
/src/sys/netinet/ |
tcp_vtw.h | 41 * One such ad-hoc technique is fat pointers. Additional degrees of 45 * The 'fat pointer' approach aggregates, for x86_32, 15 linked-list 47 * cache line are used for linking fat pointers, and for 55 * All the fat pointers are from a contiguous allocation arena. Thus, 62 * In order to add a data element to a fat pointer, a key value is 97 * search time, and use fat pointers to reduce the cache impacts of 106 * expiration. It will be added to a hash bucket implemented with fat 109 * will be added to this. As more entries are added, the fat pointer 110 * cache line will fill, requiring additional cache lines for fat 113 * expire, the corresponding slot in the fat pointer will b 249 fatp_ctl_t *fat; \/* collection of fatp to use *\/ member in struct:vtw_ctl [all...] |
tcp_vtw.c | 166 /*!\brief allocate a fat pointer from a collection. 169 fatp_alloc(fatp_ctl_t *fat) 173 if (fat->nfree) { 174 fp = fat->free; 176 fat->free = fatp_next(fat, fp); 177 --fat->nfree; 178 ++fat->nalloc; 188 /*!\brief free a fat pointer. 191 fatp_free(fatp_ctl_t *fat, fatp_t *fp 516 fatp_ctl_t *fat = ctl->fat; local in function:vtw_unhash 1783 fatp_ctl_t *fat; local in function:vtw_select 1810 fatp_ctl_t *fat; local in function:vtw_control_init 1851 fatp_ctl_t *fat; local in function:vtw_control [all...] |