Home
last modified time | relevance | path

Searched refs:sbp (Results 1 – 25 of 157) 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.c129 struct sb_hdr *sbp; in pcap_process_pkts() local
162 sbp = &sbhdr; in pcap_process_pkts()
163 memcpy(sbp, bufp, sizeof(*sbp)); in pcap_process_pkts()
166 sbp = (struct sb_hdr *)bufp; in pcap_process_pkts()
167 pd->stat.ps_drop = sbp->sbh_drops; in pcap_process_pkts()
168 pk = bufp + sizeof(*sbp); in pcap_process_pkts()
169 bufp += sbp->sbh_totlen; in pcap_process_pkts()
170 origlen = sbp->sbh_origlen; in pcap_process_pkts()
171 caplen = sbp->sbh_msglen; in pcap_process_pkts()
181 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec; in pcap_process_pkts()
[all …]
/external/u-boot/fs/reiserfs/
Dreiserfs_private.h57 #define sb_root_block(sbp) (__le32_to_cpu((sbp)->s_root_block)) argument
58 #define sb_journal_block(sbp) (__le32_to_cpu((sbp)->s_journal_block)) argument
59 #define set_sb_journal_block(sbp,v) ((sbp)->s_journal_block = __cpu_to_le32(v)) argument
60 #define sb_journal_size(sbp) (__le32_to_cpu((sbp)->s_journal_size)) argument
61 #define sb_blocksize(sbp) (__le16_to_cpu((sbp)->s_blocksize)) argument
62 #define set_sb_blocksize(sbp,v) ((sbp)->s_blocksize = __cpu_to_le16(v)) argument
63 #define sb_version(sbp) (__le16_to_cpu((sbp)->s_version)) argument
64 #define set_sb_version(sbp,v) ((sbp)->s_version = __cpu_to_le16(v)) argument
/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.txt3 sbp{
38 sbp{"Ishisangu"}
Dfr_CA.txt55 sbp{"sangu"}
Dmzn.txt183 sbp{"سانگوو"}
Dlrc.txt182 sbp{"سانگوٙ"}
Duz_Cyrl.txt249 sbp{"сангуча"}
/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.txt3 sbp{
/external/icu/icu4c/source/data/zone/
Dsbp.txt3 sbp{
/external/syzkaller/vendor/github.com/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/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/kernel-headers/original/scsi/
Dsg.h55 void __user *sbp; /* [i], [*o] points to sense_buffer memory */ member
/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.txt3 sbp{

1234567