Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 87 of 87) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dicm.c253 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
291 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
320 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
356 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
382 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range()
387 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument
396 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table()
405 table->obj_size = obj_size; in mlx4_init_icm_table()
410 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
411 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
Dicm.h82 u64 virt, int obj_size, u32 nobj, int reserved,
Dmlx4.h262 int obj_size; member
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_memfree.c224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put()
290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find()
324 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size; in mthca_table_get_range()
352 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size) in mthca_table_put_range()
357 u64 virt, int obj_size, in mthca_alloc_icm_table() argument
367 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; in mthca_alloc_icm_table()
377 table->obj_size = obj_size; in mthca_alloc_icm_table()
385 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mthca_alloc_icm_table()
387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
[all …]
Dmthca_memfree.h67 int obj_size; member
87 u64 virt, int obj_size,
/linux-4.1.27/drivers/block/
Dosdblk.c400 u64 obj_size = 0; in osdblk_init_disk() local
403 rc = osdblk_get_obj_size(osdev, &obj_size); in osdblk_init_disk()
450 set_capacity(disk, obj_size / 512ULL); in osdblk_init_disk()
454 disk->disk_name, (unsigned long long)obj_size); in osdblk_init_disk()
Drbd.c4346 u64 obj_size; in rbd_dev_v2_striping_info() local
4367 obj_size = (u64)1 << rbd_dev->header.obj_order; in rbd_dev_v2_striping_info()
4370 if (stripe_unit != obj_size) { in rbd_dev_v2_striping_info()
4373 stripe_unit, obj_size); in rbd_dev_v2_striping_info()
/linux-4.1.27/net/dccp/
Dccid.c82 static struct kmem_cache *ccid_kmem_cache_create(int obj_size, char *slab_name_fmt, const char *fmt… in ccid_kmem_cache_create() argument
91 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create()
Dipv4.c585 .obj_size = sizeof(struct dccp_request_sock),
972 .obj_size = sizeof(struct dccp_sock),
Dipv6.c290 .obj_size = sizeof(struct dccp6_request_sock),
1040 .obj_size = sizeof(struct dccp6_sock),
/linux-4.1.27/fs/exofs/
Dore.c1128 u64 obj_size; in ore_truncate() local
1131 obj_size = ti.prev_group_obj_off; in ore_truncate()
1133 obj_size = ti.next_group_obj_off; in ore_truncate()
1135 obj_size = ti.si.obj_offset + in ore_truncate()
1138 obj_size = ti.si.obj_offset; in ore_truncate()
1140 obj_size = ti.si.obj_offset - ti.si.unit_off; in ore_truncate()
1142 size_attr->newsize = cpu_to_be64(obj_size); in ore_truncate()
1147 _LLU(oc->comps->obj.id), _LLU(obj_size), i); in ore_truncate()
/linux-4.1.27/include/drm/
Ddrm_gem.h132 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size,
/linux-4.1.27/net/ipv4/
Dudplite.c57 .obj_size = sizeof(struct udp_sock),
Draw.c926 .obj_size = sizeof(struct raw_sock),
Dtcp_ipv4.c1204 .obj_size = sizeof(struct tcp_request_sock),
2372 .obj_size = sizeof(struct tcp_sock),
Dping.c1009 .obj_size = sizeof(struct inet_sock),
Dudp.c2273 .obj_size = sizeof(struct udp_sock),
/linux-4.1.27/net/ipv6/
Dudplite.c52 .obj_size = sizeof(struct udp6_sock),
Dping.c45 .obj_size = sizeof(struct raw6_sock),
Daf_inet6.c95 const int offset = sk->sk_prot->obj_size - sizeof(struct ipv6_pinfo); in inet6_sk_generic()
Dtcp_ipv6.c708 .obj_size = sizeof(struct tcp6_request_sock),
1863 .obj_size = sizeof(struct tcp6_sock),
Draw.c1223 .obj_size = sizeof(struct raw6_sock),
Dudp.c1542 .obj_size = sizeof(struct udp6_sock),
/linux-4.1.27/net/netfilter/
Dnf_conntrack_proto_udp.c329 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX,
361 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX,
Dnf_conntrack_proto_udplite.c294 .obj_size = sizeof(unsigned int) *
326 .obj_size = sizeof(unsigned int) *
Dnf_conntrack_proto_generic.c233 .obj_size = sizeof(unsigned int),
Dnf_conntrack_proto_dccp.c894 .obj_size = sizeof(unsigned int) * CT_DCCP_MAX,
928 .obj_size = sizeof(unsigned int) * CT_DCCP_MAX,
Dnf_conntrack_proto_sctp.c813 .obj_size = sizeof(unsigned int) * SCTP_CONNTRACK_MAX,
846 .obj_size = sizeof(unsigned int) * SCTP_CONNTRACK_MAX,
Dnf_conntrack_proto_gre.c389 .obj_size = sizeof(unsigned int) * GRE_CT_MAX,
Dnfnetlink_cttimeout.c133 l4proto->ctnl_timeout.obj_size, GFP_KERNEL); in cttimeout_new_timeout()
Dnf_conntrack_proto_tcp.c1694 .obj_size = sizeof(unsigned int) *
1731 .obj_size = sizeof(unsigned int) *
/linux-4.1.27/include/net/netfilter/
Dnf_conntrack_l4proto.h89 size_t obj_size; member
/linux-4.1.27/net/phonet/
Ddatagram.c193 .obj_size = sizeof(struct pn_sock),
Dpep.c1347 .obj_size = sizeof(struct pep_sock),
/linux-4.1.27/net/bluetooth/cmtp/
Dsock.c195 .obj_size = sizeof(struct bt_sock)
/linux-4.1.27/net/bluetooth/bnep/
Dsock.c192 .obj_size = sizeof(struct bt_sock)
/linux-4.1.27/include/net/
Dinet_sock.h222 sk_from->sk_prot->obj_size - ancestor_size); in __inet_sk_copy_descendant()
Drequest_sock.h32 int obj_size; member
Dsock.h1019 unsigned int obj_size; member
/linux-4.1.27/drivers/gpu/drm/
Ddrm_gem.c826 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj() argument
834 if (obj_size < vma->vm_end - vma->vm_start) in drm_gem_mmap_obj()
/linux-4.1.27/net/core/
Dsock.c1293 osk->sk_prot->obj_size - offsetof(struct sock, sk_dontcopy_end)); in sock_copy()
1332 prot->clear_sk(sk, prot->obj_size); in sk_prot_alloc()
1334 sk_prot_clear_nulls(sk, prot->obj_size); in sk_prot_alloc()
1337 sk = kmalloc(prot->obj_size, priority); in sk_prot_alloc()
2761 rsk_prot->obj_size, 0, in req_prot_init()
2775 prot->slab = kmem_cache_create(prot->name, prot->obj_size, 0, in proto_register()
2885 proto->obj_size, in proto_seq_printf()
/linux-4.1.27/net/bluetooth/hidp/
Dsock.c225 .obj_size = sizeof(struct bt_sock)
/linux-4.1.27/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c390 .obj_size = sizeof(unsigned int),
/linux-4.1.27/net/nfc/
Drawsock.c409 .obj_size = sizeof(struct nfc_rawsock),
Dllcp_sock.c67 .obj_size = sizeof(struct nfc_llcp_sock),
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c422 .obj_size = sizeof(unsigned int),
/linux-4.1.27/net/ieee802154/
Dsocket.c411 .obj_size = sizeof(struct sock),
954 .obj_size = sizeof(struct dgram_sock),
/linux-4.1.27/crypto/
Daf_alg.c37 .obj_size = sizeof(struct alg_sock),
/linux-4.1.27/net/rds/
Daf_rds.c385 .obj_size = sizeof(struct rds_sock),
/linux-4.1.27/net/l2tp/
Dl2tp_ip.c572 .obj_size = sizeof(struct l2tp_ip_sock),
Dl2tp_ip6.c723 .obj_size = sizeof(struct l2tp_ip6_sock),
Dl2tp_ppp.c529 .obj_size = sizeof(struct pppox_sock),
/linux-4.1.27/net/can/
Draw.c846 .obj_size = sizeof(struct raw_sock),
Dbcm.c1599 .obj_size = sizeof(struct bcm_sock),
/linux-4.1.27/net/rxrpc/
Daf_rxrpc.c780 .obj_size = sizeof(struct rxrpc_sock),
/linux-4.1.27/drivers/net/ppp/
Dpptp.c657 .obj_size = sizeof(struct pppox_sock),
Dpppoe.c546 .obj_size = sizeof(struct pppox_sock),
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_asic.h92 uint32_t offset, uint32_t obj_size);
340 uint32_t offset, uint32_t obj_size);
Dr100.c3097 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument
3136 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg()
3139 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
Dradeon.h1941 uint32_t offset, uint32_t obj_size);
Dr600.c2980 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
/linux-4.1.27/drivers/isdn/mISDN/
Dsocket.c28 .obj_size = sizeof(struct mISDN_sock)
/linux-4.1.27/net/bluetooth/rfcomm/
Dsock.c269 .obj_size = sizeof(struct rfcomm_pinfo)
/linux-4.1.27/net/caif/
Dcaif_socket.c1033 .obj_size = sizeof(struct caifsock), in caif_create()
/linux-4.1.27/net/atm/
Dcommon.c140 .obj_size = sizeof(struct atm_vcc),
/linux-4.1.27/net/bluetooth/
Dsco.c460 .obj_size = sizeof(struct sco_pinfo)
Dhci_sock.c1377 .obj_size = sizeof(struct hci_pinfo)
Dl2cap_sock.c1522 .obj_size = sizeof(struct l2cap_pinfo)
/linux-4.1.27/net/llc/
Daf_llc.c142 .obj_size = sizeof(struct llc_sock),
/linux-4.1.27/drivers/net/
Dmacvtap.c65 .obj_size = sizeof (struct macvtap_queue),
Dtun.c1512 .obj_size = sizeof(struct tun_file),
/linux-4.1.27/net/netrom/
Daf_netrom.c421 .obj_size = sizeof(struct nr_sock),
/linux-4.1.27/net/rose/
Daf_rose.c508 .obj_size = sizeof(struct rose_sock),
/linux-4.1.27/net/vmw_vsock/
Daf_vsock.c109 .obj_size = sizeof(struct vsock_sock),
/linux-4.1.27/net/x25/
Daf_x25.c515 .obj_size = sizeof(struct x25_sock),
/linux-4.1.27/net/appletalk/
Dddp.c1010 .obj_size = sizeof(struct atalk_sock),
/linux-4.1.27/net/ipx/
Daf_ipx.c1328 .obj_size = sizeof(struct ipx_sock),
/linux-4.1.27/net/ax25/
Daf_ax25.c800 .obj_size = sizeof(struct sock),
/linux-4.1.27/net/irda/
Daf_irda.c1074 .obj_size = sizeof(struct irda_sock),
/linux-4.1.27/net/decnet/
Daf_decnet.c468 .obj_size = sizeof(struct dn_sock),
/linux-4.1.27/net/unix/
Daf_unix.c726 .obj_size = sizeof(struct unix_sock),
/linux-4.1.27/net/iucv/
Daf_iucv.c41 .obj_size = sizeof(struct iucv_sock),
/linux-4.1.27/net/tipc/
Dsocket.c2554 .obj_size = sizeof(struct tipc_sock),
/linux-4.1.27/net/sctp/
Dsocket.c7388 .obj_size = sizeof(struct sctp_sock),
7427 .obj_size = sizeof(struct sctp6_sock),
/linux-4.1.27/net/netlink/
Daf_netlink.c1157 .obj_size = sizeof(struct netlink_sock),
/linux-4.1.27/net/packet/
Daf_packet.c2819 .obj_size = sizeof(struct packet_sock),
/linux-4.1.27/net/key/
Daf_key.c134 .obj_size = sizeof(struct pfkey_sock),