| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_buffer.c | 165 int objsize, void *stack_obj) in drm_buffer_read_object() argument 171 if (idx + objsize <= PAGE_SIZE) { in drm_buffer_read_object() 179 objsize - beginsz); in drm_buffer_read_object() 184 drm_buffer_advance(buf, objsize); in drm_buffer_read_object()
|
| H A D | drm_buffer.h | 116 int objsize, void *stack_obj);
|
| /freebsd-12.1/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-12.1/sys/dev/netmap/ |
| H A D | netmap_mem2.c | 1327 p->r_objsize = objsize; in netmap_config_obj_allocator() 1331 if (objsize >= MAX_CLUSTSIZE) { in netmap_config_obj_allocator() 1337 i = (objsize & (LINE_ROUND - 1)); in netmap_config_obj_allocator() 1340 objsize += LINE_ROUND - i; in netmap_config_obj_allocator() 1342 if (objsize < p->objminsize || objsize > p->objmaxsize) { in netmap_config_obj_allocator() 1344 objsize, p->objminsize, p->objmaxsize); in netmap_config_obj_allocator() 1359 u_int delta, used = i * objsize; in netmap_config_obj_allocator() 1374 clustsize = clustentries * objsize; in netmap_config_obj_allocator() 1377 objsize, clustsize, clustentries); in netmap_config_obj_allocator() 1388 p->_objsize = objsize; in netmap_config_obj_allocator() [all …]
|
| H A D | netmap_freebsd.c | 1074 vm_size_t objsize, vm_object_t *objp, int prot) in netmap_mmap_single() argument 1083 (intmax_t )*foff, (intmax_t )objsize, objp, prot); in netmap_mmap_single() 1104 &netmap_cdev_pager_ops, objsize, prot, in netmap_mmap_single()
|
| H A D | netmap_kern.h | 658 uint32_t objsize; /* buffer size */ member 1593 #define NETMAP_BUF_SIZE(_na) ((_na)->na_lut.objsize)
|
| /freebsd-12.1/sys/vm/ |
| H A D | vm_mmap.c | 1203 vm_mmap_vnode(struct thread *td, vm_size_t objsize, in vm_mmap_vnode() argument 1245 vnode_pager_update_writecount(obj, 0, objsize); in vm_mmap_vnode() 1273 objsize = round_page(va.va_size); in vm_mmap_vnode() 1277 obj = vm_pager_allocate(OBJT_VNODE, vp, objsize, prot, foff, in vm_mmap_vnode() 1301 vnode_pager_update_writecount(obj, objsize, 0); in vm_mmap_vnode() 1314 vm_mmap_cdev(struct thread *td, vm_size_t objsize, vm_prot_t prot, in vm_mmap_cdev() argument 1356 error = dsw->d_mmap_single(cdev, foff, objsize, objp, (int)prot); in vm_mmap_cdev() 1359 obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff, in vm_mmap_cdev()
|
| /freebsd-12.1/sbin/ipfw/ |
| H A D | nptv6.c | 274 olh->objsize = sizeof(*cfg); in nptv6_create() 440 qsort(olh + 1, olh->count, olh->objsize, nptv6name_cmp); in nptv6_foreach() 445 cfg = (ipfw_nptv6_cfg *)((caddr_t)cfg + olh->objsize); in nptv6_foreach()
|
| H A D | nat64clat.c | 254 olh->objsize = sizeof(*cfg); in nat64clat_create() 521 qsort(olh + 1, olh->count, olh->objsize, in nat64clat_foreach() 528 olh->objsize); in nat64clat_foreach()
|
| H A D | nat64stl.c | 287 olh->objsize = sizeof(*cfg); in nat64stl_create() 537 qsort(olh + 1, olh->count, olh->objsize, in nat64stl_foreach() 544 olh->objsize); in nat64stl_foreach()
|
| H A D | nat64lsn.c | 525 olh->objsize = sizeof(*cfg); in nat64lsn_create() 870 qsort(olh + 1, olh->count, olh->objsize, in nat64lsn_foreach() 877 olh->objsize); in nat64lsn_foreach()
|
| H A D | tables.c | 1690 qsort(olh + 1, olh->count, olh->objsize, in tables_foreach() 1698 olh->objsize); in tables_foreach() 1982 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize); in ipfw_list_ta() 2043 qsort(v, olh->count, olh->objsize, compare_values); in ipfw_list_values() 2048 v = (struct _table_value *)((caddr_t)v + olh->objsize); in ipfw_list_values()
|
| H A D | nat.c | 1017 qsort(olh + 1, olh->count, olh->objsize, natname_cmp); in nat_foreach() 1023 olh->objsize); in nat_foreach()
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libuutil/common/ |
| 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-12.1/sys/netpfil/ipfw/nat64/ |
| H A D | nat64stl_control.c | 379 olh->objsize = sizeof(ipfw_nat64stl_cfg); in nat64stl_list() 380 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64stl_list() 457 ctlv->objsize = sizeof(uint64_t); in nat64stl_stats()
|
| H A D | nat64clat_control.c | 374 olh->objsize = sizeof(ipfw_nat64clat_cfg); in nat64clat_list() 375 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64clat_list() 452 ctlv->objsize = sizeof(uint64_t); in nat64clat_stats()
|
| H A D | nat64lsn_control.c | 376 olh->objsize = sizeof(ipfw_nat64lsn_cfg); in nat64lsn_list() 377 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64lsn_list() 509 ctlv->objsize = sizeof(uint64_t); in nat64lsn_stats()
|
| /freebsd-12.1/sys/kern/ |
| H A D | uipc_shm.c | 896 shm_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t objsize, in shm_mmap() argument 923 objsize > OFF_MAX || in shm_mmap() 925 foff < 0 || foff > OFF_MAX - objsize) in shm_mmap() 939 error = vm_mmap_object(map, addr, objsize, prot, maxprot, flags, in shm_mmap()
|
| /freebsd-12.1/lib/libvmmapi/ |
| H A D | vmmapi.c | 362 size_t objsize, len; in vm_setup_memory() local 376 objsize = 4*GB + ctx->highmem; in vm_setup_memory() 380 objsize = ctx->lowmem; in vm_setup_memory() 383 error = vm_alloc_memseg(ctx, VM_SYSMEM, objsize, NULL); in vm_setup_memory() 391 len = VM_MMAP_GUARD_SIZE + objsize + VM_MMAP_GUARD_SIZE; in vm_setup_memory()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | ip_fw.h | 933 uint16_t objsize; /* Single object size */ member 1041 uint32_t objsize; /* Size of one object */ member
|
| /freebsd-12.1/sys/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 795 olh->objsize = sizeof(ipfw_nptv6_cfg); in nptv6_list() 796 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nptv6_list() 869 ctlv->objsize = sizeof(uint64_t); in nptv6_stats()
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_iface.c | 522 olh->objsize = sizeof(ipfw_iface_info); in list_ifaces()
|
| H A D | ip_fw_nat.c | 788 olh->objsize = sizeof(struct nat44_cfg_nat); in nat44_list_nat() 789 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat44_list_nat()
|
| H A D | ip_fw_table_value.c | 750 olh->objsize = sizeof(ipfw_table_value); in list_table_values()
|