Lines Matching refs:next_cl
1038 cl_t prev_cl, current_cl, next_cl; in checkchain() local
1071 for (next_cl = fat_get_cl_next(fat, current_cl); in checkchain()
1072 valid_cl(fat, next_cl); in checkchain()
1073 prev_cl = current_cl, current_cl = next_cl, next_cl = fat_get_cl_next(fat, current_cl)) in checkchain()
1077 if (next_cl >= CLUST_EOFS) { in checkchain()
1093 if (next_cl == CLUST_FREE || next_cl >= CLUST_RSRVD) { in checkchain()
1095 head, rsrvdcltype(next_cl)); in checkchain()
1100 next_cl & boot_of_(fat)->ClustMask); in checkchain()
1106 next_cl = CLUST_EOF; in checkchain()
1109 next_cl = CLUST_FREE; in checkchain()
1112 return (fat_set_cl_next(fat, current_cl, next_cl) | FSFATMOD); in checkchain()
1124 cl_t current_cl, next_cl; in clearchain() local
1130 next_cl = fat_get_cl_next(fat, current_cl); in clearchain()
1133 current_cl = next_cl; in clearchain()