Symbol: lstate
bin/ps/extern.h
67
void lstate(struct pinfo *, VARENT *, enum mode);
bin/ps/keyword.c
149
VAR4("lstate", "STAT", LJUST|LWP, lstate),
sys/dev/ic/aic79xx.c
239
struct ahd_tmode_lstate *lstate,
sys/dev/ic/aic79xx.c
4526
struct ahd_tmode_lstate* lstate;
sys/dev/ic/aic79xx.c
4528
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic79xx.c
4529
if (lstate != NULL) {
sys/dev/ic/aic79xx.c
4530
ahd_queue_lstate_event(ahd, lstate,
sys/dev/ic/aic79xx.c
4534
ahd_send_lstate_events(ahd, lstate);
sys/dev/ic/aic79xx.c
5024
struct ahd_tmode_lstate* lstate;
sys/dev/ic/aic79xx.c
5026
lstate = tstate->enabled_luns[cur_lun];
sys/dev/ic/aic79xx.c
5027
if (lstate == NULL)
sys/dev/ic/aic79xx.c
5030
ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid,
sys/dev/ic/aic79xx.c
5032
ahd_send_lstate_events(ahd, lstate);
sys/dev/ic/aic79xx.c
5193
struct ahd_tmode_lstate *lstate;
sys/dev/ic/aic79xx.c
5195
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic79xx.c
5196
if (lstate != NULL) {
sys/dev/ic/aic79xx.c
5197
xpt_free_path(lstate->path);
sys/dev/ic/aic79xx.c
5198
free(lstate, M_DEVBUF);
sys/dev/ic/aic79xx.c
7702
struct ahd_tmode_lstate* lstate;
sys/dev/ic/aic79xx.c
7704
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx.c
7705
if (lstate == NULL)
sys/dev/ic/aic79xx.c
7708
ahd_queue_lstate_event(ahd, lstate, CAM_TARGET_WILDCARD,
sys/dev/ic/aic79xx.c
7710
ahd_send_lstate_events(ahd, lstate);
sys/dev/ic/aic79xx.c
8146
ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate,
sys/dev/ic/aic79xx.c
8152
xpt_freeze_devq(lstate->path, /*count*/1);
sys/dev/ic/aic79xx.c
8153
if (lstate->event_w_idx >= lstate->event_r_idx)
sys/dev/ic/aic79xx.c
8154
pending = lstate->event_w_idx - lstate->event_r_idx;
sys/dev/ic/aic79xx.c
8157
- (lstate->event_r_idx - lstate->event_w_idx);
sys/dev/ic/aic79xx.c
8167
lstate->event_r_idx = 0;
sys/dev/ic/aic79xx.c
8168
lstate->event_w_idx = 0;
sys/dev/ic/aic79xx.c
8169
xpt_release_devq(lstate->path, pending, /*runqueue*/FALSE);
sys/dev/ic/aic79xx.c
8173
xpt_print_path(lstate->path);
sys/dev/ic/aic79xx.c
8175
lstate->event_buffer[lstate->event_r_idx].event_type,
sys/dev/ic/aic79xx.c
8176
lstate->event_buffer[lstate->event_r_idx].event_arg);
sys/dev/ic/aic79xx.c
8177
lstate->event_r_idx++;
sys/dev/ic/aic79xx.c
8178
if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic79xx.c
8179
lstate->event_r_idx = 0;
sys/dev/ic/aic79xx.c
8180
xpt_release_devq(lstate->path, /*count*/1, /*runqueue*/FALSE);
sys/dev/ic/aic79xx.c
8183
event = &lstate->event_buffer[lstate->event_w_idx];
sys/dev/ic/aic79xx.c
8187
lstate->event_w_idx++;
sys/dev/ic/aic79xx.c
8188
if (lstate->event_w_idx == AHD_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic79xx.c
8189
lstate->event_w_idx = 0;
sys/dev/ic/aic79xx.c
8197
ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate)
sys/dev/ic/aic79xx.c
8202
while (lstate->event_r_idx != lstate->event_w_idx
sys/dev/ic/aic79xx.c
8203
&& (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) {
sys/dev/ic/aic79xx.c
8206
event = &lstate->event_buffer[lstate->event_r_idx];
sys/dev/ic/aic79xx.c
8207
SLIST_REMOVE_HEAD(&lstate->immed_notifies, sim_links.sle);
sys/dev/ic/aic79xx.c
8222
lstate->event_r_idx++;
sys/dev/ic/aic79xx.c
8223
if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic79xx.c
8224
lstate->event_r_idx = 0;
sys/dev/ic/aic79xx.c
9180
struct ahd_tmode_lstate **lstate,
sys/dev/ic/aic79xx.c
9194
*lstate = ahd->black_hole;
sys/dev/ic/aic79xx.c
9206
*lstate = NULL;
sys/dev/ic/aic79xx.c
9208
*lstate =
sys/dev/ic/aic79xx.c
9212
if (notfound_failure != 0 && *lstate == NULL)
sys/dev/ic/aic79xx.c
9223
struct ahd_tmode_lstate *lstate;
sys/dev/ic/aic79xx.c
9232
status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic79xx.c
9309
if (lstate != NULL) {
sys/dev/ic/aic79xx.c
9340
lstate = malloc(sizeof(*lstate), M_DEVBUF, M_NOWAIT);
sys/dev/ic/aic79xx.c
9341
if (lstate == NULL) {
sys/dev/ic/aic79xx.c
9347
memset(lstate, 0, sizeof(*lstate));
sys/dev/ic/aic79xx.c
9348
status = xpt_create_path(&lstate->path, /*periph*/NULL,
sys/dev/ic/aic79xx.c
9353
free(lstate, M_DEVBUF);
sys/dev/ic/aic79xx.c
9359
SLIST_INIT(&lstate->accept_tios);
sys/dev/ic/aic79xx.c
9360
SLIST_INIT(&lstate->immed_notifies);
sys/dev/ic/aic79xx.c
9364
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic79xx.c
9413
ahd->black_hole = lstate;
sys/dev/ic/aic79xx.c
9432
if (lstate == NULL) {
sys/dev/ic/aic79xx.c
9453
if (SLIST_FIRST(&lstate->accept_tios) != NULL) {
sys/dev/ic/aic79xx.c
9458
if (SLIST_FIRST(&lstate->immed_notifies) != NULL) {
sys/dev/ic/aic79xx.c
9470
xpt_free_path(lstate->path);
sys/dev/ic/aic79xx.c
9471
free(lstate, M_DEVBUF);
sys/dev/ic/aic79xx.c
9625
struct ahd_tmode_lstate *lstate;
sys/dev/ic/aic79xx.c
9638
lstate = NULL;
sys/dev/ic/aic79xx.c
9640
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx.c
9645
if (lstate == NULL)
sys/dev/ic/aic79xx.c
9646
lstate = ahd->black_hole;
sys/dev/ic/aic79xx.c
9648
atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
sys/dev/ic/aic79xx.c
9662
lstate == ahd->black_hole ? "(Black Holed)" : "");
sys/dev/ic/aic79xx.c
9664
SLIST_REMOVE_HEAD(&lstate->accept_tios, sim_links.sle);
sys/dev/ic/aic79xx.c
9666
if (lstate == ahd->black_hole) {
sys/dev/ic/aic79xx.c
9727
ahd->pending_device = lstate;
sys/dev/ic/aic7xxx.c
241
struct ahc_tmode_lstate *lstate,
sys/dev/ic/aic7xxx.c
3359
struct ahc_tmode_lstate* lstate;
sys/dev/ic/aic7xxx.c
3361
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic7xxx.c
3362
if (lstate != NULL) {
sys/dev/ic/aic7xxx.c
3363
ahc_queue_lstate_event(ahc, lstate,
sys/dev/ic/aic7xxx.c
3367
ahc_send_lstate_events(ahc, lstate);
sys/dev/ic/aic7xxx.c
3749
struct ahc_tmode_lstate* lstate;
sys/dev/ic/aic7xxx.c
3751
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
3752
if (lstate == NULL)
sys/dev/ic/aic7xxx.c
3755
ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid,
sys/dev/ic/aic7xxx.c
3757
ahc_send_lstate_events(ahc, lstate);
sys/dev/ic/aic7xxx.c
3938
struct ahc_tmode_lstate *lstate;
sys/dev/ic/aic7xxx.c
3940
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic7xxx.c
3941
if (lstate != NULL) {
sys/dev/ic/aic7xxx.c
3943
free(lstate, M_DEVBUF);
sys/dev/ic/aic7xxx.c
6029
struct ahc_tmode_lstate* lstate;
sys/dev/ic/aic7xxx.c
6031
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
6032
if (lstate == NULL)
sys/dev/ic/aic7xxx.c
6035
ahc_queue_lstate_event(ahc, lstate, CAM_TARGET_WILDCARD,
sys/dev/ic/aic7xxx.c
6037
ahc_send_lstate_events(ahc, lstate);
sys/dev/ic/aic7xxx.c
6164
ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate,
sys/dev/ic/aic7xxx.c
6170
xpt_freeze_devq(lstate->path, /*count*/1);
sys/dev/ic/aic7xxx.c
6171
if (lstate->event_w_idx >= lstate->event_r_idx)
sys/dev/ic/aic7xxx.c
6172
pending = lstate->event_w_idx - lstate->event_r_idx;
sys/dev/ic/aic7xxx.c
6175
- (lstate->event_r_idx - lstate->event_w_idx);
sys/dev/ic/aic7xxx.c
6185
lstate->event_r_idx = 0;
sys/dev/ic/aic7xxx.c
6186
lstate->event_w_idx = 0;
sys/dev/ic/aic7xxx.c
6187
xpt_release_devq(lstate->path, pending, /*runqueue*/FALSE);
sys/dev/ic/aic7xxx.c
6191
xpt_print_path(lstate->path);
sys/dev/ic/aic7xxx.c
6193
lstate->event_buffer[lstate->event_r_idx].event_type,
sys/dev/ic/aic7xxx.c
6194
lstate->event_buffer[lstate->event_r_idx].event_arg);
sys/dev/ic/aic7xxx.c
6195
lstate->event_r_idx++;
sys/dev/ic/aic7xxx.c
6196
if (lstate->event_r_idx == AHC_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic7xxx.c
6197
lstate->event_r_idx = 0;
sys/dev/ic/aic7xxx.c
6198
xpt_release_devq(lstate->path, /*count*/1, /*runqueue*/FALSE);
sys/dev/ic/aic7xxx.c
6201
event = &lstate->event_buffer[lstate->event_w_idx];
sys/dev/ic/aic7xxx.c
6205
lstate->event_w_idx++;
sys/dev/ic/aic7xxx.c
6206
if (lstate->event_w_idx == AHC_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic7xxx.c
6207
lstate->event_w_idx = 0;
sys/dev/ic/aic7xxx.c
6215
ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate)
sys/dev/ic/aic7xxx.c
6220
while (lstate->event_r_idx != lstate->event_w_idx
sys/dev/ic/aic7xxx.c
6221
&& (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) {
sys/dev/ic/aic7xxx.c
6224
event = &lstate->event_buffer[lstate->event_r_idx];
sys/dev/ic/aic7xxx.c
6225
SLIST_REMOVE_HEAD(&lstate->immed_notifies, sim_links.sle);
sys/dev/ic/aic7xxx.c
6240
lstate->event_r_idx++;
sys/dev/ic/aic7xxx.c
6241
if (lstate->event_r_idx == AHC_TMODE_EVENT_BUFFER_SIZE)
sys/dev/ic/aic7xxx.c
6242
lstate->event_r_idx = 0;
sys/dev/ic/aic7xxx.c
6786
struct ahc_tmode_lstate **lstate,
sys/dev/ic/aic7xxx.c
6800
*lstate = ahc->black_hole;
sys/dev/ic/aic7xxx.c
6812
*lstate = NULL;
sys/dev/ic/aic7xxx.c
6814
*lstate =
sys/dev/ic/aic7xxx.c
6818
if (notfound_failure != 0 && *lstate == NULL)
sys/dev/ic/aic7xxx.c
6828
struct ahc_tmode_lstate *lstate;
sys/dev/ic/aic7xxx.c
6838
status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic7xxx.c
6940
if (lstate != NULL) {
sys/dev/ic/aic7xxx.c
6971
lstate = malloc(sizeof(*lstate), M_DEVBUF, M_NOWAIT);
sys/dev/ic/aic7xxx.c
6972
if (lstate == NULL) {
sys/dev/ic/aic7xxx.c
6978
memset(lstate, 0, sizeof(*lstate));
sys/dev/ic/aic7xxx.c
6979
status = xpt_create_path(&lstate->path, /*periph*/NULL,
sys/dev/ic/aic7xxx.c
6984
free(lstate, M_DEVBUF);
sys/dev/ic/aic7xxx.c
6990
SLIST_INIT(&lstate->accept_tios);
sys/dev/ic/aic7xxx.c
6991
SLIST_INIT(&lstate->immed_notifies);
sys/dev/ic/aic7xxx.c
6995
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic7xxx.c
7047
ahc->black_hole = lstate;
sys/dev/ic/aic7xxx.c
7066
if (lstate == NULL) {
sys/dev/ic/aic7xxx.c
7087
if (SLIST_FIRST(&lstate->accept_tios) != NULL) {
sys/dev/ic/aic7xxx.c
7092
if (SLIST_FIRST(&lstate->immed_notifies) != NULL) {
sys/dev/ic/aic7xxx.c
7104
xpt_free_path(lstate->path);
sys/dev/ic/aic7xxx.c
7105
free(lstate, M_DEVBUF);
sys/dev/ic/aic7xxx.c
7266
struct ahc_tmode_lstate *lstate;
sys/dev/ic/aic7xxx.c
7279
lstate = NULL;
sys/dev/ic/aic7xxx.c
7281
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
7286
if (lstate == NULL)
sys/dev/ic/aic7xxx.c
7287
lstate = ahc->black_hole;
sys/dev/ic/aic7xxx.c
7289
atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios);
sys/dev/ic/aic7xxx.c
7303
lstate == ahc->black_hole ? "(Black Holed)" : "");
sys/dev/ic/aic7xxx.c
7305
SLIST_REMOVE_HEAD(&lstate->accept_tios, sim_links.sle);
sys/dev/ic/aic7xxx.c
7307
if (lstate == ahc->black_hole) {
sys/dev/ic/aic7xxx.c
7367
ahc->pending_device = lstate;
sys/net/if_l2tp.c
1356
int lstate;
sys/net/if_l2tp.c
1359
lstate = LINK_STATE_UP;
sys/net/if_l2tp.c
1361
lstate = LINK_STATE_DOWN;
sys/net/if_l2tp.c
1363
if_link_state_change(ifp, lstate);
usr.bin/scmdctl/common.c
425
common_get_lock_state(struct function_block *fb, int fd, bool debug, int ltype, uint8_t *lstate)
usr.bin/scmdctl/common.c
452
*lstate = b;
usr.bin/scmdctl/common.c
459
common_set_lock_state(struct function_block *fb, int fd, bool debug, int ltype, uint8_t lstate)
usr.bin/scmdctl/common.c
482
switch (lstate) {