Lines Matching defs:pre
55 const char **pre;
104 return dep->pre;
295 if (plen == sizeof("pre:") - 1 &&
296 memcmp(p, "pre:", sizeof("pre:") - 1) == 0)
315 DBG(config->ctx, "%u pre, %u post\n", n_pre, n_post);
327 dep->pre = (const char **)((char *)dep + sizeof(struct kmod_softdep));
328 dep->post = dep->pre + n_pre;
358 if (plen == sizeof("pre:") - 1 &&
359 memcmp(p, "pre:", sizeof("pre:") - 1) == 0)
366 dep->pre[n_pre] = itr;
395 const size_t sz_preprefix = sizeof("pre: ") - 1;
403 * Rely on the fact that dep->pre[] and dep->post[] are strv's that
407 start = dep->pre[0];
408 end = dep->pre[dep->n_pre - 1]
409 + strlen(dep->pre[dep->n_pre - 1]);
431 memcpy(itr, "pre: ", sz_preprefix);
435 memcpy(itr, dep->pre[0], sz_pre + 1);