Home
last modified time | relevance | path

Searched refs:sbp (Results 1 – 25 of 168) sorted by relevance

1234567

/external/blktrace/btt/
Dseek.c65 struct seek_bkt *sbp; in __insert() local
71 sbp = rb_entry(parent, struct seek_bkt, rb_node); in __insert()
72 if (sectors < sbp->sectors) in __insert()
74 else if (sectors > sbp->sectors) in __insert()
77 sbp->nseeks++; in __insert()
82 sbp = malloc(sizeof(struct seek_bkt)); in __insert()
83 sbp->nseeks = 1; in __insert()
84 sbp->sectors = sectors; in __insert()
86 rb_link_node(&sbp->rb_node, parent, p); in __insert()
87 rb_insert_color(&sbp->rb_node, root); in __insert()
[all …]
/external/libpcap/
Ddlpisubs.c143 struct sb_hdr *sbp; in pcap_process_pkts() local
176 sbp = &sbhdr; in pcap_process_pkts()
177 memcpy(sbp, bufp, sizeof(*sbp)); in pcap_process_pkts()
180 sbp = (struct sb_hdr *)bufp; in pcap_process_pkts()
181 pd->stat.ps_drop = sbp->sbh_drops; in pcap_process_pkts()
182 pk = bufp + sizeof(*sbp); in pcap_process_pkts()
183 bufp += sbp->sbh_totlen; in pcap_process_pkts()
184 origlen = sbp->sbh_origlen; in pcap_process_pkts()
185 caplen = sbp->sbh_msglen; in pcap_process_pkts()
195 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec; in pcap_process_pkts()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c216 sg_get_sense_key(const unsigned char * sbp, int sb_len) in sg_get_sense_key() argument
218 if ((NULL == sbp) || (sb_len < 2)) in sg_get_sense_key()
220 switch (sbp[0] & 0x7f) { in sg_get_sense_key()
223 return (sb_len < 3) ? -1 : (sbp[2] & 0xf); in sg_get_sense_key()
226 return sbp[1] & 0xf; in sg_get_sense_key()
299 sg_scsi_sense_desc_find(const unsigned char * sbp, int sb_len, in sg_scsi_sense_desc_find() argument
305 if ((sb_len < 8) || (0 == (add_sb_len = sbp[7]))) in sg_scsi_sense_desc_find()
307 if ((sbp[0] < 0x72) || (sbp[0] > 0x73)) in sg_scsi_sense_desc_find()
310 descp = &sbp[8]; in sg_scsi_sense_desc_find()
327 sg_get_sense_info_fld(const unsigned char * sbp, int sb_len, in sg_get_sense_info_fld() argument
[all …]
Dsg_cmds_basic.c120 const unsigned char * sbp, int slen, bool noisy, in sg_cmds_process_helper() argument
128 scat = sg_err_category_sense(sbp, slen); in sg_cmds_process_helper()
159 sg_get_sense_str(NULL, sbp, slen, (verbose > 1), in sg_cmds_process_helper()
187 int pt_res, int mx_di_len, const unsigned char * sbp, in sg_cmds_process_resp() argument
228 if (sbp && (slen > 7)) { in sg_cmds_process_resp()
229 resp_code = sbp[0] & 0x7f; in sg_cmds_process_resp()
233 if (SPC_SK_NO_SENSE != (0xf & sbp[2])) in sg_cmds_process_resp()
234 sg_err_category_sense(sbp, slen); in sg_cmds_process_resp()
236 if (SPC_SK_NO_SENSE != (0xf & sbp[1])) in sg_cmds_process_resp()
237 sg_err_category_sense(sbp, slen); in sg_cmds_process_resp()
[all …]
Dsg_pt_linux_nvme.c198 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_asc_ascq() local
209 memset(sbp, 0, n); in mk_sense_asc_ascq()
210 build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_asc_ascq()
223 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_from_nvme_status() local
240 memset(sbp, 0, n); in mk_sense_from_nvme_status()
241 build_sense_buffer(dsense, sbp, sk, asc, ascq); in mk_sense_from_nvme_status()
254 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_invalid_fld() local
267 memset(sbp, 0, n); in mk_sense_invalid_fld()
268 build_sense_buffer(dsense, sbp, SPC_SK_ILLEGAL_REQUEST, asc, 0); in mk_sense_invalid_fld()
279 sl = sbp[7] + 8; in mk_sense_invalid_fld()
[all …]
Dsg_io_linux.c181 return sg_scsi_normalize_sense(hp->sbp, hp->sb_len_wr, sshp); in sg_normalize_sense()
191 hp->driver_status, hp->sbp, hp->sb_len_wr, in sg_chk_n_print3()
215 hp->driver_status, hp->sbp, hp->sb_len_wr); in sg_err_category3()
/external/strace/tests-mx32/
Dioctl_sg_io_v3.c67 sg_io->sbp = (void *) (unsigned long) 0xfacefeedfffffff3ULL; in main()
104 sg_io->sbp, in main()
147 sg_io->sbp, in main()
212 sg_io->sbp, in main()
262 sg_io->sbp, in main()
311 sg_io->sbp, in main()
360 sg_io->sbp, in main()
404 sg_io->sbp, in main()
/external/strace/tests/
Dioctl_sg_io_v3.c67 sg_io->sbp = (void *) (unsigned long) 0xfacefeedfffffff3ULL; in main()
104 sg_io->sbp, in main()
147 sg_io->sbp, in main()
212 sg_io->sbp, in main()
262 sg_io->sbp, in main()
311 sg_io->sbp, in main()
360 sg_io->sbp, in main()
404 sg_io->sbp, in main()
/external/strace/tests-m32/
Dioctl_sg_io_v3.c67 sg_io->sbp = (void *) (unsigned long) 0xfacefeedfffffff3ULL; in main()
104 sg_io->sbp, in main()
147 sg_io->sbp, in main()
212 sg_io->sbp, in main()
262 sg_io->sbp, in main()
311 sg_io->sbp, in main()
360 sg_io->sbp, in main()
404 sg_io->sbp, in main()
/external/icu/icu4c/source/data/lang/
Dsbp.txt4 sbp{
39 sbp{"Ishisangu"}
Dmzn.txt184 sbp{"سانگوو"}
Dlrc.txt183 sbp{"سانگوٙ"}
Dfr_CA.txt66 sbp{"sangu"}
Duz_Cyrl.txt250 sbp{"сангуча"}
Daz_Cyrl.txt303 sbp{"сангу"}
/external/kernel-headers/original/scsi/
Dsg.h55 void __user *sbp; /* [i], [*o] points to sense_buffer memory */ member
84 compat_uptr_t sbp; /* [i], [*o] points to sense_buffer memory */ member
/external/strace/
Dsg_io_v3.c119 PRINT_FIELD_PTR(", ", *entering_sg_io, sbp); in decode_response()
151 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, sbp, sg_io.sb_len_wr, 0, tcp); in decode_response()
/external/icu/icu4c/source/data/unit/
Dsbp.txt4 sbp{
/external/icu/icu4c/source/data/zone/
Dsbp.txt4 sbp{
/external/golang-protobuf/proto/
Dtable_merge.go522 sbp := src.toBytes()
523 if *sbp != nil {
525 if !isProto3 || len(*sbp) > 0 {
526 *dbp = append([]byte{}, *sbp...)
/external/toybox/toys/other/
Deject.c44 header->sbp = (void *)toybuf; in remove_scsi()
/external/cldr/tools/java/org/unicode/cldr/tool/
DdelimiterFixes.txt8 …Makonde(kde); Meru(mer); Nama(naq); North Ndebele(nd); Samburu(saq); Sangu(sbp); Shambala(ksb); Ta…
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c844 io_hdr.sbp = sense_buffer; in sg3_inq()
908 io_hdr.sbp = sense_b; in do_logs()
1876 io_hdr.sbp = sense_b; in read_capacity()
1915 io_hdr.sbp = sense_b; in sync_cache()
2050 io_hdr.sbp = senseBuff; in sg_read()
2116 io_hdr.sbp = senseBuff; in sg_write()
2699 io_hdr.sbp = sense_b; in do_scsi_inq()
3386 io_hdr.sbp = sense_b; in do_simple_inq()
3441 io_hdr.sbp = sense_b; in do_modes()
3894 io_hdr.sbp = sense_buffer; in do_scsi_read_buffer()
[all …]
/external/icu/icu4c/source/data/curr/
Dsbp.txt4 sbp{
/external/icu/icu4c/source/data/locales/
Dsbp.txt4 sbp{

1234567