Home
last modified time | relevance | path

Searched refs:numbits (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/hamradio/
Dhdlcdrv.c175 s->hdlcrx.numbits += 16; in hdlcdrv_receiver()
188 s->hdlcrx.numbits in hdlcdrv_receiver()
195 s->hdlcrx.numbits = i; in hdlcdrv_receiver()
198 s->hdlcrx.numbits--; in hdlcdrv_receiver()
203 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
204 s->hdlcrx.numbits); in hdlcdrv_receiver()
264 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()
271 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()
282 0x7e7e << s->hdlctx.numbits; in hdlcdrv_transmitter()
283 s->hdlctx.numbits += 16; in hdlcdrv_transmitter()
[all …]
Dbaycom_epp.c176 unsigned int bitbuf, bitstream, numbits, state; member
555 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
561 numbits = bc->hdlcrx.numbits; in receive()
578 numbits += 8; in receive()
596 numbits = 7-j; in receive()
602 numbits--; in receive()
606 while (state && numbits >= 8) { in receive()
610 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
612 numbits -= 8; in receive()
617 bc->hdlcrx.numbits = numbits; in receive()
[all …]
/Linux-v5.10/fs/ocfs2/
Dlocalalloc.c41 u32 *numbits,
826 u32 *numbits, in ocfs2_local_alloc_find_clear_bits() argument
847 numfound = *numbits; in ocfs2_local_alloc_find_clear_bits()
849 if (numfound < *numbits) in ocfs2_local_alloc_find_clear_bits()
850 *numbits = numfound; in ocfs2_local_alloc_find_clear_bits()
888 if (numfound == *numbits) { in ocfs2_local_alloc_find_clear_bits()
896 if (numfound == *numbits) in ocfs2_local_alloc_find_clear_bits()
905 trace_ocfs2_local_alloc_find_clear_bits(*numbits, in ocfs2_local_alloc_find_clear_bits()
Dsuper.c1641 u32 numbits, freebits; in ocfs2_statfs() local
1668 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1669 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()
1674 buf->f_blocks = ((sector_t) numbits) * in ocfs2_statfs()
1679 buf->f_files = numbits; in ocfs2_statfs()
/Linux-v5.10/include/linux/
Dhdlcdrv.h113 int numbits; member
137 int numbits; member
/Linux-v5.10/fs/minix/
Dbitmap.c27 static __u32 count_free(struct buffer_head *map[], unsigned blocksize, __u32 numbits) in count_free() argument
30 unsigned blocks = DIV_ROUND_UP(numbits, blocksize * 8); in count_free()
/Linux-v5.10/fs/ocfs2/cluster/
Dheartbeat.c1068 static int o2hb_highest_node(unsigned long *nodes, int numbits) in o2hb_highest_node() argument
1070 return find_last_bit(nodes, numbits); in o2hb_highest_node()
1073 static int o2hb_lowest_node(unsigned long *nodes, int numbits) in o2hb_lowest_node() argument
1075 return find_first_bit(nodes, numbits); in o2hb_lowest_node()