Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dnf_conntrack_h323_asn1.c103 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} argument
104 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} argument
105 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} argument
106 #define CHECK_BOUND(bs,n) if((bs)->cur+(n)>(bs)->end)return(H323_ERROR_BOUND) argument
153 static unsigned int get_len(bitstr_t *bs) in get_len()
169 static unsigned int get_bit(bitstr_t *bs) in get_bit()
180 static unsigned int get_bits(bitstr_t *bs, unsigned int b) in get_bits()
206 static unsigned int get_bitmap(bitstr_t *bs, unsigned int b) in get_bitmap()
245 static unsigned int get_uint(bitstr_t *bs, int b) in get_uint()
267 static int decode_nul(bitstr_t *bs, const struct field_t *f, in decode_nul()
[all …]
/linux-4.1.27/drivers/spi/
Dspi-bcm63xx.c53 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
59 static inline u16 bcm_spi_readw(struct bcm63xx_spi *bs, in bcm_spi_readw()
65 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
71 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
90 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_setup_transfer() local
122 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_txrx_bufs() local
221 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_transfer_one() local
302 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_interrupt() local
326 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
421 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_remove() local
[all …]
Dspi-bcm2835.c88 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned reg) in bcm2835_rd()
93 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned reg, u32 val) in bcm2835_wr()
98 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo()
111 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo()
125 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_reset_hw() local
142 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_interrupt() local
166 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_poll() local
201 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_irq() local
236 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one() local
296 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_prepare_message() local
[all …]
Dspi-bcm63xx-hsspi.c108 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned cs, in bcm63xx_hsspi_set_cs()
124 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
153 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_do_txrx() local
218 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_setup() local
256 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_transfer_one() local
309 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; in bcm63xx_hsspi_interrupt() local
325 struct bcm63xx_hsspi *bs; in bcm63xx_hsspi_probe() local
419 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_remove() local
432 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_suspend() local
443 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_resume() local
/linux-4.1.27/drivers/block/drbd/
Ddrbd_vli.h238 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init()
246 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
260 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
293 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
340 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
Ddrbd_main.c1086 struct bitstream bs; in fill_bitmap_rle_bits() local
Ddrbd_receiver.c4307 struct bitstream bs; in recv_bm_rle_bits() local
/linux-4.1.27/drivers/pcmcia/
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-4.1.27/crypto/
Dxcbc.c66 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_setkey() local
86 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local
103 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local
149 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_final() local
Dcmac.c59 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey() local
112 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() local
129 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update() local
175 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_final() local
Dhmac.c47 int bs = crypto_shash_blocksize(parent); in hmac_setkey() local
Dxts.c100 const int bs = XTS_BLOCK_SIZE; in crypt() local
Dlrw.c144 const int bs = LRW_BLOCK_SIZE; in crypt() local
Dalgif_aead.c355 unsigned bs = crypto_aead_blocksize(crypto_aead_reqtfm(&ctx->aead_req)); in aead_recvmsg() local
Dblkcipher.c277 unsigned bs = walk->walk_blocksize; in blkcipher_copy_iv() local
Dablkcipher.c193 unsigned bs = walk->blocksize; in ablkcipher_copy_iv() local
Dccm.c167 unsigned int bs = 16; in compute_mac() local
Dalgif_skcipher.c641 unsigned bs = crypto_ablkcipher_blocksize(crypto_ablkcipher_reqtfm( in skcipher_recvmsg_sync() local
/linux-4.1.27/block/
Dbio-integrity.c50 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
101 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
473 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
492 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
Dblk-mq-tag.c81 struct bt_wait_state *bs = &bt->bs[wake_index]; in blk_mq_tag_wakeup_all() local
242 struct bt_wait_state *bs; in bt_wait_ptr() local
259 struct bt_wait_state *bs; in bt_get() local
360 struct bt_wait_state *bs = &bt->bs[wake_index]; in bt_wake_ptr() local
379 struct bt_wait_state *bs; in bt_clear_tag() local
Dbio.c127 static void bio_put_slab(struct bio_set *bs) in bio_put_slab()
247 struct bio_set *bs = bio->bi_pool; in bio_free() local
329 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local
344 static void punt_bios_to_rescuer(struct bio_set *bs) in punt_bios_to_rescuer()
410 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs) in bio_alloc_bioset()
581 struct bio *bio_clone_fast(struct bio *bio, gfp_t gfp_mask, struct bio_set *bs) in bio_clone_fast()
616 struct bio_set *bs) in bio_clone_bioset()
1825 gfp_t gfp, struct bio_set *bs) in bio_split()
1890 void bioset_free(struct bio_set *bs) in bioset_free()
1913 struct bio_set *bs; in __bioset_create() local
Dblk-mq-tag.h28 struct bt_wait_state *bs; member
Dblk-core.c2962 struct bio_set *bs, gfp_t gfp_mask, in blk_rq_prep_clone()
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrukservices.c152 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context()
196 struct gru_blade_state *bs; in gru_free_kernel_contexts() local
225 struct gru_blade_state *bs; in gru_lock_kernel_context() local
251 struct gru_blade_state *bs; in gru_unlock_kernel_context() local
264 struct gru_blade_state *bs; in gru_get_cpu_resources() local
300 struct gru_blade_state *bs; in gru_reserve_async_resources() local
334 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources() local
351 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr() local
368 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource() local
Dgrumain.c763 struct gru_blade_state *bs) in is_gts_stealable()
772 struct gru_blade_state *bs) in gts_stolen()
/linux-4.1.27/drivers/atm/
Dnicstarmac.c108 #define NICSTAR_REG_WRITE(bs, reg, val) \ argument
111 #define NICSTAR_REG_READ(bs, reg) \ argument
/linux-4.1.27/arch/mips/txx9/generic/
Dmem_tx4927.c43 unsigned int bs = 0; in tx4927_process_sdccr() local
/linux-4.1.27/arch/powerpc/lib/
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-4.1.27/drivers/staging/fbtft/
Dfb_tls8204.c40 static unsigned bs = 4; variable
Dfb_pcd8544.c43 static unsigned bs = 4; variable
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c57 struct ath9k_beacon_state *bs) in ath9k_cmn_beacon_config_sta()
Dhtc_drv_beacon.c95 struct ath9k_beacon_state bs; in ath9k_htc_beacon_config_sta() local
Dbeacon.c476 struct ath9k_beacon_state bs; in ath9k_beacon_config_sta() local
Dhw.c2269 const struct ath9k_beacon_state *bs) in ath9k_hw_set_sta_beacon_timers()
/linux-4.1.27/drivers/crypto/
Domap-sham.c460 int bs, nr_dr; in omap_sham_write_ctrl_omap4() local
715 #define SG_SA(sg, bs) (IS_ALIGNED(sg->length, bs)) argument
722 int ret, bs; in omap_sham_update_dma_start() local
835 int bs = 0; in omap_sham_init() local
951 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_finish_hmac() local
1082 int bs = get_block_size(ctx); in omap_sham_update() local
1188 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_setkey() local
Dmv_cesa.c778 int bs, ds, ss; in mv_hash_setkey() local
Dn2_core.c449 int err, bs, ds; in n2_hmac_async_setkey() local
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c1521 struct bs_t __iomem *bs; in dgap_input() local
1871 struct bs_t __iomem *bs; in dgap_event() local
2669 struct bs_t __iomem *bs; in dgap_wmove() local
3288 struct bs_t __iomem *bs; in dgap_tty_chars_in_buffer() local
3379 struct bs_t __iomem *bs; in dgap_wait_for_drain() local
3475 struct bs_t __iomem *bs; in dgap_set_firmware_event() local
3509 struct bs_t __iomem *bs; in dgap_tty_write_room() local
3582 struct bs_t __iomem *bs; in dgap_tty_write() local
4438 struct bs_t __iomem *bs; in dgap_tty_open() local
6757 struct bs_t __iomem *bs; in dgap_tty_init() local
/linux-4.1.27/drivers/md/
Ddm-log.c258 static inline int log_test_bit(uint32_t *bs, unsigned bit) in log_test_bit()
264 uint32_t *bs, unsigned bit) in log_set_bit()
271 uint32_t *bs, unsigned bit) in log_clear_bit()
Ddm-crypt.c130 struct bio_set *bs; member
421 unsigned bs = crypto_ablkcipher_blocksize(any_tfm(cc)); in crypt_iv_benbi_ctr() local
Ddm.c189 struct bio_set *bs; member
251 struct bio_set *bs; member
Dmd.c480 struct bio_set *bs = NULL; in mddev_put() local
/linux-4.1.27/fs/ext4/
Dxattr.c734 struct ext4_xattr_block_find *bs) in ext4_xattr_block_find()
777 struct ext4_xattr_block_find *bs) in ext4_xattr_block_set()
1098 struct ext4_xattr_block_find bs = { in ext4_xattr_set_handle() local
1263 struct ext4_xattr_block_find *bs = NULL; in ext4_expand_extra_isize_ea() local
/linux-4.1.27/lib/
Dts_bm.c67 int shift = bm->patlen - 1, bs; in bm_find() local
/linux-4.1.27/drivers/media/pci/bt8xx/
Ddvb-bt8xx.c158 unsigned char bs = 0; in thomson_dtt7579_tuner_calc_regs() local
353 unsigned char bs = 0; in advbt771_samsung_tdtc9251dh0_tuner_calc_regs() local
/linux-4.1.27/fs/ext3/
Dxattr.c632 struct ext3_xattr_block_find *bs) in ext3_xattr_block_find()
676 struct ext3_xattr_block_find *bs) in ext3_xattr_block_set()
954 struct ext3_xattr_block_find bs = { in ext3_xattr_set_handle() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgm107.c920 const u32 bs = attrib * priv->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() local
/linux-4.1.27/arch/powerpc/include/asm/
Dbitops.h52 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) argument
/linux-4.1.27/include/linux/
Dbio.h372 gfp_t gfp, struct bio_set *bs) in bio_next_split()
724 static inline int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
729 static inline void bioset_integrity_free (struct bio_set *bs) in bioset_integrity_free()
/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c162 unsigned int *bs; member
2188 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_write_blocking_perf() local
2207 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_write_nonblock_perf() local
2226 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_read_blocking_perf() local
2245 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_read_nonblock_perf() local
/linux-4.1.27/arch/ia64/sn/kernel/
Dio_common.c231 struct pcibus_bussoft *bs; in sn_pci_fixup_slot() local
/linux-4.1.27/fs/hpfs/
Dalloc.c118 unsigned bs = near & ~0x3fff; in alloc_in_bmp() local
/linux-4.1.27/drivers/video/console/
Dfbcon_ccw.c198 unsigned int bs = vc->vc_rows*ch; in ccw_clear_margins() local
Dbitblit.c213 unsigned int bs = info->var.yres - bh; in bit_clear_margins() local
/linux-4.1.27/arch/s390/include/asm/
Deadm.h44 u16 bs:4; member
/linux-4.1.27/net/nfc/
Ddigital_dep.c75 u8 bs; member
86 u8 bs; member
/linux-4.1.27/drivers/uwb/
Dbeacon.c473 struct uwb_rc_evt_beacon_size *bs; in uwbd_evt_handle_rc_beacon_size() local
/linux-4.1.27/drivers/media/tuners/
Dtda827x.c97 u8 bs; member
/linux-4.1.27/kernel/trace/
Dtrace_probe.c231 unsigned long bs; in find_fetch_type() local
/linux-4.1.27/drivers/target/
Dtarget_core_iblock.c162 struct bio_set *bs = ib_dev->ibd_bio_set; in iblock_configure_device() local
/linux-4.1.27/drivers/block/
Dnull_blk.c114 static int bs = 512; variable
Dnvme-core.c1997 unsigned short bs; in nvme_revalidate_disk() local
/linux-4.1.27/net/atm/
Dbr2684.c806 #define bs(var) b1(var, 0), b1(var, 1), b1(var, 2), b1(var, 3) in br2684_seq_show() macro
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_driver.c765 static int jpg_sync(struct zoran_fh *fh, struct zoran_sync *bs) in jpg_sync()
2185 struct zoran_sync bs; in zoran_dqbuf() local
Dzoran.h185 struct zoran_sync bs; /* DONE: info to return to application */ member
/linux-4.1.27/tools/perf/util/
Dpmu.c866 const char * const *bs = b; in cmp_string() local
Dparse-events.c1096 const char * const *bs = b; in cmp_string() local
Dmachine.c1470 const struct branch_stack *bs = sample->branch_stack; in sample__resolve_bstack() local
/linux-4.1.27/fs/btrfs/
Dioctl.c2886 u64 bs = BTRFS_I(inode)->root->fs_info->sb->s_blocksize; in extent_same_check_offsets() local
2953 u64 bs = BTRFS_I(src)->root->fs_info->sb->s_blocksize; in btrfs_ioctl_file_extent_same() local
3689 u64 bs = root->fs_info->sb->s_blocksize; in btrfs_ioctl_clone() local
Dsend.c4619 u64 bs = sctx->send_root->fs_info->sb->s_blocksize; in send_write_or_clone() local
Dctree.h389 #define __BTRFS_LEAF_DATA_SIZE(bs) ((bs) - sizeof(struct btrfs_header)) argument
/linux-4.1.27/drivers/block/paride/
Dpt.c223 int bs; /* block size */ member
Dpf.c607 int bs; in pf_get_capacity() local
/linux-4.1.27/fs/nfsd/
Dnfs3xdr.c1021 u64 bs = s->f_bsize; in nfs3svc_encode_fsstatres() local
/linux-4.1.27/drivers/misc/cxl/
Dpci.c94 #define EXTRACT_PPC_BITS(val, bs, be) ((val & PPC_BITMASK(bs, be)) >> PPC_BITLSHIFT(be)) argument
/linux-4.1.27/fs/udf/
Dinode.c1289 int bs = inode->i_sb->s_blocksize; in udf_read_inode() local
/linux-4.1.27/drivers/input/tablet/
Daiptek.c440 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_fs.h322 bstat_get_projid(struct xfs_bstat *bs) in bstat_get_projid()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c362 size_t bs = gxio_mpipe_buffer_size_enum_to_buffer_size(bse); in tile_net_provide_buffer() local
/linux-4.1.27/drivers/tty/
Dcyclades.c3442 const struct zfile_block *b, *bs; in __cyz_load_fw() local
/linux-4.1.27/drivers/tty/vt/
Dvt.c1138 static inline void bs(struct vc_data *vc) in bs() function
/linux-4.1.27/drivers/scsi/
Dosst.c2689 osst_block_size_page_t * bs; in osst_configure_onstream() local