Lines Matching refs:kernelp
9417 set_archive_line(entry_t *entryp, line_t *kernelp)
9444 if (strstr(kernelp->arg, "$ISADIR") != NULL) {
9447 } else if (strstr(kernelp->arg, "amd64") != NULL) {
9495 line_t *kernelp;
9512 ptr = kernelp = NULL;
9553 kernelp = ptr;
9557 if (kernelp == NULL) {
9563 old_kernel_len = strcspn(kernelp->arg, " \t");
9564 space = old_args = kernelp->arg + old_kernel_len;
9576 assert(kernelp);
9591 if (strcmp(kernelp->arg, DIRECT_BOOT_KERNEL) != 0) {
9592 (void) strlcpy(buf, kernelp->arg, bufsize);
9608 if ((entryp == NULL) || (kernelp == NULL)) {
9624 (strncmp(kernelp->arg, DIRECT_BOOT_KERNEL,
9626 kernelp = NULL;
9647 free(kernelp->arg);
9648 kernelp->arg = new_arg;
9654 set_archive_line(entryp, kernelp);
9656 "retained old args: %s\n", fcn, kernelp->arg));
9665 kernelp->arg);
9666 free(kernelp->arg);
9667 kernelp->arg = new_arg;
9669 "old kernel: %s\n", fcn, kernelp->arg));
9804 free(kernelp->arg);
9805 kernelp->arg = new_arg;
9811 set_archive_line(entryp, kernelp);
9813 "args: %s\n", fcn, kernelp->arg));
9817 (void) strncpy(new_arg, kernelp->arg, old_kernel_len);
9820 free(kernelp->arg);
9821 kernelp->arg = new_arg;
9823 "args: %s\n", fcn, kernelp->arg));
9828 if ((rv == BAM_WRITE) && kernelp)
9829 update_line(kernelp);