Lines Matching refs:nextlinkp

128 	linkinfo_ent *dellinkp, linkinfo_ent *nextlinkp, fhlist_ent *fhrecp);
994 linkinfo_ent nextlink, *newlinkp, *nextlinkp;
1066 nextlinkp = fetch_record(dbp, nextaddr, nextsize, (void *)&nextlink,
1068 if (nextlinkp == NULL) {
1081 len = fill_link_key(LN_PREV(nextlinkp), dfh, name);
1082 nextlinkp->reclen = nextlinkp->prev_offset + len;
1083 error = store_record(dbp, nextaddr, nextsize, nextlinkp,
1084 nextlinkp->reclen, "db_add_secondary");
1103 linkinfo_ent *nextlinkp, *linkp1;
1105 if ((nextlinkp = malloc(sizeof (linkinfo_ent))) == NULL) {
1112 linkp1 = nextlinkp;
1113 nextlinkp = fetch_record(dbp, nextkey, nextsize, nextlinkp,
1116 if (nextlinkp == NULL) {
1123 nextlinkp->reclen = ROUNDUP32(nextlinkp->reclen -
1124 LN_PREV_LEN(nextlinkp) + prevsize);
1127 (void) memcpy(LN_PREV(nextlinkp), prevkey, prevsize);
1130 *errorp = store_record(dbp, nextkey, nextsize, nextlinkp,
1131 nextlinkp->reclen, "update_next");
1133 free(nextlinkp);
1134 nextlinkp = NULL;
1136 return (nextlinkp);
1190 linkinfo_ent *nextlinkp = NULL;
1194 nextlinkp = update_next_link(dbp, nextkey, nextsize,
1196 if (nextlinkp == NULL) {
1219 if (nextlinkp != NULL)
1220 free(nextlinkp);
1221 nextlinkp = NULL;
1224 return (nextlinkp);
1237 linkinfo_ent *nextlinkp, fhlist_ent *fhrecp)
1264 if (nextlinkp == NULL) {
1275 next_name = LN_NAME(nextlinkp);
1279 (void) memcpy(&fhrecp->dfh, &nextlinkp->dfh,
1280 sizeof (nextlinkp->dfh));
1462 linkinfo_ent *dellinkp, *nextlinkp;
1501 nextlinkp = update_linked_list(dbp, nextkey, nextsize,
1503 if ((nextlinkp == NULL) && (*errorp != 0)) {
1526 nextlinkp, fhrecp);
1535 if (nextlinkp != NULL)
1536 free(nextlinkp);