Home
last modified time | relevance | path

Searched refs:size_bits (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/infiniband/core/
H A Dpacker.c70 if (desc[i].size_bits <= 32) { in ib_pack()
76 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
84 mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift); in ib_pack()
87 } else if (desc[i].size_bits <= 64) { in ib_pack()
93 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
101 mask = cpu_to_be64((~0ull >> (64 - desc[i].size_bits)) << shift); in ib_pack()
106 desc[i].size_bits % 8) { in ib_pack()
108 desc[i].field_name, desc[i].size_bits); in ib_pack()
115 desc[i].size_bits / 8); in ib_pack()
120 desc[i].size_bits / 8); in ib_pack()
[all …]
H A Dsa_query.c205 .size_bits = 64 },
209 .size_bits = 128 },
213 .size_bits = 128 },
217 .size_bits = 16 },
221 .size_bits = 16 },
225 .size_bits = 1 },
229 .size_bits = 3 },
233 .size_bits = 20 },
237 .size_bits = 8 },
241 .size_bits = 8 },
[all …]
/linux/kernel/trace/
H A Dftrace.c1158 if (hash->size_bits > 0) in ftrace_hash_key()
1159 return hash_long(ip, hash->size_bits); in ftrace_hash_key()
1257 int size = 1 << hash->size_bits; in ftrace_hash_clear()
1333 struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash() argument
1342 size = 1 << size_bits; in alloc_ftrace_hash()
1350 hash->size_bits = size_bits; in alloc_ftrace_hash()
1386 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash() argument
1393 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1404 size = 1 << hash->size_bits; in alloc_and_copy_ftrace_hash()
1456 size = 1 << src->size_bits; in __move_hash()
[all …]
H A Dtrace.h935 unsigned long size_bits; member
/linux/kernel/printk/
H A Dprintk_ringbuffer.h73 unsigned int size_bits;
287 .size_bits = (avgtextbits) + (descbits), \
68 unsigned int size_bits; global() member
H A Dprintk_ringbuffer.c313 #define DATA_SIZE(data_ring) _DATA_SIZE((data_ring)->size_bits)
326 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits)
2380 rb->text_data_ring.size_bits = textbits; in prb_init()
H A Dprintk.c1027 VMCOREINFO_OFFSET(prb_data_ring, size_bits); in log_buf_vmcoreinfo_setup()
/linux/Documentation/admin-guide/kdump/
H A Dgdbmacros.txt185 set var $begin = $desc->text_blk_lpos.begin % (1U << prb->text_data_ring.size_bits)
186 set var $next = $desc->text_blk_lpos.next % (1U << prb->text_data_ring.size_bits)
H A Dvmcoreinfo.rst295 (prb_data_ring, size_bits|data|head_lpos|tail_lpos)
/linux/include/linux/
H A Dftrace.h414 struct ftrace_hash *alloc_ftrace_hash(int size_bits);