Home
last modified time | relevance | path

Searched refs:pcs (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp2.c372 register CLSTATUS *pcs; in s_load_class() local
392 } else if ((pcs = search_cstatus(class))) { in s_load_class()
396 freeclass (pcs->class); in s_load_class()
397 pcs->class = pc; in s_load_class()
426 } else if ((pcs = new_cstatus(pc))) { in s_load_class()
428 pcs->status = CS_REJECTED; in s_load_class()
429 load_str (&pcs->rej_reason, CUZ_NEW_DEST); in s_load_class()
430 time (&pcs->rej_date); in s_load_class()
450 _unload_class(CLSTATUS *pcs) in _unload_class() argument
452 freeclass (pcs->class); in _unload_class()
[all …]
H A Ddisp4.c45 register CLSTATUS *pcs; in s_accept_dest() local
67 else if ((pcs = search_cstatus(destination))) in s_accept_dest()
68 if ((pcs->status & CS_REJECTED) == 0) in s_accept_dest()
71 pcs->status &= ~CS_REJECTED; in s_accept_dest()
72 (void) time (&pcs->rej_date); in s_accept_dest()
95 register CLSTATUS *pcs; in s_reject_dest() local
120 else if ((pcs = search_cstatus(destination))) in s_reject_dest()
121 if (pcs->status & CS_REJECTED) in s_reject_dest()
124 pcs->status |= CS_REJECTED; in s_reject_dest()
125 (void) time (&pcs->rej_date); in s_reject_dest()
[all …]
H A Dstatus.c338 CLSTATUS *pcs; in load_cstatus() local
419 (pcs = search_cstatus(name))) { in load_cstatus()
420 pcs->rej_reason = rej_reason; in load_cstatus()
421 pcs->rej_date = rej_date; in load_cstatus()
422 pcs->status |= status; in load_cstatus()
667 CLSTATUS *pcs = CStatus[i]; in dump_cstatus() local
669 if (pcs->class->name) in dump_cstatus()
676 NB(pcs->class->name)); in dump_cstatus()
680 (pcs->status & CS_REJECTED ? in dump_cstatus()
685 (void)fdprintf(fd, "%ld\n", pcs->rej_date); in dump_cstatus()
[all …]
H A Dvalidate.c79 register CLSTATUS *pcs = 0; in _validate() local
127 ((pcs = search_cstatus(prs->request->destination)) != NULL) && in _validate()
128 pcs->class->members) in _validate()
150 if (prs && prs->request && prs->request->form && (pps || pcs)) { in _validate()
383 pcs in _validate()
384 && (pcs->status & CS_REJECTED) in _validate()
399 if (pcs) in _validate()
400 n = lenlist(pcs->class->members); in _validate()
411 if (pcs) { in _validate()
414 for (pn = pcs->class->members; *pn; pn++) in _validate()
H A Drequeue.c70 register CLSTATUS *pcs; in queue_attract() local
87 ((pcs = search_cstatus(PRS->request->destination)) != NULL) \ in queue_attract()
88 && searchlist(PPS->printer->name, pcs->class->members) \ in queue_attract()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_checkpoint.c164 spa_checkpoint_get_stats(spa_t *spa, pool_checkpoint_stat_t *pcs) in spa_checkpoint_get_stats() argument
169 bzero(pcs, sizeof (pool_checkpoint_stat_t)); in spa_checkpoint_get_stats()
176 pcs->pcs_state = CS_CHECKPOINT_DISCARDING; in spa_checkpoint_get_stats()
178 pcs->pcs_state = CS_CHECKPOINT_EXISTS; in spa_checkpoint_get_stats()
180 pcs->pcs_space = spa->spa_checkpoint_info.sci_dspace; in spa_checkpoint_get_stats()
181 pcs->pcs_start_time = spa->spa_checkpoint_info.sci_timestamp; in spa_checkpoint_get_stats()
H A Dvdev_label.c403 pool_checkpoint_stat_t pcs; in root_vdev_actions_getprogress() local
404 if (spa_checkpoint_get_stats(spa, &pcs) == 0) { in root_vdev_actions_getprogress()
406 ZPOOL_CONFIG_CHECKPOINT_STATS, (uint64_t *)&pcs, in root_vdev_actions_getprogress()
407 sizeof (pcs) / sizeof (uint64_t)); in root_vdev_actions_getprogress()
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-pcmcia.p5m42 file path=kernel/drv/$(ARCH64)/pcs group=sys
51 driver name=pcs
/illumos-gate/usr/src/uts/intel/pcs/
H A DMakefile41 MODULE = pcs
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c284 pcic_socket_t *pcs; member
6462 pcic_debounce(pcic_socket_t *pcs) in pcic_debounce() argument
6466 pcic_mutex_enter(&pcs->pcs_pcic->pc_lock); in pcic_debounce()
6467 pcs->pcs_flags &= ~PCS_STARTING; in pcic_debounce()
6468 stschng = pcic_getb(pcs->pcs_pcic, pcs->pcs_socket, in pcic_debounce()
6470 status = pcic_getb(pcs->pcs_pcic, pcs->pcs_socket, in pcic_debounce()
6473 pcic_err(pcs->pcs_pcic->dip, 8, in pcic_debounce()
6476 (void *)pcs, (void *) pcs->pcs_pcic->dip, pcs->pcs_socket, in pcic_debounce()
6477 status, stschng, pcs->pcs_flags); in pcic_debounce()
6480 pcic_putb(pcs->pcs_pcic, pcs->pcs_socket, PCIC_CARD_STATUS_CHANGE, in pcic_debounce()
[all …]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c6242 pool_checkpoint_stat_t *pcs = NULL; in zpool_has_checkpoint() local
6247 ZPOOL_CONFIG_CHECKPOINT_STATS, (uint64_t **)&pcs, &c); in zpool_has_checkpoint()
6249 if (pcs == NULL || pcs->pcs_state == CS_NONE) in zpool_has_checkpoint()
6252 assert(pcs->pcs_state == CS_CHECKPOINT_EXISTS || in zpool_has_checkpoint()
6253 pcs->pcs_state == CS_CHECKPOINT_DISCARDING); in zpool_has_checkpoint()
6748 print_checkpoint_scan_warning(pool_scan_stat_t *ps, pool_checkpoint_stat_t *pcs) in print_checkpoint_scan_warning() argument
6750 if (ps == NULL || pcs == NULL) in print_checkpoint_scan_warning()
6753 if (pcs->pcs_state == CS_NONE || in print_checkpoint_scan_warning()
6754 pcs->pcs_state == CS_CHECKPOINT_DISCARDING) in print_checkpoint_scan_warning()
6757 assert(pcs->pcs_state == CS_CHECKPOINT_EXISTS); in print_checkpoint_scan_warning()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dgcc-attr-list.h140 GCC_ATTR(pcs)
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.c1332 u32 pcs; in e1000_get_pcs_speed_and_duplex_82575() local
1342 pcs = E1000_READ_REG(hw, E1000_PCS_LSTAT); in e1000_get_pcs_speed_and_duplex_82575()
1347 if (pcs & E1000_PCS_LSTS_LINK_OK) { in e1000_get_pcs_speed_and_duplex_82575()
1351 if (pcs & E1000_PCS_LSTS_SPEED_1000) in e1000_get_pcs_speed_and_duplex_82575()
1353 else if (pcs & E1000_PCS_LSTS_SPEED_100) in e1000_get_pcs_speed_and_duplex_82575()
1359 if (pcs & E1000_PCS_LSTS_DUPLEX_FULL) in e1000_get_pcs_speed_and_duplex_82575()
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel454 DRV_KMODS += pcs
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mac_hw.h2009 uint32_t pcs : 1; member
2017 uint32_t pcs : 1;
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules1650 $(OBJS_DIR)/%.o: $(UTSBASE)/common/pcmcia/pcs/%.c
H A DMakefile.files1803 PCS_OBJS += pcs.o
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c6745 uint64_t *pcs = &buf[1], *fps; in dtrace_action_ustack() local
6746 char *str = (char *)&pcs[nframes]; in dtrace_action_ustack()
6803 mstate, state, pcs[i], fps[i]); in dtrace_action_ustack()