Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/spi/
Dspi-bcm2835aux.c110 static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned reg) in bcm2835aux_rd()
115 static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned reg, in bcm2835aux_wr()
121 static inline void bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_rd_fifo()
147 static inline void bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_wr_fifo()
176 static void bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) in bcm2835aux_spi_reset_hw()
187 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_interrupt() local
229 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in __bcm2835aux_spi_transfer_one_irq() local
244 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_transfer_one_irq() local
266 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_transfer_one_poll() local
321 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_transfer_one() local
[all …]
Dspi-bcm2835.c94 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned reg) in bcm2835_rd()
99 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned reg, u32 val) in bcm2835_wr()
104 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo()
117 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo()
131 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_reset_hw() local
151 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_interrupt() local
174 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_irq() local
226 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_dma_done() local
308 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_dma() local
485 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_poll() local
[all …]
Dspi-bcm63xx-hsspi.c109 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned cs, in bcm63xx_hsspi_set_cs()
125 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
154 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_do_txrx() local
222 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_setup() local
260 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_transfer_one() local
313 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; in bcm63xx_hsspi_interrupt() local
329 struct bcm63xx_hsspi *bs; in bcm63xx_hsspi_probe() local
424 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_remove() local
437 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_suspend() local
448 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_resume() local
Dspi-bcm63xx.c161 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
167 static inline u16 bcm_spi_readw(struct bcm63xx_spi *bs, in bcm_spi_readw()
177 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
183 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
206 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_setup_transfer() local
238 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_txrx_bufs() local
336 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_transfer_one() local
417 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_interrupt() local
489 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
580 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_remove() local
[all …]
/linux-4.4.14/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.c4308 struct bitstream bs; in recv_bm_rle_bits() local
/linux-4.4.14/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.4.14/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
Dchacha20poly1305.c210 unsigned int padlen, bs = POLY1305_BLOCK_SIZE; in poly_cipherpad() local
271 unsigned int padlen, bs = POLY1305_BLOCK_SIZE; in poly_adpad() local
Dlrw.c144 const int bs = LRW_BLOCK_SIZE; in crypt() local
Dblkcipher.c278 unsigned bs = walk->walk_blocksize; in blkcipher_copy_iv() local
Dablkcipher.c193 unsigned bs = walk->blocksize; in ablkcipher_copy_iv() local
Dccm.c173 unsigned int bs = 16; in compute_mac() local
Dalgif_skcipher.c645 unsigned bs = crypto_skcipher_blocksize(tfm); in skcipher_recvmsg_sync() local
/linux-4.4.14/block/
Dbio-integrity.c55 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
106 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
482 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
501 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
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
342 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local
357 static void punt_bios_to_rescuer(struct bio_set *bs) in punt_bios_to_rescuer()
423 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs) in bio_alloc_bioset()
598 struct bio *bio_clone_fast(struct bio *bio, gfp_t gfp_mask, struct bio_set *bs) in bio_clone_fast()
633 struct bio_set *bs) in bio_clone_bioset()
1786 gfp_t gfp, struct bio_set *bs) in bio_split()
1851 void bioset_free(struct bio_set *bs) in bioset_free()
1874 struct bio_set *bs; in __bioset_create() local
Dblk-mq-tag.c85 struct bt_wait_state *bs = &bt->bs[wake_index]; in blk_mq_tag_wakeup_all() local
246 struct bt_wait_state *bs; in bt_wait_ptr() local
263 struct bt_wait_state *bs; in bt_get() local
364 struct bt_wait_state *bs = &bt->bs[wake_index]; in bt_wake_ptr() local
383 struct bt_wait_state *bs; in bt_clear_tag() local
Dblk-merge.c14 struct bio_set *bs, in blk_bio_discard_split()
57 struct bio_set *bs, in blk_bio_write_same_split()
85 struct bio_set *bs, in blk_bio_segment_split()
168 struct bio_set *bs) in blk_queue_split()
Dblk-mq-tag.h28 struct bt_wait_state *bs; member
Dblk-core.c3084 struct bio_set *bs, gfp_t gfp_mask, in blk_rq_prep_clone()
/linux-4.4.14/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()
201 struct gru_blade_state *bs; in gru_free_kernel_contexts() local
230 struct gru_blade_state *bs; in gru_lock_kernel_context() local
256 struct gru_blade_state *bs; in gru_unlock_kernel_context() local
269 struct gru_blade_state *bs; in gru_get_cpu_resources() local
305 struct gru_blade_state *bs; in gru_reserve_async_resources() local
339 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources() local
356 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr() local
373 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.4.14/drivers/atm/
Dnicstarmac.c108 #define NICSTAR_REG_WRITE(bs, reg, val) \ argument
111 #define NICSTAR_REG_READ(bs, reg) \ argument
/linux-4.4.14/arch/mips/txx9/generic/
Dmem_tx4927.c43 unsigned int bs = 0; in tx4927_process_sdccr() local
/linux-4.4.14/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.4.14/drivers/staging/fbtft/
Dfb_tls8204.c38 static unsigned bs = 4; variable
Dfb_pcd8544.c39 static unsigned bs = 4; variable
/linux-4.4.14/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.c2271 const struct ath9k_beacon_state *bs) in ath9k_hw_set_sta_beacon_timers()
/linux-4.4.14/drivers/clk/bcm/
Dclk-nsp.c36 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument
Dclk-ns2.c38 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument
Dclk-cygnus.c46 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument
/linux-4.4.14/drivers/crypto/
Domap-sham.c466 int bs, nr_dr; in omap_sham_write_ctrl_omap4() local
721 #define SG_SA(sg, bs) (IS_ALIGNED(sg->length, bs)) argument
728 int ret, bs; in omap_sham_update_dma_start() local
841 int bs = 0; in omap_sham_init() local
957 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_finish_hmac() local
1088 int bs = get_block_size(ctx); in omap_sham_update() local
1194 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_setkey() local
Dmv_cesa.c783 int bs, ds, ss; in mv_hash_setkey() local
Dn2_core.c449 int err, bs, ds; in n2_hmac_async_setkey() local
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c1473 struct bs_t __iomem *bs; in dgap_input() local
1817 struct bs_t __iomem *bs; in dgap_event() local
2606 struct bs_t __iomem *bs; in dgap_wmove() local
3222 struct bs_t __iomem *bs; in dgap_tty_chars_in_buffer() local
3313 struct bs_t __iomem *bs; in dgap_wait_for_drain() local
3408 struct bs_t __iomem *bs; in dgap_set_firmware_event() local
3442 struct bs_t __iomem *bs; in dgap_tty_write_room() local
3515 struct bs_t __iomem *bs; in dgap_tty_write() local
4367 struct bs_t __iomem *bs; in dgap_tty_open() local
6664 struct bs_t __iomem *bs; in dgap_tty_init() local
/linux-4.4.14/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.c131 struct bio_set *bs; member
422 unsigned bs = crypto_ablkcipher_blocksize(any_tfm(cc)); in crypt_iv_benbi_ctr() local
Ddm.c192 struct bio_set *bs; member
254 struct bio_set *bs; member
Dmd.c464 struct bio_set *bs = NULL; in mddev_put() local
/linux-4.4.14/fs/ext4/
Dxattr.c733 struct ext4_xattr_block_find *bs) in ext4_xattr_block_find()
776 struct ext4_xattr_block_find *bs) in ext4_xattr_block_set()
1097 struct ext4_xattr_block_find bs = { in ext4_xattr_set_handle() local
1262 struct ext4_xattr_block_find *bs = NULL; in ext4_expand_extra_isize_ea() local
/linux-4.4.14/lib/
Dts_bm.c67 int shift = bm->patlen - 1, bs; in bm_find() local
/linux-4.4.14/fs/nfs/
Dnfs4file.c206 unsigned int bs = server->clone_blksize; in nfs42_ioctl_clone() local
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgm107.c920 const u32 bs = attrib * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() local
/linux-4.4.14/arch/powerpc/include/asm/
Dbitops.h52 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) argument
/linux-4.4.14/include/linux/
Dbio.h422 gfp_t gfp, struct bio_set *bs) in bio_next_split()
782 static inline int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
787 static inline void bioset_integrity_free (struct bio_set *bs) in bioset_integrity_free()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c162 unsigned int *bs; member
2116 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_write_blocking_perf() local
2135 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_write_nonblock_perf() local
2154 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_read_blocking_perf() local
2173 unsigned int bs[] = {1 << 12, 1 << 13, 1 << 14, 1 << 15, 1 << 16, in mmc_test_profile_mult_read_nonblock_perf() local
/linux-4.4.14/arch/ia64/sn/kernel/
Dio_common.c231 struct pcibus_bussoft *bs; in sn_pci_fixup_slot() local
/linux-4.4.14/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.4.14/arch/s390/include/asm/
Deadm.h44 u16 bs:4; member
/linux-4.4.14/net/nfc/
Ddigital_dep.c75 u8 bs; member
86 u8 bs; member
/linux-4.4.14/fs/hpfs/
Dalloc.c118 unsigned bs = near & ~0x3fff; in alloc_in_bmp() local
/linux-4.4.14/drivers/uwb/
Dbeacon.c473 struct uwb_rc_evt_beacon_size *bs; in uwbd_evt_handle_rc_beacon_size() local
/linux-4.4.14/drivers/media/tuners/
Dtda827x.c97 u8 bs; member
/linux-4.4.14/kernel/trace/
Dtrace_probe.c231 unsigned long bs; in find_fetch_type() local
/linux-4.4.14/drivers/target/
Dtarget_core_iblock.c140 struct bio_set *bs = ib_dev->ibd_bio_set; in iblock_configure_device() local
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_driver.c770 static int jpg_sync(struct zoran_fh *fh, struct zoran_sync *bs) in jpg_sync()
2116 struct zoran_sync bs; in zoran_dqbuf() local
Dzoran.h187 struct zoran_sync bs; /* DONE: info to return to application */ member
/linux-4.4.14/drivers/block/
Dnull_blk.c107 static int bs = 512; variable
/linux-4.4.14/drivers/block/paride/
Dpt.c223 int bs; /* block size */ member
Dpf.c608 int bs; in pf_get_capacity() local
/linux-4.4.14/tools/perf/util/
Dpmu.c967 const char * const *bs = b; in cmp_string() local
Dhist.c1487 void hist__account_cycles(struct branch_stack *bs, struct addr_location *al, in hist__account_cycles()
Dmachine.c1619 const struct branch_stack *bs = sample->branch_stack; in sample__resolve_bstack() local
Dparse-events.c1619 const char * const *bs = b; in cmp_string() local
Dintel-pt.c933 struct branch_stack *bs = ptq->last_branch_rb; in intel_pt_update_last_branch_rb() local
/linux-4.4.14/drivers/mmc/host/
Dmtk-sd.c331 static void sdr_set_bits(void __iomem *reg, u32 bs) in sdr_set_bits()
339 static void sdr_clr_bits(void __iomem *reg, u32 bs) in sdr_clr_bits()
/linux-4.4.14/fs/btrfs/
Dioctl.c3025 u64 bs = BTRFS_I(inode)->root->fs_info->sb->s_blocksize; in extent_same_check_offsets() local
3185 u64 bs = BTRFS_I(src)->root->fs_info->sb->s_blocksize; in btrfs_ioctl_file_extent_same() local
3864 u64 bs = root->fs_info->sb->s_blocksize; in btrfs_ioctl_clone() local
Dsend.c4875 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.4.14/fs/nfsd/
Dnfs3xdr.c1023 u64 bs = s->f_bsize; in nfs3svc_encode_fsstatres() local
/linux-4.4.14/fs/udf/
Dinode.c1289 int bs = inode->i_sb->s_blocksize; in udf_read_inode() local
/linux-4.4.14/drivers/misc/cxl/
Dpci.c96 #define EXTRACT_PPC_BITS(val, bs, be) ((val & PPC_BITMASK(bs, be)) >> PPC_BITLSHIFT(be)) argument
/linux-4.4.14/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.4.14/fs/xfs/libxfs/
Dxfs_fs.h323 bstat_get_projid(struct xfs_bstat *bs) in bstat_get_projid()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c363 size_t bs = gxio_mpipe_buffer_size_enum_to_buffer_size(bse); in tile_net_provide_buffer() local
/linux-4.4.14/drivers/tty/
Dcyclades.c3429 const struct zfile_block *b, *bs; in __cyz_load_fw() local
/linux-4.4.14/drivers/tty/vt/
Dvt.c1144 static inline void bs(struct vc_data *vc) in bs() function
/linux-4.4.14/drivers/scsi/
Dosst.c2689 osst_block_size_page_t * bs; in osst_configure_onstream() local
/linux-4.4.14/drivers/nvme/host/
Dpci.c2034 unsigned short bs; in nvme_revalidate_disk() local