Home
last modified time | relevance | path

Searched refs:cstat (Results 1 – 13 of 13) sorted by relevance

/freebsd-10-stable/usr.sbin/sesutil/
Deltsub.c189 stat2sbuf(int eletype, u_char *cstat) in stat2sbuf() argument
197 if (cstat[0] & 0x40) in stat2sbuf()
199 if (cstat[0] & 0x20) in stat2sbuf()
201 if (cstat[0] & 0x10) in stat2sbuf()
205 if (cstat[2] & 0x02) in stat2sbuf()
207 if (cstat[2] & 0x20) in stat2sbuf()
211 if (cstat[2] & 0x02) in stat2sbuf()
213 if (cstat[2] & 0x20) in stat2sbuf()
218 (((0x7 & cstat[1]) << 8) + cstat[2]) * 10); in stat2sbuf()
221 if (cstat[2]) { in stat2sbuf()
[all …]
Dsesutil.c121 o.cstat[0] |= 0x80; in do_led()
124 o.cstat[3] |= 0x20; in do_led()
126 o.cstat[3] &= 0xdf; in do_led()
129 o.cstat[2] |= 0x02; in do_led()
131 o.cstat[2] &= 0xfd; in do_led()
415 scode2ascii(e_status.cstat[0]), e_status.cstat[0], in objmap()
416 e_status.cstat[1], e_status.cstat[2], in objmap()
417 e_status.cstat[3]); in objmap()
426 extra = stat2sbuf(e_ptr[j].elm_type, e_status.cstat); in objmap()
/freebsd-10-stable/share/examples/ses/srcs/
Deltsub.c178 stat2ascii(int eletype __unused, u_char *cstat) in stat2ascii() argument
182 scode = scode2ascii(cstat[0]); in stat2ascii()
185 (cstat[0] & 0x40) ? ", Prd.Fail" : "", in stat2ascii()
186 (cstat[0] & 0x20) ? ", Disabled" : "", in stat2ascii()
187 (cstat[0] & 0x10) ? ", Swapped" : "", in stat2ascii()
188 cstat[0], cstat[1], cstat[2], cstat[3]); in stat2ascii()
Dgetobjstat.c74 obj.cstat[0], obj.cstat[1], obj.cstat[2], obj.cstat[3]); in main()
Dsetobjstat.c77 obj.cstat[i] = cvt; in main()
Dgetencstat.c182 stat2ascii(objp[i].elm_type, ob.cstat)); in main()
/freebsd-10-stable/sys/cam/scsi/
Dscsi_enc_safte.c1059 elms->cstat[0] = enc->enc_cache.elm_map[i].encstat[0]; in safte_get_elm_status()
1060 elms->cstat[1] = enc->enc_cache.elm_map[i].encstat[1]; in safte_get_elm_status()
1061 elms->cstat[2] = enc->enc_cache.elm_map[i].encstat[2]; in safte_get_elm_status()
1062 elms->cstat[3] = enc->enc_cache.elm_map[i].encstat[3]; in safte_get_elm_status()
1077 if ((elms->cstat[0] & SESCTL_CSEL) == 0) in safte_set_elm_status()
1081 memcpy(&req.elm_stat, elms->cstat, sizeof(req.elm_stat)); in safte_set_elm_status()
Dscsi_enc.h146 unsigned char cstat[4]; member
Dscsi_enc_ses.c2624 memcpy(elms->cstat, &enc->enc_cache.elm_map[i].encstat, 4); in ses_get_elm_status()
2635 if ((elms->cstat[0] & SESCTL_CSEL) == 0) in ses_set_elm_status()
2640 memcpy(&req.elm_stat, elms->cstat, sizeof(req.elm_stat)); in ses_set_elm_status()
/freebsd-10-stable/tools/regression/posixsem/
Dposixsem.c106 int pfd[2], cstat; in child_worker() local
123 cstat = func(arg); in child_worker()
124 write(pfd[1], &cstat, sizeof(cstat)); in child_worker()
/freebsd-10-stable/usr.bin/patch/
Dinp.c181 struct stat cstat; in plan_a() local
197 (snprintf(lbuf, sizeof(lbuf), f, a1, a2, a3), stat(lbuf, &cstat) == 0) in plan_a()
/freebsd-10-stable/sys/dev/aic7xxx/
Daic7xxx.c5494 cam_status cstat; in ahc_search_qinfifo() local
5499 cstat = aic_get_transaction_status(scb); in ahc_search_qinfifo()
5500 if (cstat != CAM_REQ_CMP) in ahc_search_qinfifo()
5606 cam_status cstat; in ahc_search_qinfifo() local
5612 cstat = aic_get_transaction_status(scb); in ahc_search_qinfifo()
5613 if (cstat != CAM_REQ_CMP) in ahc_search_qinfifo()
5714 cam_status cstat; in ahc_search_untagged_queues() local
5719 cstat = aic_get_transaction_status(scb); in ahc_search_untagged_queues()
5720 if (cstat != CAM_REQ_CMP) in ahc_search_untagged_queues()
Daic79xx.c7424 cam_status cstat; in ahd_done_with_status() local
7429 cstat = aic_get_transaction_status(scb); in ahd_done_with_status()
7430 if (cstat != CAM_REQ_CMP) in ahd_done_with_status()