Searched refs:cstat (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/share/examples/ses/srcs/
H A Dgetobjstat.c73 obj.cstat[0], obj.cstat[1], obj.cstat[2], obj.cstat[3]);
H A Deltsub.c177 stat2ascii(int eletype __unused, u_char *cstat) argument
181 scode = scode2ascii(cstat[0]);
184 (cstat[0] & 0x40) ? ", Prd.Fail" : "",
185 (cstat[0] & 0x20) ? ", Disabled" : "",
186 (cstat[0] & 0x10) ? ", Swapped" : "",
187 cstat[0], cstat[1], cstat[2], cstat[3]);
H A Dsetobjstat.c76 obj.cstat[i] = cvt;
H A Dgetencstat.c181 stat2ascii(objp[i].elm_type, ob.cstat));
/freebsd-current/usr.sbin/sesutil/
H A Dsesutil.c139 ses_status_to_ctrl(type, &o.cstat[0]);
143 slot = (struct ses_ctrl_dev_slot *) &o.cstat[0];
290 if ((es.cstat[0] & 0xf) == SES_OBJSTAT_NOACCESS)
366 print_extra_status(int eletype, u_char *cstat, int style) argument
369 if (cstat[0] & 0x40) {
372 if (cstat[0] & 0x20) {
375 if (cstat[0] & 0x10) {
381 if (cstat[2] & 0x02) {
384 if (cstat[2] & 0x20) {
390 (((0x7 & cstat[
[all...]
/freebsd-current/tests/sys/ses/
H A Ddestructive.c100 &elmstat.cstat[0]);
102 cslot = (struct ses_ctrl_dev_slot*)&elmstat.cstat[0];
116 (struct ses_status_dev_slot*)&elmstat.cstat[0];
187 &elmstat.cstat[0]);
189 cslot = (struct ses_ctrl_dev_slot*)&elmstat.cstat[0];
H A Dnondestructive.c170 (struct ses_status_common*)&e_status.cstat[0]);
374 ATF_CHECK_EQ(e_status.cstat[0], status >> 24);
/freebsd-current/contrib/lib9p/
H A Dgenacl.c237 * writing data or attributes. Pass in a null child/cstat if
246 struct stat *pstat, *cstat; local
257 cstat = args->aca_cstat;
287 assert(child == NULL || cstat != NULL);
288 assert(pstat != NULL || cstat != NULL);
311 * We should have child==NULL && cstat==NULL, so the
334 canswer = l9p_check_aces(cop, child, cstat,
408 if ((st = cstat) == NULL || (opmask & L9P_ACE_DELETE_CHILD))
/freebsd-current/sys/cam/scsi/
H A Dscsi_enc.h181 unsigned char cstat[4]; member in struct:encioc_elm_status
H A Dscsi_enc_safte.c1049 elms->cstat[0] = enc->enc_cache.elm_map[i].encstat[0];
1050 elms->cstat[1] = enc->enc_cache.elm_map[i].encstat[1];
1051 elms->cstat[2] = enc->enc_cache.elm_map[i].encstat[2];
1052 elms->cstat[3] = enc->enc_cache.elm_map[i].encstat[3];
1067 if ((elms->cstat[0] & SESCTL_CSEL) == 0)
1071 memcpy(&req.elm_stat, elms->cstat, sizeof(req.elm_stat));
H A Dscsi_enc_ses.c2773 memcpy(elms->cstat, &enc->enc_cache.elm_map[i].encstat, 4);
2784 if ((elms->cstat[0] & SESCTL_CSEL) == 0)
2789 memcpy(&req.elm_stat, elms->cstat, sizeof(req.elm_stat));
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math.c307 raidz_impl_kstat_t *cstat = (raidz_impl_kstat_t *)data; local
313 if (cstat == fstat) {
328 ptrdiff_t id = cstat - raidz_impl_kstats;
335 (u_longlong_t)cstat->gen[i]);
339 (u_longlong_t)cstat->rec[i]);
/freebsd-current/tools/regression/posixsem/
H A Dposixsem.c76 int pfd[2], cstat; local
93 cstat = func(arg);
94 write(pfd[1], &cstat, sizeof(cstat));
/freebsd-current/sys/dev/aic7xxx/
H A Daic7xxx.c5445 cam_status cstat; local
5450 cstat = aic_get_transaction_status(scb);
5451 if (cstat != CAM_REQ_CMP)
5557 cam_status cstat; local
5563 cstat = aic_get_transaction_status(scb);
5564 if (cstat != CAM_REQ_CMP)
5662 cam_status cstat; local
5667 cstat = aic_get_transaction_status(scb);
5668 if (cstat != CAM_REQ_CMP)
H A Daic79xx.c7354 cam_status cstat; local
7359 cstat = aic_get_transaction_status(scb);
7360 if (cstat != CAM_REQ_CMP)

Completed in 245 milliseconds