| /freebsd-13-stable/sys/contrib/openzfs/lib/libspl/include/sys/ |
| HD | vtoc.h | 103 long p_size; /* # of blocks in partition */ member 124 diskaddr_t p_size; /* # of blocks in partition */ member 160 v.v_part[i].p_size = (long)extv.v_part[i].p_size; \ 184 extv.v_part[i].p_size = \ 185 (diskaddr_t)(unsigned long)v.v_part[i].p_size; \ 197 int32_t p_size; /* # of blocks in partition */ member 231 v.v_part[i].p_size = (unsigned)v32.v_part[i].p_size; \ 256 extv.v_part[i].p_size = (diskaddr_t)v32.v_part[i].p_size; \ 281 v32.v_part[i].p_size = (unsigned)v.v_part[i].p_size; \ 310 v32.v_part[i].p_size = (unsigned)extv.v_part[i].p_size; \
|
| HD | dklabel.h | 111 int32_t p_size; /* # of blocks in partition */ member
|
| /freebsd-13-stable/sbin/bsdlabel/ |
| HD | bsdlabel.c | 307 if (lp->d_partitions[i].p_size) in fixlabel() 313 dp->p_size = lp->d_secperunit - dp->p_offset; in fixlabel() 397 if (lab.d_partitions[i].p_size) in writelabel() 498 if (lab.d_partitions[i].p_size) in readlabel() 503 if (lab.d_partitions[i].p_size) in readlabel() 572 if (pp->p_size) { in display() 574 (u_long)pp->p_size, (u_long)pp->p_offset); in display() 1025 pp->p_size = v; in getasciipartspec() 1183 pp->p_size = lp->d_secperunit; in checklabel() 1194 size = pp->p_size; in checklabel() [all …]
|
| /freebsd-13-stable/stand/common/ |
| HD | bcache.c | 217 size_t i, nblk, p_size, r_size, complete, ra; in read_strategy() local 284 p_size = MIN(r_size, nblk - i); /* read at least those blocks */ in read_strategy() 313 ra = bc->bcache_nblks - BHASH(bc, p_blk + p_size); in read_strategy() 326 if (ra + p_size > BCACHE_MAXIOWRA) in read_strategy() 327 ra = BCACHE_MAXIOWRA - p_size; in read_strategy() 329 p_size += ra; in read_strategy() 335 for (i = 0; i < p_size; i++) { in read_strategy() 350 p_size * bcache_blksize, p_buf, &r_size); in read_strategy() 358 if (r_size < p_size) in read_strategy() 359 bcache_rablks += (p_size - r_size); in read_strategy()
|
| HD | part.c | 498 if (part->p_size == 0) in ptable_bsdread() 505 le32toh(part->p_size) - 1; in ptable_bsdread()
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libefi/ |
| HD | rdwr_efi.c | 922 vtoc->efi_parts[i].p_size = in efi_read() 1042 (vtoc->efi_parts[i].p_size != 0)) { in check_input() 1046 i, vtoc->efi_parts[i].p_size); in check_input() 1082 vtoc->efi_parts[i].p_size < in check_input() 1085 vtoc->efi_parts[i].p_size > in check_input() 1092 vtoc->efi_parts[i].p_size); in check_input() 1102 isize = vtoc->efi_parts[i].p_size; in check_input() 1103 jsize = vtoc->efi_parts[j].p_size; in check_input() 1200 data_size = efi_label->efi_parts[data_index].p_size; in efi_use_whole_disk() 1254 if ((efi_label->efi_parts[resv_index].p_size != EFI_MIN_RESV_SIZE) || in efi_use_whole_disk() [all …]
|
| /freebsd-13-stable/sys/geom/part/ |
| HD | g_part_bsd.c | 167 entry->part.p_size = gpp->gpp_size; in g_part_bsd_add() 238 entry->part.p_size = basetable->gpt_last + 1; in g_part_bsd_create() 320 entry->part.p_size = msize; in bsd_set_rawsize() 339 entry->part.p_size = gpp->gpp_size; in g_part_bsd_resize() 443 part.p_size = le32dec(p + 0); in g_part_bsd_read() 449 if (part.p_size == 0) in g_part_bsd_read() 457 part.p_offset - table->offset + part.p_size - 1); in g_part_bsd_read() 516 le32enc(p + 0, entry->part.p_size); in g_part_bsd_write()
|
| /freebsd-13-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore_cxt.c | 170 struct ilt_cfg_pair p_size; member 456 return ILT_PAGE_IN_BYTES(p_cli->p_size.val); in ecore_cxt_get_ilt_page_size() 497 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in ecore_cxt_set_proto_cid_count() 558 u32 ilt_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in ecore_ilt_cli_blk_fill() 607 cxts_per_p = ILT_PAGE_IN_BYTES(p_cli->p_size.val) / in ecore_ilt_get_dynamic_line_cnt() 927 ilt_page_size = ILT_PAGE_IN_BYTES(p_cli->p_size.val); in ecore_cxt_cfg_ilt_compute_excess() 987 psz = ILT_PAGE_IN_BYTES(p_src->p_size.val); in ecore_cxt_src_t2_alloc() 1300 clients[ILT_CLI_CDUC].p_size.reg = ILT_CFG_REG(CDUC, P_SIZE); in ecore_cxt_mngr_alloc() 1304 clients[ILT_CLI_QM].p_size.reg = ILT_CFG_REG(QM, P_SIZE); in ecore_cxt_mngr_alloc() 1308 clients[ILT_CLI_TM].p_size.reg = ILT_CFG_REG(TM, P_SIZE); in ecore_cxt_mngr_alloc() [all …]
|
| /freebsd-13-stable/sys/dev/drm2/ttm/ |
| HD | ttm_bo_manager.c | 104 unsigned long p_size) in ttm_bo_man_init() argument 110 ret = drm_mm_init(&rman->mm, 0, p_size); in ttm_bo_man_init()
|
| HD | ttm_bo_api.h | 569 unsigned long p_size);
|
| HD | ttm_bo_driver.h | 164 int (*init)(struct ttm_mem_type_manager *man, unsigned long p_size);
|
| HD | ttm_bo.c | 1436 unsigned long p_size) in ttm_bo_init_mm() argument 1456 ret = (*man->func->init)(man, p_size); in ttm_bo_init_mm() 1462 man->size = p_size; in ttm_bo_init_mm()
|
| /freebsd-13-stable/usr.bin/mkimg/ |
| HD | bsd.c | 99 le32enc(&dp->p_size, imgsz); in bsd_write() 103 le32enc(&dp->p_size, part->size); in bsd_write()
|
| /freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
| HD | efi_partition.h | 303 diskaddr_t p_size; /* size in blocks */ member 353 diskaddr_t p_size; member
|
| /freebsd-13-stable/lib/libc/gen/ |
| HD | disklabel.c | 130 pp->p_size = 0; in getdiskbyname() 132 pp->p_size = l; in getdiskbyname()
|
| /freebsd-13-stable/sbin/newfs/ |
| HD | newfs.c | 367 if (pp->p_size == 0) in main() 373 getfssize(&fssize, special, pp->p_size, reserved); in main() 404 pp->p_size *= secperblk; in main()
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
| HD | libzfs_pool_os.c | 277 vtoc->efi_parts[0].p_size = slice_size; in zpool_label_disk() 291 vtoc->efi_parts[8].p_size = resv; in zpool_label_disk()
|
| /freebsd-13-stable/sys/geom/ |
| HD | geom_bsd_enc.c | 59 d->p_size = le32dec(ptr + 0); in bsd_partition_le_dec() 138 le32enc(ptr + 0, d->p_size); in bsd_partition_le_enc()
|
| /freebsd-13-stable/sys/sys/disk/ |
| HD | bsd.h | 122 uint32_t p_size; /* number of sectors in partition */ member
|
| /freebsd-13-stable/sys/netinet/ |
| HD | sctp_asconf.c | 2648 uint16_t p_size, addr_size; in sctp_compose_asconf() local 2655 p_size = sizeof(struct sctp_ipv6addr_param); in sctp_compose_asconf() 2659 p_size = sizeof(struct sctp_ipv4addr_param); in sctp_compose_asconf() 2662 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf() 2664 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf() 2693 uint16_t p_size, addr_size; in sctp_compose_asconf() local 2711 p_size = sizeof(struct sctp_ipv6addr_param); in sctp_compose_asconf() 2722 p_size = sizeof(struct sctp_ipv4addr_param); in sctp_compose_asconf() 2736 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf() 2738 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf()
|
| /freebsd-13-stable/sbin/routed/ |
| HD | rdisc.c | 685 int p_size, in send_rdisc() argument 752 p, p_size); in send_rdisc() 754 if (0 > sendto(rdisc_sock, p, p_size, flags, in send_rdisc()
|
| /freebsd-13-stable/contrib/libarchive/libarchive/ |
| HD | archive_read_open_filename.c | 361 dl.d_partitions[DISKPART(st.st_rdev)].p_size > 0) { in file_open()
|
| /freebsd-13-stable/stand/i386/boot2/ |
| HD | boot2.c | 520 !d->d_partitions[dsk.part].p_size) { in dskread()
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libzfs_core/ |
| HD | libzfs_core.abi | 3026 <var-decl name='p_size' type-id='804dc465' visibility='default'/>
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
| HD | libzfs.abi | 7470 <var-decl name='p_size' type-id='804dc465' visibility='default'/>
|