obj_size 33 crypto/af_alg.c .obj_size = sizeof(struct alg_sock), obj_size 129 drivers/crypto/chelsio/chtls/chtls_cm.h chtls_tcp_ops->obj_size = sizeof(struct tcp_request_sock); obj_size 311 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c unsigned long obj_size, obj_size 321 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c for (i = 0; i < obj_size; ++i) obj_size 305 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h int amdgpu_virt_fw_reserve_get_checksum(void *obj, unsigned long obj_size, obj_size 1098 drivers/gpu/drm/drm_gem.c int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, obj_size 1104 drivers/gpu/drm/drm_gem.c if (obj_size < vma->vm_end - vma->vm_start) obj_size 3095 drivers/gpu/drm/radeon/r100.c uint32_t offset, uint32_t obj_size) obj_size 3134 drivers/gpu/drm/radeon/r100.c DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); obj_size 3137 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); obj_size 3029 drivers/gpu/drm/radeon/r600.c uint32_t offset, uint32_t obj_size) obj_size 1936 drivers/gpu/drm/radeon/radeon.h uint32_t offset, uint32_t obj_size); obj_size 92 drivers/gpu/drm/radeon/radeon_asic.h uint32_t offset, uint32_t obj_size); obj_size 340 drivers/gpu/drm/radeon/radeon_asic.h uint32_t offset, uint32_t obj_size); obj_size 282 drivers/infiniband/core/rdma_core.c uobj = kzalloc(obj->type_attrs->obj_size, GFP_KERNEL); obj_size 330 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long obj_size; obj_size 252 drivers/infiniband/hw/hns/hns_roce_hem.c (chunk_size / table->obj_size); obj_size 379 drivers/infiniband/hw/hns/hns_roce_hem.c (table->table_chunk_size / table->obj_size); obj_size 625 drivers/infiniband/hw/hns/hns_roce_hem.c table->obj_size); obj_size 785 drivers/infiniband/hw/hns/hns_roce_hem.c (table->table_chunk_size / table->obj_size); obj_size 823 drivers/infiniband/hw/hns/hns_roce_hem.c obj_per_chunk = table->table_chunk_size / table->obj_size; obj_size 826 drivers/infiniband/hw/hns/hns_roce_hem.c dma_offset = offset = idx_offset * table->obj_size; obj_size 879 drivers/infiniband/hw/hns/hns_roce_hem.c unsigned long inc = table->table_chunk_size / table->obj_size; obj_size 887 drivers/infiniband/hw/hns/hns_roce_hem.c inc = mhop.bt_chunk_size / table->obj_size; obj_size 912 drivers/infiniband/hw/hns/hns_roce_hem.c unsigned long inc = table->table_chunk_size / table->obj_size; obj_size 918 drivers/infiniband/hw/hns/hns_roce_hem.c inc = mhop.bt_chunk_size / table->obj_size; obj_size 927 drivers/infiniband/hw/hns/hns_roce_hem.c unsigned long obj_size, unsigned long nobj, obj_size 935 drivers/infiniband/hw/hns/hns_roce_hem.c obj_per_chunk = table->table_chunk_size / obj_size; obj_size 957 drivers/infiniband/hw/hns/hns_roce_hem.c obj_per_chunk = buf_chunk_size / obj_size; obj_size 1005 drivers/infiniband/hw/hns/hns_roce_hem.c table->obj_size = obj_size; obj_size 1045 drivers/infiniband/hw/hns/hns_roce_hem.c obj = i * buf_chunk_size / table->obj_size; obj_size 1076 drivers/infiniband/hw/hns/hns_roce_hem.c i * table->table_chunk_size / table->obj_size, 0)) obj_size 126 drivers/infiniband/hw/hns/hns_roce_hem.h unsigned long obj_size, unsigned long nobj, obj_size 224 drivers/infiniband/hw/mthca/mthca_memfree.c int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; obj_size 264 drivers/infiniband/hw/mthca/mthca_memfree.c i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; obj_size 290 drivers/infiniband/hw/mthca/mthca_memfree.c idx = (obj & (table->num_obj - 1)) * table->obj_size; obj_size 324 drivers/infiniband/hw/mthca/mthca_memfree.c int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size; obj_size 352 drivers/infiniband/hw/mthca/mthca_memfree.c for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size) obj_size 357 drivers/infiniband/hw/mthca/mthca_memfree.c u64 virt, int obj_size, obj_size 367 drivers/infiniband/hw/mthca/mthca_memfree.c obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; obj_size 377 drivers/infiniband/hw/mthca/mthca_memfree.c table->obj_size = obj_size; obj_size 385 drivers/infiniband/hw/mthca/mthca_memfree.c for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { obj_size 387 drivers/infiniband/hw/mthca/mthca_memfree.c if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) obj_size 388 drivers/infiniband/hw/mthca/mthca_memfree.c chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; obj_size 67 drivers/infiniband/hw/mthca/mthca_memfree.h int obj_size; obj_size 87 drivers/infiniband/hw/mthca/mthca_memfree.h u64 virt, int obj_size, obj_size 19 drivers/isdn/mISDN/socket.c .obj_size = sizeof(struct mISDN_sock) obj_size 2233 drivers/md/raid5.c size_t obj_size = obj_size 2238 drivers/md/raid5.c scribble = kvmalloc_array(cnt, obj_size, flags); obj_size 2245 drivers/md/raid5.c percpu->scribble_obj_size = obj_size; obj_size 261 drivers/net/ethernet/mellanox/mlx4/icm.c (MLX4_TABLE_CHUNK_SIZE / table->obj_size); obj_size 299 drivers/net/ethernet/mellanox/mlx4/icm.c i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); obj_size 328 drivers/net/ethernet/mellanox/mlx4/icm.c idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; obj_size 385 drivers/net/ethernet/mellanox/mlx4/icm.c int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; obj_size 411 drivers/net/ethernet/mellanox/mlx4/icm.c for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) obj_size 416 drivers/net/ethernet/mellanox/mlx4/icm.c u64 virt, int obj_size, u32 nobj, int reserved, obj_size 425 drivers/net/ethernet/mellanox/mlx4/icm.c obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; obj_size 436 drivers/net/ethernet/mellanox/mlx4/icm.c table->obj_size = obj_size; obj_size 441 drivers/net/ethernet/mellanox/mlx4/icm.c size = (u64) nobj * obj_size; obj_size 442 drivers/net/ethernet/mellanox/mlx4/icm.c for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { obj_size 91 drivers/net/ethernet/mellanox/mlx4/icm.h u64 virt, int obj_size, u32 nobj, int reserved, obj_size 264 drivers/net/ethernet/mellanox/mlx4/mlx4.h int obj_size; obj_size 1307 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c .obj_size = sizeof(struct mlxsw_sp_acl_erp_key), obj_size 530 drivers/net/ppp/pppoe.c .obj_size = sizeof(struct pppox_sock), obj_size 606 drivers/net/ppp/pptp.c .obj_size = sizeof(struct pppox_sock), obj_size 99 drivers/net/tap.c .obj_size = sizeof(struct tap_queue), obj_size 2656 drivers/net/tun.c .obj_size = sizeof(struct tun_file), obj_size 28 drivers/xen/pvcalls-front.c .obj_size = sizeof(struct sock), obj_size 336 include/drm/drm_gem.h int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, obj_size 99 include/linux/generic-radix-tree.h static inline size_t __idx_to_offset(size_t idx, size_t obj_size) obj_size 101 include/linux/generic-radix-tree.h if (__builtin_constant_p(obj_size)) obj_size 102 include/linux/generic-radix-tree.h BUILD_BUG_ON(obj_size > PAGE_SIZE); obj_size 104 include/linux/generic-radix-tree.h BUG_ON(obj_size > PAGE_SIZE); obj_size 106 include/linux/generic-radix-tree.h if (!is_power_of_2(obj_size)) { obj_size 107 include/linux/generic-radix-tree.h size_t objs_per_page = PAGE_SIZE / obj_size; obj_size 110 include/linux/generic-radix-tree.h (idx % objs_per_page) * obj_size; obj_size 112 include/linux/generic-radix-tree.h return idx * obj_size; obj_size 184 include/linux/generic-radix-tree.h size_t obj_size) obj_size 186 include/linux/generic-radix-tree.h iter->offset += obj_size; obj_size 188 include/linux/generic-radix-tree.h if (!is_power_of_2(obj_size) && obj_size 189 include/linux/generic-radix-tree.h (iter->offset & (PAGE_SIZE - 1)) + obj_size > PAGE_SIZE) obj_size 8 include/linux/objagg.h size_t obj_size; obj_size 296 include/net/inet_sock.h sk_from->sk_prot->obj_size - ancestor_size); obj_size 53 include/net/netfilter/nf_conntrack_l4proto.h u16 obj_size; obj_size 29 include/net/request_sock.h unsigned int obj_size; obj_size 1161 include/net/sock.h unsigned int obj_size; obj_size 106 include/rdma/uverbs_types.h size_t obj_size; obj_size 174 include/rdma/uverbs_types.h .obj_size = (_obj_size) + \ obj_size 186 include/rdma/uverbs_types.h .obj_size = (_size) + \ obj_size 369 lib/objagg.c objagg_obj = kzalloc(sizeof(*objagg_obj) + objagg->ops->obj_size, obj_size 374 lib/objagg.c memcpy(objagg_obj->obj, obj, objagg->ops->obj_size); obj_size 536 lib/objagg.c objagg->ht_params.key_len = ops->obj_size; obj_size 650 lib/objagg.c struct objagg_obj *objagg_obj, size_t obj_size, obj_size 657 lib/objagg.c hnode = kzalloc(sizeof(*hnode) + obj_size, GFP_KERNEL); obj_size 660 lib/objagg.c memcpy(hnode->obj, &objagg_obj->obj, obj_size); obj_size 864 lib/objagg.c objagg->ops->obj_size, obj_size 880 lib/objagg.c objagg->ops->obj_size, obj_size 956 lib/objagg.c objagg_hints->ht_params.key_len = objagg->ops->obj_size; obj_size 296 lib/test_objagg.c .obj_size = sizeof(struct tokey), obj_size 375 lib/test_objagg.c .obj_size = sizeof(struct tokey), obj_size 1004 net/appletalk/ddp.c .obj_size = sizeof(struct atalk_sock), obj_size 136 net/atm/common.c .obj_size = sizeof(struct atm_vcc), obj_size 804 net/ax25/af_ax25.c .obj_size = sizeof(struct ax25_sock), obj_size 196 net/bluetooth/bnep/sock.c .obj_size = sizeof(struct bt_sock) obj_size 199 net/bluetooth/cmtp/sock.c .obj_size = sizeof(struct bt_sock) obj_size 1994 net/bluetooth/hci_sock.c .obj_size = sizeof(struct hci_pinfo) obj_size 247 net/bluetooth/hidp/sock.c .obj_size = sizeof(struct bt_sock) obj_size 1584 net/bluetooth/l2cap_sock.c .obj_size = sizeof(struct l2cap_pinfo) obj_size 271 net/bluetooth/rfcomm/sock.c .obj_size = sizeof(struct rfcomm_pinfo) obj_size 466 net/bluetooth/sco.c .obj_size = sizeof(struct sco_pinfo) obj_size 1034 net/caif/caif_socket.c .obj_size = sizeof(struct caifsock), obj_size 1662 net/can/bcm.c .obj_size = sizeof(struct bcm_sock), obj_size 1214 net/can/j1939/socket.c .obj_size = sizeof(struct j1939_sock), obj_size 869 net/can/raw.c .obj_size = sizeof(struct raw_sock), obj_size 1583 net/core/sock.c osk->sk_prot->obj_size - offsetof(struct sock, sk_dontcopy_end)); obj_size 1603 net/core/sock.c sk_prot_clear_nulls(sk, prot->obj_size); obj_size 1605 net/core/sock.c sk = kmalloc(prot->obj_size, priority); obj_size 3361 net/core/sock.c rsk_prot->obj_size, 0, obj_size 3379 net/core/sock.c prot->obj_size, 0, obj_size 3519 net/core/sock.c proto->obj_size, obj_size 79 net/dccp/ccid.c static struct kmem_cache *ccid_kmem_cache_create(int obj_size, char *slab_name_fmt, const char *fmt,...) obj_size 88 net/dccp/ccid.c slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, obj_size 565 net/dccp/ipv4.c .obj_size = sizeof(struct dccp_request_sock), obj_size 959 net/dccp/ipv4.c .obj_size = sizeof(struct dccp_sock), obj_size 299 net/dccp/ipv6.c .obj_size = sizeof(struct dccp6_request_sock), obj_size 1047 net/dccp/ipv6.c .obj_size = sizeof(struct dccp6_sock), obj_size 461 net/decnet/af_decnet.c .obj_size = sizeof(struct dn_sock), obj_size 393 net/ieee802154/socket.c .obj_size = sizeof(struct sock), obj_size 954 net/ieee802154/socket.c .obj_size = sizeof(struct dgram_sock), obj_size 1005 net/ipv4/ping.c .obj_size = sizeof(struct inet_sock), obj_size 978 net/ipv4/raw.c .obj_size = sizeof(struct raw_sock), obj_size 1369 net/ipv4/tcp_ipv4.c .obj_size = sizeof(struct tcp_request_sock), obj_size 2606 net/ipv4/tcp_ipv4.c .obj_size = sizeof(struct tcp_sock), obj_size 2799 net/ipv4/udp.c .obj_size = sizeof(struct udp_sock), obj_size 57 net/ipv4/udplite.c .obj_size = sizeof(struct udp_sock), obj_size 102 net/ipv6/af_inet6.c const int offset = sk->sk_prot->obj_size - sizeof(struct ipv6_pinfo); obj_size 179 net/ipv6/ping.c .obj_size = sizeof(struct raw6_sock), obj_size 1295 net/ipv6/raw.c .obj_size = sizeof(struct raw6_sock), obj_size 780 net/ipv6/tcp_ipv6.c .obj_size = sizeof(struct tcp6_request_sock), obj_size 2040 net/ipv6/tcp_ipv6.c .obj_size = sizeof(struct tcp6_sock), obj_size 1677 net/ipv6/udp.c .obj_size = sizeof(struct udp6_sock), obj_size 53 net/ipv6/udplite.c .obj_size = sizeof(struct udp6_sock), obj_size 44 net/iucv/af_iucv.c .obj_size = sizeof(struct iucv_sock), obj_size 1656 net/kcm/kcmsock.c .obj_size = sizeof(struct kcm_sock), obj_size 135 net/key/af_key.c .obj_size = sizeof(struct pfkey_sock), obj_size 614 net/l2tp/l2tp_ip.c .obj_size = sizeof(struct l2tp_ip_sock), obj_size 747 net/l2tp/l2tp_ip6.c .obj_size = sizeof(struct l2tp_ip6_sock), obj_size 489 net/l2tp/l2tp_ppp.c .obj_size = sizeof(struct pppox_sock), obj_size 148 net/llc/af_llc.c .obj_size = sizeof(struct llc_sock), obj_size 766 net/netfilter/nf_conntrack_proto_dccp.c .obj_size = sizeof(unsigned int) * CT_DCCP_MAX, obj_size 75 net/netfilter/nf_conntrack_proto_generic.c .obj_size = sizeof(unsigned int), obj_size 329 net/netfilter/nf_conntrack_proto_gre.c .obj_size = sizeof(unsigned int) * GRE_CT_MAX, obj_size 370 net/netfilter/nf_conntrack_proto_icmp.c .obj_size = sizeof(unsigned int), obj_size 289 net/netfilter/nf_conntrack_proto_icmpv6.c .obj_size = sizeof(unsigned int), obj_size 679 net/netfilter/nf_conntrack_proto_sctp.c .obj_size = sizeof(unsigned int) * SCTP_CONNTRACK_MAX, obj_size 1457 net/netfilter/nf_conntrack_proto_tcp.c .obj_size = sizeof(unsigned int) * obj_size 284 net/netfilter/nf_conntrack_proto_udp.c .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX, obj_size 306 net/netfilter/nf_conntrack_proto_udp.c .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX, obj_size 134 net/netfilter/nfnetlink_cttimeout.c l4proto->ctnl_timeout.obj_size, GFP_KERNEL); obj_size 889 net/netfilter/nft_ct.c l4proto->ctnl_timeout.obj_size, GFP_KERNEL); obj_size 617 net/netlink/af_netlink.c .obj_size = sizeof(struct netlink_sock), obj_size 396 net/netrom/af_netrom.c .obj_size = sizeof(struct nr_sock), obj_size 56 net/nfc/llcp_sock.c .obj_size = sizeof(struct nfc_llcp_sock), obj_size 398 net/nfc/rawsock.c .obj_size = sizeof(struct nfc_rawsock), obj_size 3225 net/packet/af_packet.c .obj_size = sizeof(struct packet_sock), obj_size 180 net/phonet/datagram.c .obj_size = sizeof(struct pn_sock), obj_size 1336 net/phonet/pep.c .obj_size = sizeof(struct pep_sock), obj_size 1041 net/qrtr/qrtr.c .obj_size = sizeof(struct qrtr_sock), obj_size 637 net/rds/af_rds.c .obj_size = sizeof(struct rds_sock), obj_size 485 net/rose/af_rose.c .obj_size = sizeof(struct rose_sock), obj_size 932 net/rxrpc/af_rxrpc.c .obj_size = sizeof(struct rxrpc_sock), obj_size 9519 net/sctp/socket.c .obj_size = sizeof(struct sctp_sock), obj_size 9561 net/sctp/socket.c .obj_size = sizeof(struct sctp6_sock), obj_size 108 net/smc/af_smc.c .obj_size = sizeof(struct smc_sock), obj_size 120 net/smc/af_smc.c .obj_size = sizeof(struct smc_sock), obj_size 3234 net/tipc/socket.c .obj_size = sizeof(struct tipc_sock), obj_size 761 net/unix/af_unix.c .obj_size = sizeof(struct unix_sock), obj_size 121 net/vmw_vsock/af_vsock.c .obj_size = sizeof(struct vsock_sock), obj_size 509 net/x25/af_x25.c .obj_size = sizeof(struct x25_sock), obj_size 1042 net/xdp/xsk.c .obj_size = sizeof(struct xdp_sock),