Home
last modified time | relevance | path

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

123456

/external/syslinux/extlinux/
Dxfs_sb.h239 #define XFS_SB_VERSION_NUM(sbp) ((sbp)->sb_versionnum & XFS_SB_VERSION_NUMBITS) argument
241 static inline int xfs_sb_good_version(xfs_sb_t *sbp) in xfs_sb_good_version() argument
244 if (sbp->sb_versionnum >= XFS_SB_VERSION_1 && in xfs_sb_good_version()
245 sbp->sb_versionnum <= XFS_SB_VERSION_3) in xfs_sb_good_version()
249 if (XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) { in xfs_sb_good_version()
250 if ((sbp->sb_versionnum & ~XFS_SB_VERSION_OKREALBITS) || in xfs_sb_good_version()
251 ((sbp->sb_versionnum & XFS_SB_VERSION_MOREBITSBIT) && in xfs_sb_good_version()
252 (sbp->sb_features2 & ~XFS_SB_VERSION2_OKREALBITS))) in xfs_sb_good_version()
255 if ((sbp->sb_versionnum & XFS_SB_VERSION_SHAREDBIT) && in xfs_sb_good_version()
256 sbp->sb_shared_vn > XFS_SB_MAX_SHARED_VN) in xfs_sb_good_version()
[all …]
/external/blktrace/btt/
Dseek.c64 struct seek_bkt *sbp; in __insert() local
70 sbp = rb_entry(parent, struct seek_bkt, rb_node); in __insert()
71 if (sectors < sbp->sectors) in __insert()
73 else if (sectors > sbp->sectors) in __insert()
76 sbp->nseeks++; in __insert()
81 sbp = malloc(sizeof(struct seek_bkt)); in __insert()
82 sbp->nseeks = 1; in __insert()
83 sbp->sectors = sectors; in __insert()
85 rb_link_node(&sbp->rb_node, parent, p); in __insert()
86 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/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-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/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/icu/icu4c/source/data/lang/
Dsbp.txt3 sbp{
38 sbp{"Ishisangu"}
Dmzn.txt183 sbp{"سانگوو"}
Dlrc.txt182 sbp{"سانگوٙ"}
Daz_Cyrl.txt302 sbp{"сангу"}
/external/syslinux/efi/
Dmain.c45 EFI_SERVICE_BINDING *sbp; in efi_create_binding() local
61 bguid, (void **)&sbp, in efi_create_binding()
76 status = uefi_call_wrapper(sbp->CreateChild, 2, sbp, (EFI_HANDLE *)&child); in efi_create_binding()
82 image_handle, sbp, in efi_create_binding()
88 b->binding = sbp; in efi_create_binding()
95 uefi_call_wrapper(sbp->DestroyChild, 2, sbp, child); in efi_create_binding()
/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/syslinux/core/fs/xfs/
Dxfs_sb.h169 #define XFS_SB_VERSION_NUM(sbp) ((sbp)->sb_versionnum & XFS_SB_VERSION_NUMBITS) argument
/external/icu/icu4c/source/data/unit/
Dsbp.txt3 sbp{
/external/icu/icu4c/source/data/zone/
Dsbp.txt3 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/fio/engines/
Dsg.c49 hdr->sbp = sc->sb; in sgio_hdr_init()
402 hdr.sbp = sb; in fio_sgio_read_capacity()
750 snprintf(msgchunk, MAXMSGCHUNK, " %02x", hdr->sbp[i]); in fio_sgio_errdetails()
/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{
/external/icu/icu4c/source/data/locales/
Dsbp.txt3 sbp{

123456