Home
last modified time | relevance | path

Searched refs:objsize (Results 1 – 25 of 25) sorted by relevance

/f-stack/tools/libmemstat/
H A Dmemstat_malloc.c493 int numzones, objsize, allocsize, ret; in memstat_malloc_zone_init_kvm() local
507 objsize = __offsetof(struct memstat_kmemzone, kz_zone) + in memstat_malloc_zone_init_kvm()
510 allocsize = objsize * memstat_malloc_zone_count; in memstat_malloc_zone_init_kvm()
524 kz = (struct memstat_kmemzone *)((char *)kz + objsize); in memstat_malloc_zone_init_kvm()
/f-stack/tools/ipfw/
H A Dnptv6.c279 olh->objsize = sizeof(*cfg); in nptv6_create()
446 qsort(olh + 1, olh->count, olh->objsize, nptv6name_cmp); in nptv6_foreach()
451 cfg = (ipfw_nptv6_cfg *)((caddr_t)cfg + olh->objsize); in nptv6_foreach()
H A Dnat64clat.c260 olh->objsize = sizeof(*cfg); in nat64clat_create()
532 qsort(olh + 1, olh->count, olh->objsize, in nat64clat_foreach()
539 olh->objsize); in nat64clat_foreach()
H A Dnat64stl.c296 olh->objsize = sizeof(*cfg); in nat64stl_create()
548 qsort(olh + 1, olh->count, olh->objsize, in nat64stl_foreach()
555 olh->objsize); in nat64stl_foreach()
H A Dnat64lsn.c534 olh->objsize = sizeof(*cfg); in nat64lsn_create()
881 qsort(olh + 1, olh->count, olh->objsize, in nat64lsn_foreach()
888 olh->objsize); in nat64lsn_foreach()
H A Dtables.c1702 qsort(olh + 1, olh->count, olh->objsize, in tables_foreach()
1710 olh->objsize); in tables_foreach()
2000 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize); in ipfw_list_ta()
2061 qsort(v, olh->count, olh->objsize, compare_values); in ipfw_list_values()
2066 v = (struct _table_value *)((caddr_t)v + olh->objsize); in ipfw_list_values()
H A Dnat.c1066 qsort(olh + 1, olh->count, olh->objsize, natname_cmp); in nat_foreach()
1072 olh->objsize); in nat_foreach()
H A Dipfw2.c5229 qsort(ctlv + 1, ctlv->count, ctlv->objsize, compare_ntlv); in object_sort_ctlv()
5275 ntlv = bsearch(&key, (ctlv + 1), ctlv->count, ctlv->objsize, in object_search_ctlv()
5357 ctlv->objsize = sizeof(ipfw_obj_ntlv); in ipfw_add()
5666 qsort(olh + 1, olh->count, olh->objsize, ifinfo_cmp); in ipfw_list_tifaces()
5677 info = (ipfw_iface_info *)((caddr_t)info + olh->objsize); in ipfw_list_tifaces()
/f-stack/freebsd/vm/
H A Dvm_mmap.c1278 vm_mmap_vnode(struct thread *td, vm_size_t objsize, in vm_mmap_vnode() argument
1320 vm_pager_update_writecount(obj, 0, objsize); in vm_mmap_vnode()
1348 objsize = round_page(va.va_size); in vm_mmap_vnode()
1352 obj = vm_pager_allocate(OBJT_VNODE, vp, objsize, prot, foff, in vm_mmap_vnode()
1378 vm_pager_update_writecount(obj, objsize, 0); in vm_mmap_vnode()
1391 vm_mmap_cdev(struct thread *td, vm_size_t objsize, vm_prot_t prot, in vm_mmap_cdev() argument
1433 error = dsw->d_mmap_single(cdev, foff, objsize, objp, (int)prot); in vm_mmap_cdev()
1436 obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff, in vm_mmap_cdev()
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_avl.c66 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 Duu_list.c63 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()
H A Dlibuutil.abi629 …<parameter type-id='type-id-4' name='objsize' filepath='/home/fedora/zfs/lib/libuutil/uu_avl.c' li…
941 …<parameter type-id='type-id-4' name='objsize' filepath='/home/fedora/zfs/lib/libuutil/uu_list.c' l…
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64stl_control.c378 olh->objsize = sizeof(ipfw_nat64stl_cfg); in nat64stl_list()
379 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64stl_list()
456 ctlv->objsize = sizeof(uint64_t); in nat64stl_stats()
H A Dnat64clat_control.c373 olh->objsize = sizeof(ipfw_nat64clat_cfg); in nat64clat_list()
374 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64clat_list()
451 ctlv->objsize = sizeof(uint64_t); in nat64clat_stats()
H A Dnat64lsn_control.c375 olh->objsize = sizeof(ipfw_nat64lsn_cfg); in nat64lsn_list()
376 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nat64lsn_list()
508 ctlv->objsize = sizeof(uint64_t); in nat64lsn_stats()
/f-stack/freebsd/kern/
H A Duipc_shm.c1525 shm_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t objsize, in shm_mmap() argument
1538 rl_cookie = rangelock_rlock(&shmfd->shm_rl, 0, objsize, in shm_mmap()
1576 objsize > OFF_MAX || in shm_mmap()
1578 foff > OFF_MAX - objsize) { in shm_mmap()
1596 error = shm_mmap_large(shmfd, map, addr, objsize, prot, in shm_mmap()
1601 objsize); in shm_mmap()
1603 error = vm_mmap_object(map, addr, objsize, prot, maxprot, flags, in shm_mmap()
1609 objsize); in shm_mmap()
/f-stack/tools/compat/include/netinet/
H A Dip_fw.h930 uint16_t objsize; /* Single object size */ member
1038 uint32_t objsize; /* Size of one object */ member
/f-stack/freebsd/netinet/
H A Dip_fw.h930 uint16_t objsize; /* Single object size */ member
1038 uint32_t objsize; /* Size of one object */ member
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c796 olh->objsize = sizeof(ipfw_nptv6_cfg); in nptv6_list()
797 olh->size = sizeof(*olh) + olh->count * olh->objsize; in nptv6_list()
870 ctlv->objsize = sizeof(uint64_t); in nptv6_stats()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_iface.c520 olh->objsize = sizeof(ipfw_iface_info); in list_ifaces()
H A Dip_fw_nat.c788 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 Dip_fw_table_value.c743 olh->objsize = sizeof(ipfw_table_value); in list_table_values()
H A Dip_fw_sockopt.c2295 ctlv->objsize = sizeof(ipfw_obj_ntlv); in dump_named_objects()
2949 if (ctlv->count != count || ctlv->objsize != sizeof(*ntlv)) in add_rules()
3116 olh->objsize = sizeof(ipfw_sopt_info); in dump_soptcodes()
3376 hdr->objsize = sizeof(ipfw_obj_ntlv); in dump_srvobjects()
H A Dip_fw_table.c2140 olh->objsize = sizeof(ipfw_xtable_info); in export_tables()
2717 olh->objsize = sizeof(ipfw_ta_info); in list_table_algo()
H A Dip_fw_dynamic.c3061 ctlv->objsize = sizeof(ipfw_obj_dyntlv); in ipfw_dump_states()