Searched refs:nskip (Results 1 – 3 of 3) sorted by relevance
112 static int ds_skip(char *device, int nskip);522 int nskip, ods_volpart; in ds_findpkg() local537 nskip = 0; in ds_findpkg()544 nskip += ds_toc->nparts; in ds_findpkg()564 ds_totread = nskip - ods_volpart; in ds_findpkg()568 if (ds_skip(device, nskip - ds_totread)) in ds_findpkg()571 ds_totread = nskip; in ds_findpkg()642 ds_skip(char *device, int nskip) in ds_skip() argument645 int n, onskip = nskip; in ds_skip()647 while (nskip--) { in ds_skip()[all …]
1095 skipf(nskip) in skipf() argument1096 int nskip; in skipf()1098 if (fnum + nskip < 0) {1099 nskip = -fnum;1100 if (nskip == 0)1104 if (fnum + nskip > nfiles - 1) {1105 nskip = (nfiles - 1) - fnum;1106 if (nskip == 0)1109 return (nskip);
211 static void skipf(register int nskip);1484 skipf(register int nskip) in skipf() argument1486 if (nskip == 0) return; in skipf()1487 if (nskip > 0) { in skipf()1488 if (fnum + nskip > nfiles - 1) in skipf()1489 nskip = nfiles - fnum - 1; in skipf()1493 fnum += nskip; in skipf()1500 if (nskip > 0) in skipf()