Lines Matching refs:sys_modnam
590 sysp->sys_modnam = vmem_alloc(mod_sysfile_arena, in do_sysfile_cmd()
592 (void) strcpy(sysp->sys_modnam, tok1); in do_sysfile_cmd()
885 (((module == NULL) && (sysp->sys_modnam == NULL)) || in mod_sysvar()
886 ((module != NULL) && (sysp->sys_modnam != NULL) && in mod_sysvar()
887 (strcmp(module, sysp->sys_modnam) == 0)))) { in mod_sysvar()
982 if (sysp->sys_modnam != NULL && entry->sys_modnam == NULL) in sysparam_compare_entry()
985 if (sysp->sys_modnam == NULL && entry->sys_modnam != NULL) in sysparam_compare_entry()
988 if (sysp->sys_modnam != NULL && entry->sys_modnam != NULL && in sysparam_compare_entry()
989 strcmp(sysp->sys_modnam, entry->sys_modnam) != 0) in sysparam_compare_entry()
1046 char *modnam = sysp->sys_modnam; in sysparam_print_warning()
1214 if (fcn == SYS_SET_KVAR && sysp->sys_modnam == NULL) { in sys_set_var()
1217 if (sysp->sys_modnam == (char *)NULL || in sys_set_var()
1219 sysp->sys_modnam) != 0) in sys_set_var()
1250 sysp->sys_modnam ? sysp->sys_modnam : "kernel"); in sys_set_var()
1251 if (sysp->sys_modnam) in sys_set_var()
1265 *(uint8_t *)symaddr, sysp->sys_modnam); in set_int8_var()
1292 *(uint16_t *)symaddr, sysp->sys_modnam); in set_int16_var()
1319 *(uint32_t *)symaddr, sysp->sys_modnam); in set_int32_var()
1346 *(uint64_t *)symaddr, sysp->sys_modnam); in set_int64_var()