Home
last modified time | relevance | path

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

/linux/drivers/net/hamradio/
H A Dhdlcdrv.c176 s->hdlcrx.numbits += 16; in hdlcdrv_receiver()
189 s->hdlcrx.numbits in hdlcdrv_receiver()
196 s->hdlcrx.numbits = i; in hdlcdrv_receiver()
199 s->hdlcrx.numbits--; in hdlcdrv_receiver()
204 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()
205 s->hdlcrx.numbits); in hdlcdrv_receiver()
265 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()
272 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()
283 0x7e7e << s->hdlctx.numbits; in hdlcdrv_transmitter()
284 s->hdlctx.numbits += 16; in hdlcdrv_transmitter()
[all …]
H A 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/fs/ocfs2/
H A Dlocalalloc.c39 u32 *numbits,
825 u32 *numbits, in ocfs2_local_alloc_find_clear_bits() argument
846 numfound = *numbits; in ocfs2_local_alloc_find_clear_bits()
848 if (numfound < *numbits) in ocfs2_local_alloc_find_clear_bits()
849 *numbits = numfound; in ocfs2_local_alloc_find_clear_bits()
881 if (numfound == *numbits) { in ocfs2_local_alloc_find_clear_bits()
889 if (numfound == *numbits) in ocfs2_local_alloc_find_clear_bits()
898 trace_ocfs2_local_alloc_find_clear_bits(*numbits, in ocfs2_local_alloc_find_clear_bits()
H A Dsuper.c1614 u32 numbits, freebits; in ocfs2_statfs() local
1641 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1642 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()
1647 buf->f_blocks = ((sector_t) numbits) * in ocfs2_statfs()
1652 buf->f_files = numbits; in ocfs2_statfs()
/linux/include/linux/
H A Dhdlcdrv.h113 int numbits; member
137 int numbits; member
/linux/fs/minix/
H A 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/fs/ocfs2/cluster/
H A 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()