Searched refs:obj_size (Results 51 - 75 of 123) sorted by last modified time

12345

/linux-master/drivers/isdn/mISDN/
H A Dsocket.c19 .obj_size = sizeof(struct mISDN_sock)
/linux-master/net/ipv4/
H A Dinet_connection_sock.c934 req->rsk_ops->obj_size - offsetof(struct sock, sk_dontcopy_end),
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c1942 static void calc_pg_sz(u32 obj_num, u32 obj_size, u32 hop_num, u32 ctx_bt_num, argument
1948 u64 obj_per_chunk_default = buf_chunk_size / obj_size;
H A Dhns_roce_hem.c226 table_idx = *obj / (chunk_size / table->obj_size);
540 i = obj / (table->table_chunk_size / table->obj_size);
667 i = obj / (table->table_chunk_size / table->obj_size);
701 obj_per_chunk = table->table_chunk_size / table->obj_size;
704 dma_offset = offset = idx_offset * table->obj_size;
738 unsigned long obj_size, unsigned long nobj)
745 obj_per_chunk = table->table_chunk_size / obj_size;
767 obj_per_chunk = buf_chunk_size / obj_size;
814 table->obj_size = obj_size;
736 hns_roce_init_hem_table(struct hns_roce_dev *hr_dev, struct hns_roce_hem_table *table, u32 type, unsigned long obj_size, unsigned long nobj) argument
[all...]
H A Dhns_roce_hem.h98 unsigned long obj_size, unsigned long nobj);
H A Dhns_roce_device.h247 unsigned long obj_size; member in struct:hns_roce_hem_table
/linux-master/include/linux/
H A Dgeneric-radix-tree.h104 static inline size_t __idx_to_offset(size_t idx, size_t obj_size) argument
106 if (__builtin_constant_p(obj_size))
107 BUILD_BUG_ON(obj_size > GENRADIX_NODE_SIZE);
109 BUG_ON(obj_size > GENRADIX_NODE_SIZE);
111 if (!is_power_of_2(obj_size)) {
112 size_t objs_per_page = GENRADIX_NODE_SIZE / obj_size;
115 (idx % objs_per_page) * obj_size;
117 return idx * obj_size;
212 size_t obj_size)
214 if (iter->offset + obj_size < ite
211 __genradix_iter_advance(struct genradix_iter *iter, size_t obj_size) argument
232 __genradix_iter_rewind(struct genradix_iter *iter, size_t obj_size) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Dtrace.h957 __field(size_t, obj_size)
963 __entry->obj_size = xfa->obj_size;
972 __entry->obj_size,
1048 __field(size_t, obj_size)
1054 __entry->obj_size = si->array->obj_size;
1062 __entry->obj_size,
1073 __field(size_t, obj_size)
1082 __entry->obj_size
[all...]
H A Dxfarray.c50 return div_u64((xfarray_idx_t)pos, array->obj_size);
59 return idx * array->obj_size;
73 size_t obj_size,
80 ASSERT(obj_size < PAGE_SIZE);
87 array = kzalloc(sizeof(struct xfarray) + obj_size, XCHK_GFP_FLAGS);
92 array->obj_size = obj_size;
94 if (is_power_of_2(obj_size))
95 array->obj_size_log = ilog2(obj_size);
139 return xfile_load(array->xfile, ptr, array->obj_size,
70 xfarray_create( const char *description, unsigned long long required_capacity, size_t obj_size, struct xfarray **arrayp) argument
[all...]
H A Dxfarray.h33 size_t obj_size; member in struct:xfarray
40 size_t obj_size, struct xfarray **arrayp);
61 memset(rec, 0, array->obj_size);
150 * typedef char[array->obj_size] xfarray_rec_t;
/linux-master/drivers/net/ppp/
H A Dpptp.c614 .obj_size = sizeof(struct pppox_sock),
/linux-master/net/x25/
H A Daf_x25.c505 .obj_size = sizeof(struct x25_sock),
/linux-master/net/netfilter/
H A Dnft_ct.c964 l4proto->ctnl_timeout.obj_size, GFP_KERNEL);
/linux-master/net/mctp/
H A Daf_mctp.c674 .obj_size = sizeof(struct mctp_sock),
/linux-master/net/l2tp/
H A Dl2tp_ppp.c483 .obj_size = sizeof(struct pppox_sock),
/linux-master/net/kcm/
H A Dkcmsock.c1497 .obj_size = sizeof(struct kcm_sock),
/linux-master/net/ieee802154/
H A Dsocket.c397 .obj_size = sizeof(struct sock),
957 .obj_size = sizeof(struct dgram_sock),
/linux-master/net/can/
H A Draw.c1060 .obj_size = sizeof(struct raw_sock),
H A Dbcm.c1756 .obj_size = sizeof(struct bcm_sock),
H A Disotp.c1698 .obj_size = sizeof(struct isotp_sock),
/linux-master/include/net/
H A Dinet_sock.h349 sk_from->sk_prot->obj_size - ancestor_size);
/linux-master/net/netrom/
H A Daf_netrom.c423 .obj_size = sizeof(struct nr_sock),
/linux-master/net/phonet/
H A Dpep.c1362 .obj_size = sizeof(struct pep_sock),
H A Ddatagram.c177 .obj_size = sizeof(struct pn_sock),
/linux-master/net/key/
H A Daf_key.c135 .obj_size = sizeof(struct pfkey_sock),

Completed in 314 milliseconds

12345