Lines Matching refs:next_cl
1036 cl_t prev_cl, current_cl, next_cl; in checkchain() local
1069 for (next_cl = fat_get_cl_next(fat, current_cl); in checkchain()
1070 valid_cl(fat, next_cl); in checkchain()
1071 prev_cl = current_cl, current_cl = next_cl, next_cl = fat_get_cl_next(fat, current_cl)) in checkchain()
1075 if (next_cl >= CLUST_EOFS) { in checkchain()
1091 if (next_cl == CLUST_FREE || next_cl >= CLUST_RSRVD) { in checkchain()
1093 head, rsrvdcltype(next_cl)); in checkchain()
1098 next_cl & boot_of_(fat)->ClustMask); in checkchain()
1104 next_cl = CLUST_EOF; in checkchain()
1107 next_cl = CLUST_FREE; in checkchain()
1110 return (fat_set_cl_next(fat, current_cl, next_cl) | FSFATMOD); in checkchain()
1122 cl_t current_cl, next_cl; in clearchain() local
1128 next_cl = fat_get_cl_next(fat, current_cl); in clearchain()
1131 current_cl = next_cl; in clearchain()