Home
last modified time | relevance | path

Searched defs:bs (Results 1 – 25 of 124) sorted by relevance

12345

/linux/net/netfilter/
H A Dnf_conntrack_h323_asn1.c100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} argument
101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} argument
102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} argument
150 static unsigned int get_len(struct bitstr *bs) in get_len()
165 static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) in nf_h323_error_boundary()
178 static unsigned int get_bit(struct bitstr *bs) in get_bit()
188 static unsigned int get_bits(struct bitstr *bs, unsigned int b) in get_bits()
213 static unsigned int get_bitmap(struct bitstr *bs, unsigned int b) in get_bitmap()
252 static unsigned int get_uint(struct bitstr *bs, int b) in get_uint()
276 static int decode_nul(struct bitstr *bs, const struct field_t *f, in decode_nul()
[all …]
/linux/drivers/media/pci/tw5864/
H A Dtw5864-h264.c24 struct bs { struct
31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument
103 struct bs bs, *s; in tw5864_h264_gen_sps_rbsp() local
132 struct bs bs, *s; in tw5864_h264_gen_pps_rbsp() local
160 struct bs bs, *s; in tw5864_h264_gen_slice_head() local
/linux/fs/xfs/scrub/
H A Dbtree.c138 struct xchk_btree *bs) in xchk_btree_rec()
187 struct xchk_btree *bs, in xchk_btree_key()
235 struct xchk_btree *bs, in xchk_btree_ptr_ok()
256 struct xchk_btree *bs, in xchk_btree_block_check_sibling()
319 struct xchk_btree *bs, in xchk_btree_block_check_siblings()
367 struct xchk_btree *bs, in xchk_btree_check_block_owner()
418 struct xchk_btree *bs, in xchk_btree_check_owner()
464 struct xchk_btree *bs) in xchk_btree_check_iroot_minrecs()
491 struct xchk_btree *bs, in xchk_btree_check_minrecs()
539 struct xchk_btree *bs, in xchk_btree_block_check_keys()
[all …]
/linux/drivers/spi/
H A Dspi-bcmbca-hsspi.c130 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local
139 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local
171 static void bcmbca_hsspi_set_cs(struct bcmbca_hsspi *bs, unsigned int cs, in bcmbca_hsspi_set_cs()
193 static void bcmbca_hsspi_set_clk(struct bcmbca_hsspi *bs, in bcmbca_hsspi_set_clk()
221 static int bcmbca_hsspi_wait_cmd(struct bcmbca_hsspi *bs, unsigned int cs) in bcmbca_hsspi_wait_cmd()
253 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_do_txrx() local
331 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_setup() local
372 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); in bcmbca_hsspi_transfer_one() local
419 struct bcmbca_hsspi *bs = (struct bcmbca_hsspi *)dev_id; in bcmbca_hsspi_interrupt() local
435 struct bcmbca_hsspi *bs; in bcmbca_hsspi_probe() local
[all …]
H A Dspi-bcm63xx.c154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
160 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
166 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
189 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_setup_transfer() local
220 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_txrx_bufs() local
318 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_transfer_one() local
399 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_interrupt() local
416 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_max_length() local
486 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
613 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_remove() local
[all …]
/linux/arch/s390/crypto/
H A Dhmac_s390.c49 #define SHA2_CV_SIZE(bs) ((bs) >> 1) argument
50 #define SHA2_IMBL_SIZE(bs) ((bs) >> 3) argument
52 #define SHA2_IMBL_OFFSET(bs) (SHA2_CV_SIZE(bs)) argument
53 #define SHA2_KEY_OFFSET(bs) (SHA2_CV_SIZE(bs) + SHA2_IMBL_SIZE(bs)) argument
159 unsigned int bs = crypto_shash_blocksize(tfm); in s390_hmac_sha2_setkey() local
174 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_init() local
205 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_update() local
243 unsigned int bs = crypto_shash_blocksize(desc->tfm); in s390_hmac_sha2_final() local
/linux/drivers/block/drbd/
H A Ddrbd_vli.h226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init()
234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
328 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
/linux/drivers/crypto/
H A Domap-crypto.c16 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists()
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs()
88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg()
125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg()
/linux/drivers/pcmcia/
H A Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
/linux/crypto/
H A Dxcbc.c58 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() local
74 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local
90 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local
135 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_final() local
H A Dcmac.c54 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey() local
106 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() local
122 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update() local
167 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_final() local
/linux/drivers/misc/sgi-gru/
H A Dgrukservices.c140 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context()
189 struct gru_blade_state *bs; in gru_free_kernel_contexts() local
218 struct gru_blade_state *bs; in gru_lock_kernel_context() local
244 struct gru_blade_state *bs; in gru_unlock_kernel_context() local
257 struct gru_blade_state *bs; in gru_get_cpu_resources() local
291 struct gru_blade_state *bs; in gru_reserve_async_resources() local
325 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources() local
342 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr() local
359 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource() local
/linux/sound/soc/meson/
H A Daiu-encoder-i2s.c83 unsigned int bs) in aiu_encoder_i2s_set_legacy_div()
113 unsigned int bs) in aiu_encoder_i2s_set_more_div()
149 unsigned int fs, bs; in aiu_encoder_i2s_set_clocks() local
/linux/block/
H A Dbio-integrity.c34 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
63 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
567 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
585 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
/linux/drivers/atm/
H A Dnicstarmac.c104 #define NICSTAR_REG_WRITE(bs, reg, val) \ argument
107 #define NICSTAR_REG_READ(bs, reg) \ argument
/linux/arch/powerpc/include/asm/
H A Dbitops.h48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) argument
56 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be))|PPC_BIT32(bs)) argument
60 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be))|PPC_BIT8(bs)) argument
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_debugfs.h38 } bs; member
49 } bs; member
72 } bs; member
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c52 int bs = crypto_ahash_blocksize(ahash); in sun8i_ss_hmac_setkey() local
412 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) in hash_pad()
483 int bs = crypto_ahash_blocksize(tfm); in sun8i_ss_hash_run() local
/linux/arch/powerpc/lib/
H A Drheap.c158 unsigned long s, e, bs, be; in attach_free_block() local
374 unsigned long s, e, m, bs, be; in rh_detach_region() local
531 unsigned long s, e, m, bs = 0, be = 0; in rh_alloc_fixed() local
/linux/fs/btrfs/
H A Dreflink.c640 const u64 bs = fs_info->sectorsize; in btrfs_extent_same_range() local
710 u64 bs = fs_info->sectorsize; in btrfs_clone_files() local
780 u64 bs = BTRFS_I(inode_out)->root->fs_info->sectorsize; in btrfs_remap_file_range_prep() local
/linux/arch/mips/txx9/generic/
H A Dmem_tx4927.c43 unsigned int bs = 0; in tx4927_process_sdccr() local
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_drv_if.c71 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs, in vdec_if_decode()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_req_lat_if.c354 struct vdec_vp9_slice_bs bs; member
979 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_lat_buffer()
1067 struct mtk_vcodec_mem *bs) in vdec_vp9_slice_setup_tile_buffer()
1150 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_lat()
1734 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_single_buffer()
1792 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_single()
1917 static int vdec_vp9_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_flush()
1975 static int vdec_vp9_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_single_decode()
2032 static int vdec_vp9_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_lat_decode()
2116 static int vdec_vp9_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_decode()
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c43 struct ath9k_beacon_state *bs) in ath9k_cmn_beacon_config_sta()
/linux/drivers/md/
H A Ddm-ebs-target.c42 static inline sector_t __block_mod(sector_t sector, unsigned int bs) in __block_mod()
55 static inline bool __ebs_check_bs(unsigned int bs) in __ebs_check_bs()

12345