Lines Matching defs:refnum
83 int refnum;
88 for ( refnum = 0; refnum < nforks; refnum++ ) {
89 if (oforks[ refnum ] != NULL && (oforks[refnum]->of_vol == vol) &&
90 flushfork( oforks[ refnum ] ) < 0 ) {
140 u_int16_t refnum, of_refnum;
153 for ( refnum = ++lastrefnum, i = 0; i < nforks; i++, refnum++ ) {
155 if (!refnum)
156 refnum++;
157 if ( oforks[ refnum % nforks ] == NULL ) {
164 refnum % nforks = 3
167 refnum = 4
174 refnum % nforks = 4
179 lastrefnum = refnum;
185 of_refnum = refnum % nforks;
229 *ofrefnum = refnum;
230 of->of_refnum = refnum;
472 int refnum;
477 for ( refnum = 0; refnum < nforks; refnum++ ) {
478 if (oforks[ refnum ] != NULL && oforks[refnum]->of_vol == vol) {
479 if (of_closefork( oforks[ refnum ]) < 0 ) {
492 int refnum;
497 for ( refnum = 0; refnum < nforks; refnum++ ) {
498 if (oforks[ refnum ] != NULL) {
499 if (of_closefork( oforks[ refnum ]) < 0 ) {