Searched refs:size (Results 1 - 25 of 8792) sorted by last modified time

1234567891011>>

/freebsd-current/usr.sbin/bhyve/
H A Dtpm_ppi_qemu.c47 "Wrong size of tpm_ppi_qemu");
57 const uint64_t addr, const int size, uint64_t *const val, void *const arg1,
64 if ((addr & (size - 1)) != 0) {
65 warnx("%s: unaligned %s access @ %16lx [size = %x]", __func__,
66 (dir == MEM_F_READ) ? "read" : "write", addr, size);
74 if (off > TPM_PPI_SIZE || off + size > TPM_PPI_SIZE) {
78 assert(size == 1 || size == 2 || size == 4 || size
56 tpm_ppi_mem_handler(struct vcpu *const vcpu __unused, const int dir, const uint64_t addr, const int size, uint64_t *const val, void *const arg1, const long arg2 __unused) argument
[all...]
/freebsd-current/sys/netinet/
H A Dtcp_subr.c266 * Target size of TCP PCB hash tables. Must be a power of two.
1137 * Used to size the tcp_inpcb hash buckets.
1140 maketcp_hashsize(int size) argument
1148 hashsize = 1 << fls(size);
1150 if (hashsize < size) {
1151 hashsize = 1 << (fls(size) - 1);
1541 * Auto tune the hash size based on maxsockets.
1572 printf("%s: WARNING: TCB hash size not a power of 2, "
2881 /* Now adjust down the size of the outer IP header */
3801 size_t size; local
[all...]
H A Din_fib_dxr.c384 uint32_t size = chunk_size(da, fdesc); local
386 uint32_t *l = (uint32_t *) &da->range_tbl[fdesc->base + size];
401 uint32_t size = chunk_size(da, fdesc); local
408 if (cdp->cd_hash != hash || cdp->cd_cur_size != size ||
410 sizeof(struct range_entry_long) * size))
419 for (cdp = NULL, i = size; cdp == NULL && i < UNUSED_BUCKETS; i++)
424 if (empty_cdp->cd_max_size >= size && (cdp == NULL ||
427 if (empty_cdp->cd_max_size == size)
434 size * sizeof(struct range_entry_long));
436 da->rtbl_top -= size;
504 uint32_t size = chunk_size(da, fdesc); local
[all...]
/freebsd-current/sys/netinet/tcp_stacks/
H A Drack.c481 static int32_t rack_ctor(void *mem, int32_t size, void *arg, int32_t how);
487 static void rack_dtor(void *mem, int32_t size, void *arg);
879 printf("Clearing RACK out size array\n");
1083 "What is the min burst size for pacing (0 disables)?");
1128 "What size is the max for TSO segments in pacing and burst mitigation");
1624 "Percentage of segment size needed in a sack 800 = 80.0?");
1629 "Retransmit sending size controls (valid values 0, 1, 2 default=1)?");
2301 ether += 14; /* eheader size 6+6+2 */
2306 ether += 14; /* eheader size 6+6+2 */
5788 * our policer settings and possibly expand or collapse the bucket size an
25856 rack_ctor(void *mem, int32_t size, void *arg, int32_t how) argument
25863 rack_dtor(void *mem, int32_t size, void *arg) argument
[all...]
/freebsd-current/sys/geom/eli/
H A Dg_eli.c105 &g_eli_alloc_sz, 0, "Use uma(9) for allocations of this size or smaller.");
393 G_ELI_DEBUG(0, "Autoresize is turned off, old size: %jd.",
446 G_ELI_DEBUG(0, "Device %s size changed from %jd to %jd.", epp->name,
943 * Allocate a data buffer. If the size fits within our swap-sized buffers,
957 " size (%d)", sz, g_eli_alloc_sz));
1257 size_t size; local
1278 size = preload_fetch_size(keyfile);
1279 if (size == 0) {
1280 G_ELI_DEBUG(0, "Cannot find key file size for %s.",
1292 g_eli_crypto_hmac_update(ctx, data, size);
1301 size_t size; local
[all...]
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clbio.c70 static struct buf *nfs_getcacheblk(struct vnode *vp, daddr_t bn, int size,
116 int i, error, nextoff, size, toff, count, npages; local
211 * of bytes. Note that due to pending writes, size may be 0. This
215 size = count - uio.uio_resid;
222 if (nextoff <= size) {
229 } else if (size > toff) {
234 vm_page_set_valid_range(m, 0, size - toff);
683 * Unlike VREG files, whos buffer size ( bp->b_bcount ) is
742 int error, iomode, must_commit, size, wsize; local
749 size
1261 nfs_getcacheblk(struct vnode *vp, daddr_t bn, int size, struct thread *td) argument
[all...]
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_tom.c1072 * Determine the receive window size for a socket.
1122 MPASS(cp->l2t_idx >= 0 && cp->l2t_idx < vi->adapter->vres.l2t.size);
H A Dt4_ddp.c482 KASSERT(tp->rcv_wnd >= n, ("%s: negative window size", __func__));
593 * too so we round up the size to 16.
697 KASSERT(tp->rcv_wnd >= len, ("%s: negative window size", __func__));
914 KASSERT(tp->rcv_wnd >= len, ("%s: negative window size", __func__));
1390 * The DDP page size is unrelated to the VM page size. We combine
1392 * page size possible. This is the largest of the four sizes in
1466 * The DDP page size is unrelated to the VM page size. We combine
1468 * page size possibl
[all...]
/freebsd-current/sys/dev/cxgbe/common/
H A Dcommon.h301 u32 size; /* size of log */ member in struct:devlog_params
369 unsigned int sf_size; /* serial flash size in bytes */
585 int size, void *rpl, bool sleep_ok, int timeout);
586 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size,
591 const void *cmd, int size, void *rpl,
594 return t4_wr_mbox_meat_timeout(adap, mbox, cmd, size, rpl, true,
599 int size, void *rpl)
601 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true);
605 int size, voi
590 t4_wr_mbox_timeout(struct adapter *adap, int mbox, const void *cmd, int size, void *rpl, int timeout) argument
598 t4_wr_mbox(struct adapter *adap, int mbox, const void *cmd, int size, void *rpl) argument
604 t4_wr_mbox_ns(struct adapter *adap, int mbox, const void *cmd, int size, void *rpl) argument
937 t4vf_wr_mbox(struct adapter *adap, const void *cmd, int size, void *rpl) argument
[all...]
/freebsd-current/
H A DMakefile.inc12874 usr.bin/size \
2989 usr.bin/size \
/freebsd-current/usr.sbin/bhyve/amd64/
H A De820.c131 fwcfg_item->size = count * sizeof(struct e820_entry);
483 e820_fwcfg_item->size, e820_fwcfg_item->data);
/freebsd-current/usr.bin/netstat/
H A Dnhops.c113 size_t size; member in struct:nhop_map
204 if (idx >= map->size) {
207 if (map->size == 0)
210 new_size = map->size * 2;
218 memset(&map->ptr[map->size], 0, (new_size - map->size) * sizeof(struct nhop_entry));
219 map->size = new_size;
230 if (idx >= map->size)
/freebsd-current/sys/sys/
H A Dlinker.h59 size_t size; member in struct:linker_symval
82 size_t size; /* size of file */ member in struct:linker_file
84 size_t ctors_size; /* size of .ctors/.init_array */
91 size_t dtors_size; /* size of .dtors/.fini_array */
108 size_t exidx_size; /* Unwind data index table size */
247 #define MODINFOMD_CTORS_SIZE 0x000b /* size of .ctors */
355 size_t size; /* size in bytes */ member in struct:kld_file_stat_1
365 size_t size; /* siz member in struct:kld_file_stat
[all...]
/freebsd-current/sys/riscv/riscv/
H A Dpmap.c328 static int pmap_change_attr_locked(vm_offset_t va, vm_size_t size, int mode);
784 * Calculate the size of the pv head table for superpages.
1009 pmap_kenter(vm_offset_t sva, vm_size_t size, vm_paddr_t pa, int mode __unused) argument
1020 KASSERT((size & PAGE_MASK) == 0,
1024 while (size != 0) {
1035 size -= PAGE_SIZE;
1041 pmap_kenter_device(vm_offset_t sva, vm_size_t size, vm_paddr_t pa) argument
1043 pmap_kenter(sva, size, pa, VM_MEMATTR_DEVICE);
1063 pmap_kremove_device(vm_offset_t sva, vm_size_t size) argument
1070 KASSERT((size
3545 pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_object_t object, vm_pindex_t pindex, vm_size_t size) argument
3682 pmap_zero_page_area(vm_page_t m, int off, int size) argument
4545 pmap_mapbios(vm_paddr_t pa, vm_size_t size) argument
4552 pmap_unmapbios(void *p, vm_size_t size) argument
4589 pmap_change_attr(vm_offset_t va, vm_size_t size, int mode) argument
4600 pmap_change_attr_locked(vm_offset_t va, vm_size_t size, int mode) argument
4793 pmap_align_superpage(vm_object_t object, vm_ooffset_t offset, vm_offset_t *addr, vm_size_t size) argument
[all...]
/freebsd-current/sys/kern/
H A Dvfs_mount.c152 mount_init(void *mem, int size, int flags) argument
168 mount_fini(void *mem, int size) argument
2726 * The size of the buffer has to be specified
H A Dsysv_shm.c126 static int shmget_allocate_segment(struct thread *td, key_t key, size_t size,
128 static int shmget_existing(struct thread *td, size_t size, int shmflg,
182 "Maximum shared memory segment size");
184 "Minimum shared memory segment size");
245 vm_size_t size; local
251 size = round_page(shmseg->u.shm_segsz);
252 shm_committed -= btoc(size);
259 racct_sub_cred(shmseg->cred, RACCT_SHMSIZE, size);
269 vm_size_t size; local
277 size
386 vm_size_t size; local
655 shmget_existing(struct thread *td, size_t size, int shmflg, int mode, int segnum) argument
681 shmget_allocate_segment(struct thread *td, key_t key, size_t size, int mode) argument
771 size_t size; member in struct:shmget_args
812 size_t size; local
[all...]
H A Dkern_linker.c791 file->size);
931 common_size = symval.size;
965 * Round the symbol size up to align.
1451 stat->size = lf->size;
1475 lf->address, lf->size, lf->filename);
1541 lookup.symsize = symval.size;
1550 lookup.symsize = symval.size;
/freebsd-current/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c56 struct mlx4_en_tx_ring **pring, u32 size,
90 ring->size = size;
91 ring->size_mask = size - 1;
97 tmp = size * sizeof(struct mlx4_en_tx_info);
108 for (x = 0; x != size; x++) {
120 en_dbg(DRV, priv, "Allocated tx_info ring at addr:%p size:%d\n",
123 ring->buf_size = ALIGN(size * ring->stride, MLX4_EN_PAGE_SIZE);
141 en_dbg(DRV, priv, "Allocated TX ring (addr:%p) - buf:%p size:%d "
142 "buf_size:%d dma:%llx\n", ring, ring->buf, ring->size,
55 mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring **pring, u32 size, u16 stride, int node, int queue_idx) argument
359 int size = cq->size; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dspa.c358 uint64_t size, alloc, cap, version; local
371 size = metaslab_class_get_space(mc);
372 size += metaslab_class_get_space(spa_special_class(spa));
373 size += metaslab_class_get_space(spa_dedup_class(spa));
374 size += metaslab_class_get_space(spa_embedded_log_class(spa));
377 spa_prop_add_list(*nvp, ZPOOL_PROP_SIZE, NULL, size, src);
380 size - alloc, src);
391 cap = (size == 0) ? 0 : (alloc * 100 / size);
2689 * Maximum number of inflight bytes is the log2 fraction of the arc size
2734 size_t size = BP_GET_PSIZE(bp); local
[all...]
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c592 linux_cdev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, argument
642 unsigned long size)
652 m != NULL && m->pindex < OFF_TO_IDX(address + size);
916 unsigned size; local
919 size = IOCPARM_LEN(cmd);
921 if (size > 0) {
929 task->bsd_ioctl_len = size;
960 if (size > 0) {
1206 vm_ooffset_t *offset, vm_size_t size, struct vm_object **object,
1238 vmap->vm_end = size;
641 zap_vma_ptes(struct vm_area_struct *vma, unsigned long address, unsigned long size) argument
1205 linux_file_mmap_single(struct file *fp, const struct file_operations *fop, vm_ooffset_t *offset, vm_size_t size, struct vm_object **object, int nprot, bool is_shared, struct thread *td) argument
1597 linux_file_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
1776 vmmap_add(void *addr, unsigned long size) argument
1806 _ioremap_attr(vm_paddr_t phys_addr, unsigned long size, int attr) argument
1837 size_t size; local
2590 io_mapping_create_wc(resource_size_t base, unsigned long size) argument
[all...]
/freebsd-current/sys/arm64/arm64/
H A Ddebug_monitor.c265 kdb_cpu_set_watchpoint(vm_offset_t addr, vm_size_t size, int access) argument
283 return (dbg_setup_watchpoint(NULL, addr, size, dbg_access));
287 kdb_cpu_clr_watchpoint(vm_offset_t addr, vm_size_t size) argument
290 return (dbg_remove_watchpoint(NULL, addr, size));
502 vm_size_t size, enum dbg_access_t access)
517 switch(size) {
531 printf("Unsupported address size for watchpoint: %zu\n", size);
571 vm_size_t size)
501 dbg_setup_watchpoint(struct debug_monitor_state *monitor, vm_offset_t addr, vm_size_t size, enum dbg_access_t access) argument
570 dbg_remove_watchpoint(struct debug_monitor_state *monitor, vm_offset_t addr, vm_size_t size) argument
/freebsd-current/libexec/rtld-elf/
H A Drtld.h324 unsigned int num_alloc; /* Allocated size of the array */
362 void *xmalloc_aligned(size_t size, size_t align, size_t offset);
H A Drtld.c291 size_t tls_last_size; /* Static TLS size of last module */
294 Elf_Addr tls_dtv_generation = 1; /* Used to detect when dtv size changes */
1565 /* Determine size of dynsym table (equal to nchains of sysv hash) */
2176 * First estimate the size of the results.
2416 /* The page size is required by the dynamic memory allocator. */
2455 /* The page size is required by the dynamic memory allocator. */
2486 size_t len, size; local
2490 size = aux_info[AT_PAGESIZESLEN]->a_un.a_val;
2495 size = sizeof(psa);
2497 /* As a fallback, retrieve the base page size
5406 size_t size, ralign; local
5477 size_t size, ralign; local
6402 calloc(size_t num, size_t size) argument
[all...]
/freebsd-current/libexec/rtld-elf/riscv/
H A Drtld_machdep.h93 #define round(size, align) \
94 (((size) + (align) - 1) & ~((align) - 1))
95 #define calculate_first_tls_offset(size, align, offset) \
97 #define calculate_tls_offset(prev_offset, prev_size, size, align, offset) \
/freebsd-current/libexec/rtld-elf/powerpc64/
H A Drtld_machdep.h75 #define round(size, align) \
76 (((size) + (align) - 1) & ~((align) - 1))
77 #define calculate_first_tls_offset(size, align, offset) \
79 #define calculate_tls_offset(prev_offset, prev_size, size, align, offset) \

Completed in 337 milliseconds

1234567891011>>