Lines Matching defs:rec_next

389 				if (recid == rec.rec_next[image])
391 recid = rec.rec_next[image];
406 if (recid == rec.rec_next[image])
408 recid = rec.rec_next[image];
570 dn_filerec_t rec, rec_next;
616 rec.rec_next[!image] = recid_head;
622 if (rec.rec_next[!image] != DN_NOREC) {
623 if (read_rec(fd, &rec_next, rec.rec_next[!image]) == -1)
648 if (rec.rec_next[!image] != DN_NOREC) {
649 rec_next.rec_prev[!image] = recid;
650 if (write_rec(fd, &rec_next, rec.rec_next[!image]) == -1)
669 rec.rec_next[!image] = rec.rec_next[image];
673 if (rec.rec_next[!image] != DN_NOREC) {
674 rec_next.rec_prev[!image] = recid;
675 if (write_rec(fd, &rec_next, rec.rec_next[!image]) == -1)
695 dn_filerec_t rec, rec_prev, rec_next;
742 if (rec.rec_next[image] != DN_NOREC) {
743 if (read_rec(fd, &rec_next, rec.rec_next[image]) == -1)
768 if (rec.rec_next[image] != DN_NOREC) {
769 rec_next.rec_prev[!image] = rec.rec_prev[image];
770 if (write_rec(fd, &rec_next, rec.rec_next[image]) == -1)
775 rec_prev.rec_next[!image] = rec.rec_next[image];
779 if (write_hashhead(fd, rec.rec_next[image], hash, !image) == -1)
783 rec.rec_next[!image] = DN_NOREC;
800 if (rec.rec_next[!image] != DN_NOREC) {
801 rec_next.rec_prev[!image] = rec.rec_prev[!image];
802 if (write_rec(fd, &rec_next, rec.rec_next[!image]) == -1)
807 rec_prev.rec_next[!image] = rec.rec_next[!image];
811 if (write_hashhead(fd, rec.rec_next[!image], hash, !image)
816 rec.rec_next[!image] = DN_NOREC;
830 dn_filerec_t rec, new_rec, rec_head, rec_next, rec_prev;
899 new_rec.rec_next[!image] = rec.rec_next[image];
905 new_rec.rec_next[!image] = recid_head;
934 if (rec.rec_next[image] != DN_NOREC) {
935 if (read_rec(fd, &rec_next, rec.rec_next[image]) == -1)
944 rec_next.rec_prev[!image] = rec.rec_prev[!image];
945 rec_prev.rec_next[!image] = rec.rec_next[!image];
947 rec_next.rec_prev[!image] = new_recid;
948 rec_prev.rec_next[!image] = new_recid;
951 if (rec.rec_next[image] != DN_NOREC) {
952 if (write_rec(fd, &rec_next, rec.rec_next[image]) == -1)
959 if (write_hashhead(fd, rec_prev.rec_next[!image], hash,
989 rec.rec_next[!image] = DN_NOREC;
1044 new_rec.rec_next[!image] = new_rec.rec_next[image];
1049 if (rec.rec_next[image] != DN_NOREC) {
1050 rec_next.rec_prev[!image] = rec.rec_prev[image];
1051 if (write_rec(fd, &rec_next, rec.rec_next[image]) == -1)
1055 rec_prev.rec_next[!image] = rec.rec_next[image];
1059 if (write_hashhead(fd, rec.rec_next[image], hash,
1086 rec.rec_next[!image] = DN_NOREC;
1252 if (rec.rec_next[image] != rec.rec_next[!image] ||
1257 rec.rec_next[!image] = rec.rec_next[image];
1323 nhconvert(&rec->rec_next[0], &rec->rec_next[0], sizeof (dn_recid_t));
1324 nhconvert(&rec->rec_next[1], &rec->rec_next[1], sizeof (dn_recid_t));