/freebsd/sys/dev/drm2/ |
H A D | drm_buffer.c | 133 int objsize, void *stack_obj) in drm_buffer_read_object() argument 139 if (idx + objsize <= PAGE_SIZE) { in drm_buffer_read_object() 147 objsize - beginsz); in drm_buffer_read_object() 152 drm_buffer_advance(buf, objsize); in drm_buffer_read_object()
|
H A D | drm_buffer.h | 114 int objsize, void *stack_obj);
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_object.c | 24 int objsize; in i2d_ASN1_OBJECT() local 29 objsize = ASN1_object_size(0, a->length, V_ASN1_OBJECT); in i2d_ASN1_OBJECT() 30 if (pp == NULL || objsize == -1) in i2d_ASN1_OBJECT() 31 return objsize; in i2d_ASN1_OBJECT() 34 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT() 50 return objsize; in i2d_ASN1_OBJECT()
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | fs.c | 363 uint64_t daclcount, flags, gen, gid, links, mode, parent, objsize, uid; in fs_populate_sattrs() local 378 objsize = sb->st_size; in fs_populate_sattrs() 384 objsize = 1; /* .. */ in fs_populate_sattrs() 399 objsize++; in fs_populate_sattrs() 413 objsize = strlen(target); in fs_populate_sattrs() 490 fs_populate_attr(fs, attrbuf, &objsize, ZPL_SIZE, &bonussz); in fs_populate_sattrs() 514 assert(bonussz + objsize <= DN_OLD_MAX_BONUSLEN); in fs_populate_sattrs() 515 fs_populate_varszattr(fs, attrbuf, target, objsize, in fs_populate_sattrs() 517 sahdr->sa_lengths[1] = (uint16_t)objsize; in fs_populate_sattrs()
|
/freebsd/lib/libmemstat/ |
H A D | memstat_malloc.c | 479 int numzones, objsize, allocsize, ret; in memstat_malloc_zone_init_kvm() local 493 objsize = __offsetof(struct memstat_kmemzone, kz_zone) + in memstat_malloc_zone_init_kvm() 496 allocsize = objsize * memstat_malloc_zone_count; in memstat_malloc_zone_init_kvm() 510 kz = (struct memstat_kmemzone *)((char *)kz + objsize); in memstat_malloc_zone_init_kvm()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_mem2.c | 511 lut->objsize = nmd->pools[NETMAP_BUF_POOL]._objsize; in netmap_mem2_get_lut() 1332 netmap_config_obj_allocator(struct netmap_obj_pool *p, u_int objtotal, u_int objsize) in netmap_config_obj_allocator() argument 1341 p->r_objsize = objsize; in netmap_config_obj_allocator() 1345 if (objsize >= MAX_CLUSTSIZE) { in netmap_config_obj_allocator() 1347 nm_prerr("unsupported allocation for %d bytes", objsize); in netmap_config_obj_allocator() 1351 i = (objsize & (LINE_ROUND - 1)); in netmap_config_obj_allocator() 1354 objsize += LINE_ROUND - i; in netmap_config_obj_allocator() 1356 if (objsize < p->objminsize || objsize > p->objmaxsize) { in netmap_config_obj_allocator() 1358 objsize, p->objminsize, p->objmaxsize); in netmap_config_obj_allocator() 1373 u_int delta, used = i * objsize; in netmap_config_obj_allocator() [all …]
|
H A D | netmap_freebsd.c | 1038 vm_size_t objsize, vm_object_t *objp, int prot) in netmap_mmap_single() argument 1047 (intmax_t )*foff, (intmax_t )objsize, objp, prot); in netmap_mmap_single() 1068 &netmap_cdev_pager_ops, objsize, prot, in netmap_mmap_single()
|
/freebsd/sbin/ipfw/ |
H A D | nptv6.c | 271 olh->objsize = sizeof(*cfg); in nptv6_create() 437 qsort(olh + 1, olh->count, olh->objsize, nptv6name_cmp); in nptv6_foreach() 442 cfg = (ipfw_nptv6_cfg *)((caddr_t)cfg + olh->objsize); in nptv6_foreach()
|
H A D | nat64stl.c | 287 olh->objsize = sizeof(*cfg); in nat64stl_create() 538 qsort(olh + 1, olh->count, olh->objsize, in nat64stl_foreach() 545 olh->objsize); in nat64stl_foreach()
|
H A D | nat64clat.c | 251 olh->objsize = sizeof(*cfg); in nat64clat_create() 522 qsort(olh + 1, olh->count, olh->objsize, in nat64clat_foreach() 529 olh->objsize); in nat64clat_foreach()
|
H A D | nat64lsn.c | 533 olh->objsize = sizeof(*cfg); in nat64lsn_create() 887 qsort(olh + 1, olh->count, olh->objsize, in nat64lsn_foreach() 894 olh->objsize); in nat64lsn_foreach()
|
H A D | tables.c | 1731 qsort(olh + 1, olh->count, olh->objsize, in tables_foreach() 1739 olh->objsize); in tables_foreach() 2036 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize); in ipfw_list_ta() 2077 qsort(v, olh->count, olh->objsize, compare_values); in ipfw_list_values() 2082 v = (ipfw_table_value *)((caddr_t)v + olh->objsize); in ipfw_list_values()
|
H A D | nat.c | 1101 qsort(olh + 1, olh->count, olh->objsize, natname_cmp); in nat_foreach() 1107 olh->objsize); in nat_foreach()
|
/freebsd/sys/vm/ |
H A D | vm_mmap.c | 1249 vm_mmap_vnode(struct thread *td, vm_size_t objsize, in vm_mmap_vnode() argument 1291 vm_pager_update_writecount(obj, 0, objsize); in vm_mmap_vnode() 1319 objsize = round_page(va.va_size); in vm_mmap_vnode() 1323 obj = vm_pager_allocate(OBJT_VNODE, vp, objsize, prot, foff, in vm_mmap_vnode() 1348 vm_pager_update_writecount(obj, objsize, 0); in vm_mmap_vnode() 1361 vm_mmap_cdev(struct thread *td, vm_size_t objsize, vm_prot_t prot, in vm_mmap_cdev() argument 1403 error = dsw->d_mmap_single(cdev, foff, objsize, objp, (int)prot); in vm_mmap_cdev() 1406 obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff, in vm_mmap_cdev()
|
/freebsd/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ioctl.py | 271 objsize = len(bytes(self.obj_list[0])) 273 objsize = 0 277 objsize=objsize,
|
/freebsd/sys/contrib/openzfs/lib/libuutil/ |
H A D | uu_avl.c | 66 uu_avl_pool_create(const char *name, size_t objsize, size_t nodeoffset, in uu_avl_pool_create() argument 73 nodeoffset + sizeof (uu_avl_node_t) > objsize || in uu_avl_pool_create() 92 pp->uap_objsize = objsize; in uu_avl_pool_create()
|
H A D | uu_list.c | 63 uu_list_pool_create(const char *name, size_t objsize, in uu_list_pool_create() argument 70 nodeoffset + sizeof (uu_list_node_t) > objsize) { in uu_list_pool_create() 88 pp->ulp_objsize = objsize; in uu_list_pool_create()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64stl_control.c | 375 olh->objsize = sizeof(ipfw_nat64stl_cfg); in nat64stl_list() 376 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64stl_list() 453 ctlv->objsize = sizeof(uint64_t); in nat64stl_stats()
|
H A D | nat64clat_control.c | 370 olh->objsize = sizeof(ipfw_nat64clat_cfg); in nat64clat_list() 371 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64clat_list() 448 ctlv->objsize = sizeof(uint64_t); in nat64clat_stats()
|
H A D | nat64lsn_control.c | 381 olh->objsize = sizeof(ipfw_nat64lsn_cfg); in nat64lsn_list() 382 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64lsn_list() 515 ctlv->objsize = sizeof(uint64_t); in nat64lsn_stats()
|
/freebsd/lib/libvmmapi/ |
H A D | vmmapi.c | 470 size_t objsize, len; in vm_setup_memory() local 484 objsize = VM_HIGHMEM_BASE + ctx->memsegs[VM_MEMSEG_HIGH].size; in vm_setup_memory() 488 objsize = memsize; in vm_setup_memory() 491 error = vm_alloc_memseg(ctx, VM_SYSMEM, objsize, NULL); in vm_setup_memory() 499 len = VM_MMAP_GUARD_SIZE + objsize + VM_MMAP_GUARD_SIZE; in vm_setup_memory()
|
/freebsd/sys/kern/ |
H A D | uipc_shm.c | 1643 shm_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t objsize, in shm_mmap() argument 1656 rl_cookie = shm_rangelock_rlock(shmfd, 0, objsize); in shm_mmap() 1693 objsize > OFF_MAX || in shm_mmap() 1695 foff > OFF_MAX - objsize) { in shm_mmap() 1713 error = shm_mmap_large(shmfd, map, addr, objsize, prot, in shm_mmap() 1718 objsize); in shm_mmap() 1720 error = vm_mmap_object(map, addr, objsize, prot, maxprot, flags, in shm_mmap() 1726 objsize); in shm_mmap()
|
/freebsd/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 794 olh->objsize = sizeof(ipfw_nptv6_cfg); in nptv6_list() 795 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nptv6_list() 868 ctlv->objsize = sizeof(uint64_t); in nptv6_stats()
|
/freebsd/sys/netinet/ |
H A D | ip_fw.h | 1029 uint16_t objsize; /* Single object size */ member 1143 uint32_t objsize; /* Size of one object */ member
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_iface.c | 521 olh->objsize = sizeof(ipfw_iface_info); in list_ifaces()
|