/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharetab.c | 338 model_t model; local 365 model = get_udatamodel(); 370 STRUCT_INIT(u_sh, model);
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 94 (void) fprintf(stderr, "Usage: %s -t genassym [-m model] " 96 (void) fprintf(stderr, " %s -t forth [-m model] " 238 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; local 249 model = optarg; 285 if (model == NULL) 286 model = get_model(ctf); 287 else if (strcmp(model, get_model(ctf)) != 0) 288 die("Model argument %s doesn't match the object file\n", model); 295 if ((ops->po_init != NULL && ops->po_init(model) < 0) ||
|
H A D | forth.c | 56 * between `lp64' model pairs will be processed, but lines between `ilp32' 120 fth_init(char *model) argument 122 fth_model = model;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 69 char model[256]; member in struct:ql_known_models 237 uint16_t model = ha->subsys_id; local 380 if (model == 0x13e) { 410 * Populate the model info. Legacy (22xx, 23xx, 63xx) do not 413 * cases, if the model isn't found, use defaults. 422 if ((model == models[i].ssid) && 429 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", 430 models[i].model); 435 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, 441 /* Special model handlin [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.h | 75 char model[NXGE_VPD_MOD_LEN]; member in struct:_npi_vpd_info_t
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | speedstep.c | 265 speedstep_supported(uint_t family, uint_t model) argument 276 * We only support family/model combinations which 279 if (!((family == 0xf && model >= 0x3) || 280 (family == 0x6 && model >= 0xe))) {
|
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 46 #include <sys/model.h> 126 model_t model = lwp_getdatamodel(lwp); local 145 if (model == DATAMODEL_LP64) 155 if (model == DATAMODEL_LP64)
|
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_ioboard.c | 59 /* OPL model type */ 161 * Only IKKAKU model has different IO topology. 223 * get the OPL model name from rootnode property "model" 226 opl_get_model(topo_mod_t *mp, di_node_t opl_devtree, char *model) argument 235 if (di_prom_prop_lookup_bytes(promh, opl_devtree, "model", 237 (void) strlcpy(model, bufp, MAXNAMELEN); 257 char model[MAXNAMELEN]; local 278 if (opl_get_model(mp, opl_devtree, model) == -1) { 281 if (strncmp(model, "F [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 525 int family, model; local 532 if ((model = BITS(eax, 7, 4)) == 0xf) 533 model = BITS(eax, 19, 16); 536 * map family and model into the performance 544 ver = model < 4 ?
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 308 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,psycho"); 314 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,sabre"); 445 char *name, *model, *compat, *regval; local 454 model = get_prop_val(find_prop(np, "model")); 463 if (!model) 464 model = ""; 479 log_printf("%-22.22s", model, 0); 480 log_printf(strlen(model) > 22 ? "+" : "", 0); 486 printf("bus=%d slot=%d name=%s model 530 char *model; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 127 char model[MAXSTRLEN]; local 232 /* Get the model of this card */ 235 &model, sizeof (model)); 237 (void) strcpy(model, ""); 240 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); 256 if (strlen(pci_card.model) > 10) 257 log_printf("%10.9s+", pci_card.model); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 154 char model[MAXSTRLEN]; local 269 /* Get the model of this card */ 272 &model, sizeof (model)); 274 (void) strcpy(model, ""); 277 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); 293 if (strlen(pci_card.model) > 10) 294 log_printf("%10.9s+", pci_card.model); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.c | 75 char model[MAXSTRLEN]; local 116 if ((err = erie_get_model(nodeh, model, sizeof (model))) 147 if (strlen(model) > 10) 148 log_printf("%10.9s+", model); 150 log_printf("%11s", model); 512 * This function copies the node's model into model string 516 erie_get_model(picl_nodehdl_t nodeh, char model[], int size) argument 521 /* Get the model o [all...] |
H A D | ontario.c | 159 char model[MAXSTRLEN]; local 262 /* Get the model of this card */ 265 &model, sizeof (model)); 267 (void) strcpy(model, ""); 270 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); 286 if (strlen(pci_card.model) > 10) 287 log_printf("%10.9s+", pci_card.model); [all...] |
H A D | stpaul.c | 78 char model[MAXSTRLEN]; local 208 /* Get the model of this card */ 211 &model, sizeof (model)); 213 (void) strlcpy(model, "", sizeof (model)); 216 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); 232 if (strlen(pci_card.model) > 1 [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_cpu_p4.c | 63 uint_t p4_model; /* CPUID model */ 69 #define KMT_CPU_MODEL_PM_9 0x9 /* Pentium M, model 9 */ 70 #define KMT_CPU_MODEL_PM_D 0xd /* Pentium M, model d */ 325 "(model %x)\n", kmt_cpu_p4.p4_model); 353 cpu2flavor(uint_t vendor, uint_t family, uint_t model) argument 360 if (model == KMT_CPU_MODEL_PM_9 || model == KMT_CPU_MODEL_PM_D) 366 if (family == KMT_CPU_FAMILY_P4 && model < 3) 372 * If this is a model 3, then we've got a Prescott. On the 375 * wait for us to patch the debugger for each new P4 model, 395 uint_t vendor, family, model; local [all...] |
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 31 char **manufacturer, char **model, char **description, 175 char *manufacturer = NULL, *model = NULL, *description = NULL, local 193 snmp_printer_info(hostaddr, community, &manufacturer, &model, 226 if (model != NULL) 228 "printer.product", model, &error); 239 NP(manufacturer), NP(model), NP(description), NP(serial), 246 if (model != NULL) 247 free(model);
|
/illumos-gate/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-snmp.c | 26 hrDeviceDesc_to_info(char *string, char **manufacturer, char **model, argument 37 rc = ieee1284_devid_to_printer_info(string, manufacturer, model, 45 *model = strdup(s); 115 char **model, char **description, char **serial_no, 129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, 143 char **model, char **description, char **serial_no, 157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, 171 char **model, char **description, char **serial_no, 185 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, 199 char **manufacturer, char **model, cha 114 snmp_brother_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 142 snmp_ricoh_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 170 snmp_lexmark_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 198 snmp_xerox_phaser_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument 260 snmp_qms_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument 297 snmp_oki_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 325 snmp_hp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 353 snmp_ppm_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 376 snmp_prt_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 407 snmp_host_resource_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 426 snmp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument 482 char *hostname = av[i], *manufacturer = NULL, *model = NULL, local [all...] |
/illumos-gate/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 195 char *model, *defmodel = NULL; local 220 model = strtok(NULL, " \t\n"); 221 if ((model == NULL) || (*model == COMMENTCHAR)) { 222 model = xkblay = NULL; 239 defmodel = strdup(model); 245 defmodel = strdup(model); 258 model = defmodel; 265 if ((model != NULL) && (strcmp(model, " [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_common.c | 468 nfs_setopts(vnode_t *vp, model_t model, struct nfs_args *buf) argument 475 model = model; 478 STRUCT_SET_HANDLE(args, model, buf);
|
/illumos-gate/usr/src/tools/stabs/ |
H A D | main.c | 80 struct model_info *model; variable in typeref:struct:model_info 131 * Find model characteristics 133 for (model = models; model->name != NULL; model++) { 134 if (strcmp(model->name, model_name) == 0) 137 if (model->name == NULL) 151 for (model = models; model->name != NULL; model [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 228 uint_t model; local 232 model = ddi_model_convert_from(mode & FMODELS); 278 switch (model) { 324 switch (model) { 401 switch (model) { 472 switch (model) { 521 switch (model) { 551 switch (model) { 605 switch (model) {
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vercheck.c | 39 * The model value is expected to match the model in the flashprom node. 42 char *model; member in struct:obp_rev_table 169 check_timestamp(char *model, int tstamp) argument 174 for (ortp = obp_min_revs; ortp->model != NULL; ortp++) { 175 if (prom_strcmp(model, ortp->model) == 0) { 205 char vers[512], model[64]; local 208 static char model_name[] = "model"; 216 (void) prom_getprop(node, OBP_NAME, model); [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 224 sec_svc_loadrootnames(int flavor, int count, caddr_t **proots, model_t model) argument 233 model = model; 240 oallocsz = count * SIZEOF_PTR(model); 261 if (model != DATAMODEL_NATIVE) { 293 if (model != DATAMODEL_NATIVE) {
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 171 model_t model; local 176 model = get_udatamodel(); 177 STRUCT_INIT(info, model); 190 if (model == DATAMODEL_ILP32) { 220 model_t model; local 225 model = get_udatamodel(); 226 STRUCT_INIT(info, model); 239 if (model == DATAMODEL_ILP32) { 274 model_t model; local 280 model 332 model_t model; local 555 model_t model; local 608 model_t model; local 879 model_t model; local 962 model_t model; local 1155 model_t model; local 1227 model_t model; local 1304 model_t model; local [all...] |