Searched refs:page_length (Results 1 - 13 of 13) sorted by relevance
/openbsd-current/sys/dev/pci/drm/i915/ |
H A D | i915_gem.c | 415 * page_length = bytes to copy for this page 419 unsigned page_length = PAGE_SIZE - page_offset; local 420 page_length = remain < page_length ? remain : page_length; 433 user_data, page_length)) { 438 remain -= page_length; 439 user_data += page_length; 440 offset += page_length; 594 * page_length 598 unsigned int page_length = PAGE_SIZE - page_offset; local [all...] |
/openbsd-current/sbin/scsi/ |
H A D | scsi.c | 711 u_char page_length; member in struct:mode_page_header 771 sizeof(*mph) + mph->page_length); 795 sizeof(*mh) + mh->bdl + sizeof(*mph) + mph->page_length,
|
/openbsd-current/sys/scsi/ |
H A D | mpath_hds.c | 246 _2btol(vpd->hdr.page_length) >= sizeof(vpd->state) &&
|
H A D | scsiconf.c | 1153 len = MIN(sizeof(pg->list), _2btol(pg->hdr.page_length)); 1194 len = sizeof(*hdr) + _2btol(hdr->page_length); 1287 len = _2btol(hdr->page_length);
|
H A D | scsi_all.h | 300 u_int8_t page_length[2]; member in struct:scsi_vpd_hdr
|
H A D | sd.c | 1502 len = _2btol(pg->page_length); 1562 if (_2btol(pg->hdr.page_length) == SI_PG_DISK_LIMITS_LEN_THIN) {
|
H A D | scsi_base.c | 935 _2btol(((struct scsi_vpd_hdr *)buf)->page_length);
|
/openbsd-current/sys/dev/pci/ |
H A D | mpii.c | 927 pagelen = min(sizeof(vpg), hdr.page_length * 4); 1691 hdr.page_length = sizeof(ipg) / 4; 2171 hdr.page_length = sizeof(mpg) / 4; 2199 hdr.page_length = sizeof(ipg) / 4; 2300 DNPRINTF(MPII_D_MISC, "%s: page_version: 0x%02x page_length: %d " 2303 cp->config_header.page_length, 2335 int page_length; local 2341 page_length = ISSET(flags, MPII_PG_EXTENDED) ? 2342 lemtoh16(&ehdr->ext_page_length) : hdr->page_length; 2344 if (len > sc->sc_request_size - sizeof(*cq) || len < page_length * [all...] |
H A D | mpiireg.h | 1029 u_int8_t page_length; member in struct:mpii_cfg_hdr
|
/openbsd-current/sys/dev/ata/ |
H A D | atascsi.c | 740 _lto2b(sizeof(pg.list) - fat, pg.hdr.page_length); 766 _lto2b(sizeof(ap->ap_identify.serial), pg.hdr.page_length); 818 _lto2b(pg_len, pg.hdr.page_length); 838 _lto2b(sizeof(pg) - sizeof(pg.hdr), pg.hdr.page_length); 879 _lto2b(SI_PG_DISK_LIMITS_LEN_THIN, pg.hdr.page_length); 910 _lto2b(sizeof(pg) - sizeof(pg.hdr), pg.hdr.page_length); 936 _lto2b(sizeof(pg) - sizeof(pg.hdr), pg.hdr.page_length);
|
/openbsd-current/sys/dev/ic/ |
H A D | mpi.c | 337 sc->sc_vol_page = mallocarray(sc->sc_cfg_hdr.page_length, 346 sc->sc_cfg_hdr.page_length * 4) != 0) { 523 pagelen = hdr.page_length * 4; /* dwords to bytes */ 1624 len = hdr.page_length * 4; 2682 pagelen = hdr.page_length * 4; /* dwords to bytes */ 2721 pagelen = hdr.page_length * 4; /* dwords to bytes */ 2825 DNPRINTF(MPI_D_MISC, "%s: page_version: 0x%02x page_length: %d " 2828 cp->config_header.page_length, 2860 int page_length; local 2866 page_length [all...] |
H A D | ami.c | 2012 if (_2btol(vpdbuf->hdr.page_length) < sizeof ser) 2013 ser[_2btol(vpdbuf->hdr.page_length)] = '\0'; 2260 if (_2btol(vpdbuf->hdr.page_length) < 2262 ser[_2btol(vpdbuf->hdr.page_length)] =
|
H A D | mpireg.h | 1006 u_int8_t page_length; member in struct:mpi_cfg_hdr
|
Completed in 377 milliseconds