Searched refs:bs (Results 1 - 25 of 195) sorted by path

12345678

/linux-master/arch/mips/txx9/generic/
H A Dmem_tx4927.c43 unsigned int bs = 0; local
58 bs = 2 << sdccr_bs;
64 return rs * cs * mw * bs;
/linux-master/arch/powerpc/lib/
H A Drheap.c158 unsigned long s, e, bs, be; local
175 bs = blk->start;
176 be = bs + blk->size;
178 if (next == NULL && s >= bs)
184 if (e == bs)
374 unsigned long s, e, m, bs, be; local
398 bs = blk->start;
400 if (s >= bs && e <= be)
409 if (bs == s && be == e) {
417 if (bs
531 unsigned long s, e, m, bs = 0, be = 0; local
[all...]
/linux-master/drivers/crypto/
H A Domap-crypto.h27 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
/linux-master/drivers/media/pci/tw5864/
H A Dtw5864-h264.c24 struct bs { struct
31 static void bs_init(struct bs *s, void *buf, int size)
39 static int bs_len(struct bs *s)
44 static void bs_write(struct bs *s, int count, u32 bits)
64 static void bs_write1(struct bs *s, u32 bit)
77 static void bs_write_ue(struct bs *s, u32 val)
87 static void bs_write_se(struct bs *s, int val)
92 static void bs_rbsp_trailing(struct bs *s)
103 struct bs bs, * local
132 struct bs bs, *s; local
160 struct bs bs, *s; local
[all...]
/linux-master/drivers/media/tuners/
H A Dtda827x.c84 u8 bs; member in struct:tda827x_data
92 { .lomax = 62000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1},
93 { .lomax = 66000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1},
94 { .lomax = 76000000, .spd = 3, .bs = 1, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0},
95 { .lomax = 84000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0},
96 { .lomax = 93000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0},
97 { .lomax = 98000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0},
98 { .lomax = 109000000, .spd = 3, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 0},
99 { .lomax = 123000000, .spd = 2, .bs = 2, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1},
100 { .lomax = 133000000, .spd = 2, .bs
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c43 struct ath9k_beacon_state *bs)
56 memset(bs, 0, sizeof(*bs));
72 bs->bs_intval = TU_TO_USEC(conf->intval);
73 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval;
74 bs->bs_nexttbtt = conf->nexttbtt;
75 bs->bs_nextdtim = conf->nexttbtt;
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval);
85 bs
41 ath9k_cmn_beacon_config_sta(struct ath_hw *ah, struct ath_beacon_config *conf, struct ath9k_beacon_state *bs) argument
[all...]
H A Dcommon-beacon.h21 struct ath9k_beacon_state *bs);
/linux-master/drivers/pcmcia/
H A Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \
72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))
78 #define MECR_BSIO_SET(mecr, sock, bs) \
79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs))
84 #define MECR_BSA_SET(mecr, sock, bs) \
85 MECR_SET((mecr), (sock), MECR_BSA_SHIFT, MECR_BS_MASK, (bs))
90 #define MECR_BSM_SET(mecr, sock, bs) \
91 MECR_SET((mecr), (sock), MECR_BSM_SHIFT, MECR_BS_MASK, (bs))
/linux-master/drivers/staging/fbtft/
H A Dfb_tls8204.c29 static unsigned int bs = 4; variable
30 module_param(bs, uint, 0000);
31 MODULE_PARM_DESC(bs, "BS[2:0] Bias voltage level: 0-7 (default: 4)");
46 write_reg(par, 0x10 | (bs & 0x7));
/linux-master/fs/hpfs/
H A Dalloc.c119 unsigned bs = near & ~0x3fff; local
129 if (bs != ~0x3fff) {
135 ret = bs + nr;
150 ret = bs + q;
173 ret = bs + q;
181 if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (le32_to_cpu(bmp[(ret & 0x3fff) >> 5]) | ~(((1 << n) - 1) << (ret & 0x1f))) != 0xffffffff)) {
/linux-master/arch/arm/crypto/
H A DMakefile7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
27 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
/linux-master/arch/arm64/crypto/
H A DMakefile81 obj-$(CONFIG_CRYPTO_AES_ARM64_BS) += aes-neon-bs.o
82 aes-neon-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
/linux-master/arch/powerpc/boot/
H A Dwrapper587 count=$overlay_size bs=1
591 count=$overlay_size bs=1
/linux-master/arch/powerpc/include/asm/
H A Dbitops.h48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs))
56 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be))|PPC_BIT32(bs))
60 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be))|PPC_BIT8(bs))
/linux-master/arch/s390/include/asm/
H A Dap.h108 unsigned int bs : 2; /* SE bind/assoc */
121 * Convenience defines to be used with the bs field from struct ap_tapq_gr2
H A Deadm.h47 u16 bs:4; member in struct:msb
/linux-master/arch/x86/boot/
H A Dgenimage.sh210 $dd if=/dev/zero of="$FIMAGE" bs=1024 count=1440 2>/dev/null
218 $dd if=/dev/zero of="$FIMAGE" bs=1024 count=2880 2>/dev/null
237 $dd if=/dev/zero of="$FIMAGE" bs=$((1024*1024)) count=$megs 2>/dev/null
239 $dd if="$mbr" of="$FIMAGE" bs=440 count=1 conv=notrunc 2>/dev/null
/linux-master/block/
H A Dbio-integrity.c25 static void __bio_integrity_free(struct bio_set *bs, argument
28 if (bs && mempool_initialized(&bs->bio_integrity_pool)) {
30 bvec_free(&bs->bvec_integrity_pool, bip->bip_vec,
32 mempool_free(bip, &bs->bio_integrity_pool);
53 struct bio_set *bs = bio->bi_pool; local
59 if (!bs || !mempool_initialized(&bs->bio_integrity_pool)) {
63 bip = mempool_alloc(&bs->bio_integrity_pool, gfp_mask);
75 bip->bip_vec = bvec_alloc(&bs
145 struct bio_set *bs = bio->bi_pool; local
637 bioset_integrity_create(struct bio_set *bs, int pool_size) argument
655 bioset_integrity_free(struct bio_set *bs) argument
[all...]
H A Dbio.c112 static inline unsigned int bs_bio_slab_size(struct bio_set *bs) argument
114 return bs->front_pad + sizeof(struct bio) + bs->back_pad;
117 static struct kmem_cache *bio_find_or_create_slab(struct bio_set *bs) argument
119 unsigned int size = bs_bio_slab_size(bs);
135 static void bio_put_slab(struct bio_set *bs) argument
138 unsigned int slab_size = bs_bio_slab_size(bs);
146 WARN_ON_ONCE(bslab->slab != bs->bio_slab);
230 struct bio_set *bs = bio->bi_pool; local
233 WARN_ON_ONCE(!bs);
364 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); local
379 punt_bios_to_rescuer(struct bio_set *bs) argument
432 bio_alloc_percpu_cache(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs) argument
492 bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs) argument
731 struct bio_set *bs; local
742 bio_alloc_cache_destroy(struct bio_set *bs) argument
848 bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs) argument
1621 bio_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs) argument
1695 bioset_exit(struct bio_set *bs) argument
1733 bioset_init(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags) argument
[all...]
H A Dblk-merge.c110 unsigned *nsegs, struct bio_set *bs)
142 return bio_split(bio, split_sectors, GFP_NOIO, bs);
147 unsigned *nsegs, struct bio_set *bs)
154 return bio_split(bio, lim->max_write_zeroes_sectors, GFP_NOIO, bs);
260 * @bs: [in] bio set to allocate the clone from
272 * responsible for ensuring that @bs is only destroyed after processing of the
276 unsigned *segs, struct bio_set *bs, unsigned max_bytes)
333 return bio_split(bio, bytes >> SECTOR_SHIFT, GFP_NOIO, bs);
354 struct bio_set *bs = &bio->bi_bdev->bd_disk->bio_split; local
360 split = bio_split_discard(bio, lim, nr_segs, bs);
108 bio_split_discard(struct bio *bio, const struct queue_limits *lim, unsigned *nsegs, struct bio_set *bs) argument
145 bio_split_write_zeroes(struct bio *bio, const struct queue_limits *lim, unsigned *nsegs, struct bio_set *bs) argument
275 bio_split_rw(struct bio *bio, const struct queue_limits *lim, unsigned *segs, struct bio_set *bs, unsigned max_bytes) argument
[all...]
H A Dblk-mq.c3119 * @bs: bio_set that bios for clone are allocated from
3133 struct bio_set *bs, gfp_t gfp_mask,
3139 if (!bs)
3140 bs = &fs_bio_set;
3144 bs);
3132 blk_rq_prep_clone(struct request *rq, struct request *rq_src, struct bio_set *bs, gfp_t gfp_mask, int (*bio_ctr)(struct bio *, struct bio *, void *), void *data) argument
/linux-master/crypto/
H A Dalgif_skcipher.c105 unsigned int bs = crypto_skcipher_chunksize(tfm); local
111 if (!ctx->init || (ctx->more && ctx->used < bs)) {
112 err = af_alg_wait_for_data(sk, flags, bs);
133 len -= len % bs;
H A Dccm.c787 int bs = crypto_shash_digestsize(pdesc->tfm); local
790 memset(ctx->dg, 0, bs);
802 int bs = crypto_shash_digestsize(parent); local
805 unsigned int l = min(len, bs - ctx->len);
812 if (ctx->len == bs) {
827 int bs = crypto_shash_digestsize(parent); local
832 memcpy(out, ctx->dg, bs);
H A Dcipher.c68 unsigned int bs = crypto_cipher_blocksize(tfm); local
72 memcpy(tmp, src, bs);
74 memcpy(dst, tmp, bs);
H A Dcmac.c54 unsigned int bs = crypto_shash_blocksize(parent); local
65 memset(consts, 0, bs);
68 switch (bs) {
106 int bs = crypto_shash_blocksize(pdesc->tfm); local
107 u8 *prev = &ctx->odds[bs];
110 memset(prev, 0, bs);
122 int bs = crypto_shash_blocksize(parent); local
124 u8 *prev = odds + bs;
127 if ((ctx->len + len) <= bs) {
134 memcpy(odds + ctx->len, p, bs
167 int bs = crypto_shash_blocksize(parent); local
187 crypto_xor(prev, (const u8 *)tctx->consts + offset, bs); local
[all...]

Completed in 310 milliseconds

12345678