Lines Matching refs:next
638 old_nl->next = (uint32_t) ((void *) nl -
642 nl->next = 0;
692 info->old_vers->next = (uint32_t) ((void *)info->vers - (void *)info->old_vers);
697 info->vers->next = 0;
1326 spec->next = outptr - outbuf;
1398 static int next_target(struct dm_target_spec *last, uint32_t next, const char *end,
1412 * There must be room for both the next target spec and the
1415 if (remaining - sizeof(struct dm_target_spec) <= next) {
1420 if (next % __alignof__(struct dm_target_spec)) {
1422 next, __alignof__(struct dm_target_spec));
1426 *spec = (struct dm_target_spec *) ((unsigned char *) last + next);
1438 uint32_t next = param->data_start;
1451 if (next < min_size) {
1452 DMERR("%s: next target spec (offset %u) overlaps %s",
1453 __func__, next, i ? "previous target" : "'struct dm_ioctl'");
1457 r = next_target(spec, next, end, &spec, &target_params);
1481 next = spec->next;