/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_h323_asn1.c | 100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} 101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} 102 #define BYTE_ALIGN(bs) i 150 get_len(struct bitstr *bs) get_len() argument 165 nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) nf_h323_error_boundary() argument 178 get_bit(struct bitstr *bs) get_bit() argument 188 get_bits(struct bitstr *bs, unsigned int b) get_bits() argument 213 get_bitmap(struct bitstr *bs, unsigned int b) get_bitmap() argument 252 get_uint(struct bitstr *bs, int b) get_uint() argument 276 decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_nul() argument 284 decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bool() argument 295 decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_oid() argument 314 decode_int(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_int() argument 361 decode_enum(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_enum() argument 377 decode_bitstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bitstr() argument 413 decode_numstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_numstr() argument 433 decode_octstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_octstr() argument 486 decode_bmpstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bmpstr() argument 515 decode_seq(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_seq() argument 644 decode_seqof(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_seqof() argument 740 decode_choice(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_choice() argument 827 struct bitstr bs; DecodeRasMessage() local 843 struct bitstr bs; DecodeH323_UserInformation() local 861 struct bitstr bs; DecodeMultimediaSystemControlMessage() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_h323_asn1.c | 100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} 101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} 102 #define BYTE_ALIGN(bs) i 150 get_len(struct bitstr *bs) get_len() argument 165 nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) nf_h323_error_boundary() argument 178 get_bit(struct bitstr *bs) get_bit() argument 188 get_bits(struct bitstr *bs, unsigned int b) get_bits() argument 213 get_bitmap(struct bitstr *bs, unsigned int b) get_bitmap() argument 252 get_uint(struct bitstr *bs, int b) get_uint() argument 276 decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_nul() argument 284 decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bool() argument 295 decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_oid() argument 314 decode_int(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_int() argument 361 decode_enum(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_enum() argument 377 decode_bitstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bitstr() argument 413 decode_numstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_numstr() argument 433 decode_octstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_octstr() argument 486 decode_bmpstr(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_bmpstr() argument 515 decode_seq(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_seq() argument 648 decode_seqof(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_seqof() argument 744 decode_choice(struct bitstr *bs, const struct field_t *f, char *base, int level) decode_choice() argument 831 struct bitstr bs; DecodeRasMessage() local 847 struct bitstr bs; DecodeH323_UserInformation() local 865 struct bitstr bs; DecodeMultimediaSystemControlMessage() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-bcm2835aux.c | 108 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() argument 119 bs->debugfs_dir = dir; in bcm2835aux_debugfs_create() 123 &bs->count_transfer_polling); in bcm2835aux_debugfs_create() 125 &bs->count_transfer_irq); in bcm2835aux_debugfs_create() 127 &bs->count_transfer_irq_after_poll); in bcm2835aux_debugfs_create() 130 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() argument 132 debugfs_remove_recursive(bs->debugfs_dir); in bcm2835aux_debugfs_remove() 133 bs->debugfs_dir = NULL; in bcm2835aux_debugfs_remove() 136 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() argument 141 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() argument 146 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned reg) bcm2835aux_rd() argument 151 bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned reg, u32 val) bcm2835aux_wr() argument 157 bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) bcm2835aux_rd_fifo() argument 180 bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) bcm2835aux_wr_fifo() argument 209 bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) bcm2835aux_spi_reset_hw() argument 217 bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) bcm2835aux_spi_transfer_helper() argument 238 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_interrupt() local 267 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); __bcm2835aux_spi_transfer_one_irq() local 282 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_transfer_one_irq() local 307 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_transfer_one_poll() local 347 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_transfer_one() local 408 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_prepare_message() local 431 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_unprepare_message() local 441 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_handle_err() local 493 struct bcm2835aux_spi *bs; bcm2835aux_spi_probe() local 586 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); bcm2835aux_spi_remove() local [all...] |
H A D | spi-bcm2835.c | 158 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() argument 169 bs->debugfs_dir = dir; in bcm2835_debugfs_create() 173 &bs->count_transfer_polling); in bcm2835_debugfs_create() 175 &bs->count_transfer_irq); in bcm2835_debugfs_create() 177 &bs->count_transfer_irq_after_polling); in bcm2835_debugfs_create() 179 &bs->count_transfer_dma); in bcm2835_debugfs_create() 182 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove() argument 184 debugfs_remove_recursive(bs->debugfs_dir); in bcm2835_debugfs_remove() 185 bs->debugfs_dir = NULL; in bcm2835_debugfs_remove() 188 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() argument 193 bcm2835_debugfs_remove(struct bcm2835_spi *bs) bcm2835_debugfs_remove() argument 198 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg) bcm2835_rd() argument 203 bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) bcm2835_wr() argument 208 bcm2835_rd_fifo(struct bcm2835_spi *bs) bcm2835_rd_fifo() argument 221 bcm2835_wr_fifo(struct bcm2835_spi *bs) bcm2835_wr_fifo() argument 243 bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count) bcm2835_rd_fifo_count() argument 269 bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count) bcm2835_wr_fifo_count() argument 297 bcm2835_wait_tx_fifo_empty(struct bcm2835_spi *bs) bcm2835_wait_tx_fifo_empty() argument 308 bcm2835_rd_fifo_blind(struct bcm2835_spi *bs, int count) bcm2835_rd_fifo_blind() argument 327 bcm2835_wr_fifo_blind(struct bcm2835_spi *bs, int count) bcm2835_wr_fifo_blind() argument 340 bcm2835_spi_reset_hw(struct bcm2835_spi *bs) bcm2835_spi_reset_hw() argument 367 struct bcm2835_spi *bs = dev_id; bcm2835_spi_interrupt() local 402 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_irq() local 472 bcm2835_spi_transfer_prologue(struct spi_controller *ctlr, struct spi_transfer *tfr, struct bcm2835_spi *bs, u32 cs) bcm2835_spi_transfer_prologue() argument 561 bcm2835_spi_undo_prologue(struct bcm2835_spi *bs) bcm2835_spi_undo_prologue() argument 597 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_dma_rx_done() local 625 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_dma_tx_done() local 659 bcm2835_spi_prepare_sg(struct spi_controller *ctlr, struct spi_device *spi, struct spi_transfer *tfr, struct bcm2835_spi *bs, bool is_tx) bcm2835_spi_prepare_sg() argument 763 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_dma() local 852 bcm2835_dma_release(struct spi_controller *ctlr, struct bcm2835_spi *bs) bcm2835_dma_release() argument 891 bcm2835_dma_init(struct spi_controller *ctlr, struct device *dev, struct bcm2835_spi *bs) bcm2835_dma_init() argument 1032 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_poll() local 1086 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one() local 1147 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_prepare_message() local 1174 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_handle_err() local 1199 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_setup() local 1289 struct bcm2835_spi *bs; bcm2835_spi_probe() local 1364 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_remove() local [all...] |
H A D | spi-bcm63xx-hsspi.c | 114 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs() argument 119 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs() 120 reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG); in bcm63xx_hsspi_set_cs() 123 if (active == !(bs->cs_polarity & BIT(cs))) in bcm63xx_hsspi_set_cs() 126 __raw_writel(reg, bs->regs + HSSPI_GLOBAL_CTRL_REG); in bcm63xx_hsspi_set_cs() 127 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs() 130 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk() argument 136 reg = DIV_ROUND_UP(2048, DIV_ROUND_UP(bs->speed_hz, hz)); in bcm63xx_hsspi_set_clk() 138 bs->regs + HSSPI_PROFILE_CLK_CTRL_REG(profile)); in bcm63xx_hsspi_set_clk() 140 reg = __raw_readl(bs in bcm63xx_hsspi_set_clk() 159 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); bcm63xx_hsspi_do_txrx() local 233 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); bcm63xx_hsspi_setup() local 271 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); bcm63xx_hsspi_transfer_one() local 323 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; bcm63xx_hsspi_interrupt() local 339 struct bcm63xx_hsspi *bs; bcm63xx_hsspi_probe() local 473 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); bcm63xx_hsspi_remove() local 487 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); bcm63xx_hsspi_suspend() local 499 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); bcm63xx_hsspi_resume() local [all...] |
H A D | spi-bcm63xx.c | 154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb() argument 157 return readb(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readb() 160 static inline u16 bcm_spi_readw(struct bcm63xx_spi *bs, in bcm_spi_readw() argument 164 return ioread16be(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readw() 166 return readw(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readw() 170 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb() argument 173 writeb(value, bs in bcm_spi_writeb() 176 bcm_spi_writew(struct bcm63xx_spi *bs, u16 value, unsigned int offset) bcm_spi_writew() argument 199 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); bcm63xx_spi_setup_transfer() local 230 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); bcm63xx_txrx_bufs() local 328 struct bcm63xx_spi *bs = spi_master_get_devdata(master); bcm63xx_spi_transfer_one() local 409 struct bcm63xx_spi *bs = spi_master_get_devdata(master); bcm63xx_spi_interrupt() local 426 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); bcm63xx_spi_max_length() local 494 struct bcm63xx_spi *bs; bcm63xx_spi_probe() local 618 struct bcm63xx_spi *bs = spi_master_get_devdata(master); bcm63xx_spi_remove() local 633 struct bcm63xx_spi *bs = spi_master_get_devdata(master); bcm63xx_spi_suspend() local 645 struct bcm63xx_spi *bs = spi_master_get_devdata(master); bcm63xx_spi_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-bcm2835aux.c | 105 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() argument 116 bs->debugfs_dir = dir; in bcm2835aux_debugfs_create() 120 &bs->count_transfer_polling); in bcm2835aux_debugfs_create() 122 &bs->count_transfer_irq); in bcm2835aux_debugfs_create() 124 &bs->count_transfer_irq_after_poll); in bcm2835aux_debugfs_create() 127 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() argument 129 debugfs_remove_recursive(bs->debugfs_dir); in bcm2835aux_debugfs_remove() 130 bs->debugfs_dir = NULL; in bcm2835aux_debugfs_remove() 133 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create() argument 138 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove() argument 143 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned int reg) bcm2835aux_rd() argument 148 bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned int reg, u32 val) bcm2835aux_wr() argument 154 bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) bcm2835aux_rd_fifo() argument 177 bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) bcm2835aux_wr_fifo() argument 206 bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) bcm2835aux_spi_reset_hw() argument 214 bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) bcm2835aux_spi_transfer_helper() argument 235 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_interrupt() local 264 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); __bcm2835aux_spi_transfer_one_irq() local 279 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_transfer_one_irq() local 304 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_transfer_one_poll() local 344 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_transfer_one() local 405 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_prepare_message() local 428 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_unprepare_message() local 438 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_handle_err() local 477 struct bcm2835aux_spi *bs; bcm2835aux_spi_probe() local 571 struct bcm2835aux_spi *bs = spi_controller_get_devdata(host); bcm2835aux_spi_remove() local [all...] |
H A D | spi-bcm2835.c | 163 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() argument 174 bs->debugfs_dir = dir; in bcm2835_debugfs_create() 178 &bs->count_transfer_polling); in bcm2835_debugfs_create() 180 &bs->count_transfer_irq); in bcm2835_debugfs_create() 182 &bs->count_transfer_irq_after_polling); in bcm2835_debugfs_create() 184 &bs->count_transfer_dma); in bcm2835_debugfs_create() 187 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove() argument 189 debugfs_remove_recursive(bs->debugfs_dir); in bcm2835_debugfs_remove() 190 bs->debugfs_dir = NULL; in bcm2835_debugfs_remove() 193 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create() argument 198 bcm2835_debugfs_remove(struct bcm2835_spi *bs) bcm2835_debugfs_remove() argument 203 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg) bcm2835_rd() argument 208 bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) bcm2835_wr() argument 213 bcm2835_rd_fifo(struct bcm2835_spi *bs) bcm2835_rd_fifo() argument 226 bcm2835_wr_fifo(struct bcm2835_spi *bs) bcm2835_wr_fifo() argument 248 bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count) bcm2835_rd_fifo_count() argument 274 bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count) bcm2835_wr_fifo_count() argument 302 bcm2835_wait_tx_fifo_empty(struct bcm2835_spi *bs) bcm2835_wait_tx_fifo_empty() argument 313 bcm2835_rd_fifo_blind(struct bcm2835_spi *bs, int count) bcm2835_rd_fifo_blind() argument 332 bcm2835_wr_fifo_blind(struct bcm2835_spi *bs, int count) bcm2835_wr_fifo_blind() argument 345 bcm2835_spi_reset_hw(struct bcm2835_spi *bs) bcm2835_spi_reset_hw() argument 372 struct bcm2835_spi *bs = dev_id; bcm2835_spi_interrupt() local 411 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_irq() local 481 bcm2835_spi_transfer_prologue(struct spi_controller *ctlr, struct spi_transfer *tfr, struct bcm2835_spi *bs, u32 cs) bcm2835_spi_transfer_prologue() argument 570 bcm2835_spi_undo_prologue(struct bcm2835_spi *bs) bcm2835_spi_undo_prologue() argument 606 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_dma_rx_done() local 634 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_dma_tx_done() local 667 bcm2835_spi_prepare_sg(struct spi_controller *ctlr, struct spi_transfer *tfr, struct bcm2835_spi *bs, struct bcm2835_spidev *target, bool is_tx) bcm2835_spi_prepare_sg() argument 771 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_dma() local 860 bcm2835_dma_release(struct spi_controller *ctlr, struct bcm2835_spi *bs) bcm2835_dma_release() argument 886 bcm2835_dma_init(struct spi_controller *ctlr, struct device *dev, struct bcm2835_spi *bs) bcm2835_dma_init() argument 998 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one_poll() local 1052 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_transfer_one() local 1114 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_prepare_message() local 1142 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_handle_err() local 1181 bcm2835_spi_setup_dma(struct spi_controller *ctlr, struct spi_device *spi, struct bcm2835_spi *bs, struct bcm2835_spidev *target) bcm2835_spi_setup_dma() argument 1222 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_setup() local 1328 struct bcm2835_spi *bs; bcm2835_spi_probe() local 1407 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); bcm2835_spi_remove() local [all...] |
H A D | spi-bcm63xx-hsspi.c | 122 #define bcm63xx_prepend_printk_on_checkfail(bs, fmt, ...) \ 124 if (bs->xfer_mode == HSSPI_XFER_MODE_AUTO) \ 125 dev_dbg(&bs->pdev->dev, fmt, ##__VA_ARGS__); \ 126 else if (bs->xfer_mode == HSSPI_XFER_MODE_PREPEND) \ 127 dev_err(&bs->pdev->dev, fmt, ##__VA_ARGS__); \ 152 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local 154 return sprintf(buf, "%d\n", bs->wait_mode); in wait_mode_show() 161 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local 172 mutex_lock(&bs->msg_mutex); in wait_mode_store() 173 bs in wait_mode_store() 188 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); xfer_mode_show() local 197 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); xfer_mode_store() local 235 bcm63xx_hsspi_wait_cmd(struct bcm63xx_hsspi *bs) bcm63xx_hsspi_wait_cmd() argument 270 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); bcm63xx_prepare_prepend_transfer() local 351 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_hsspi_do_prepend_txrx() local 425 bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, bool active) bcm63xx_hsspi_set_cs() argument 441 bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, struct spi_device *spi, int hz) bcm63xx_hsspi_set_clk() argument 470 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_hsspi_do_txrx() local 544 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_hsspi_setup() local 582 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_hsspi_do_dummy_cs_txrx() local 659 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); bcm63xx_hsspi_transfer_one() local 711 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; bcm63xx_hsspi_interrupt() local 727 struct bcm63xx_hsspi *bs; bcm63xx_hsspi_probe() local 884 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); bcm63xx_hsspi_remove() local 897 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); bcm63xx_hsspi_suspend() local 909 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); bcm63xx_hsspi_resume() local [all...] |
H A D | spi-bcmbca-hsspi.c | 130 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local 132 return sprintf(buf, "%d\n", bs->wait_mode); in wait_mode_show() 139 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local 150 mutex_lock(&bs->msg_mutex); in wait_mode_store() 151 bs->wait_mode = val; in wait_mode_store() 154 __raw_writel(HSSPI_INT_CLEAR_ALL, bs->regs + HSSPI_INT_STATUS_REG); in wait_mode_store() 155 mutex_unlock(&bs->msg_mutex); in wait_mode_store() 171 static void bcmbca_hsspi_set_cs(struct bcmbca_hsspi *bs, unsigned int cs, in bcmbca_hsspi_set_cs() argument 180 mutex_lock(&bs->bus_mutex); in bcmbca_hsspi_set_cs() 182 reg = __raw_readl(bs in bcmbca_hsspi_set_cs() 193 bcmbca_hsspi_set_clk(struct bcmbca_hsspi *bs, struct spi_device *spi, int hz) bcmbca_hsspi_set_clk() argument 221 bcmbca_hsspi_wait_cmd(struct bcmbca_hsspi *bs, unsigned int cs) bcmbca_hsspi_wait_cmd() argument 253 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); bcmbca_hsspi_do_txrx() local 331 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); bcmbca_hsspi_setup() local 372 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); bcmbca_hsspi_transfer_one() local 419 struct bcmbca_hsspi *bs = (struct bcmbca_hsspi *)dev_id; bcmbca_hsspi_interrupt() local 435 struct bcmbca_hsspi *bs; bcmbca_hsspi_probe() local 582 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); bcmbca_hsspi_remove() local 595 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); bcmbca_hsspi_suspend() local 607 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); bcmbca_hsspi_resume() local [all...] |
H A D | spi-bcm63xx.c | 154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb() argument 157 return readb(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readb() 160 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb() argument 163 writeb(value, bs->regs + bs->reg_offsets[offset]); in bcm_spi_writeb() 166 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew() argument 170 iowrite16be(value, bs->regs + bs->reg_offsets[offset]); in bcm_spi_writew() 172 writew(value, bs in bcm_spi_writew() 189 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_spi_setup_transfer() local 220 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_txrx_bufs() local 318 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); bcm63xx_spi_transfer_one() local 399 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); bcm63xx_spi_interrupt() local 416 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); bcm63xx_spi_max_length() local 484 struct bcm63xx_spi *bs; bcm63xx_spi_probe() local 611 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); bcm63xx_spi_remove() local 623 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); bcm63xx_spi_suspend() local 635 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); bcm63xx_spi_resume() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | btree.c | 138 struct xchk_btree *bs) in xchk_btree_rec() 140 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_rec() 152 trace_xchk_btree_rec(bs->sc, cur, 0); in xchk_btree_rec() 155 if (bs->lastrec_valid && in xchk_btree_rec() 156 !cur->bc_ops->recs_inorder(cur, &bs->lastrec, rec)) in xchk_btree_rec() 157 xchk_btree_set_corrupt(bs->sc, cur, 0); in xchk_btree_rec() 158 memcpy(&bs->lastrec, rec, cur->bc_ops->rec_len); in xchk_btree_rec() 159 bs->lastrec_valid = true; in xchk_btree_rec() 169 xchk_btree_set_corrupt(bs->sc, cur, 1); in xchk_btree_rec() 178 xchk_btree_set_corrupt(bs in xchk_btree_rec() 137 xchk_btree_rec( struct xchk_btree *bs) xchk_btree_rec() argument 186 xchk_btree_key( struct xchk_btree *bs, int level) xchk_btree_key() argument 234 xchk_btree_ptr_ok( struct xchk_btree *bs, int level, union xfs_btree_ptr *ptr) xchk_btree_ptr_ok() argument 259 xchk_btree_block_check_sibling( struct xchk_btree *bs, int level, int direction, union xfs_btree_ptr *sibling) xchk_btree_block_check_sibling() argument 322 xchk_btree_block_check_siblings( struct xchk_btree *bs, struct xfs_btree_block *block) xchk_btree_block_check_siblings() argument 370 xchk_btree_check_block_owner( struct xchk_btree *bs, int level, xfs_daddr_t daddr) xchk_btree_check_block_owner() argument 418 xchk_btree_check_owner( struct xchk_btree *bs, int level, struct xfs_buf *bp) xchk_btree_check_owner() argument 464 xchk_btree_check_iroot_minrecs( struct xchk_btree *bs) xchk_btree_check_iroot_minrecs() argument 491 xchk_btree_check_minrecs( struct xchk_btree *bs, int level, struct xfs_btree_block *block) xchk_btree_check_minrecs() argument 539 xchk_btree_block_check_keys( struct xchk_btree *bs, int level, struct xfs_btree_block *block) xchk_btree_block_check_keys() argument 581 xchk_btree_get_block( struct xchk_btree *bs, int level, union xfs_btree_ptr *pp, struct xfs_btree_block **pblock, struct xfs_buf **pbp) xchk_btree_get_block() argument 640 xchk_btree_block_keys( struct xchk_btree *bs, int level, struct xfs_btree_block *block) xchk_btree_block_keys() argument 693 struct xchk_btree *bs; xchk_btree() local [all...] |
H A D | ialloc.c | 254 struct xchk_btree *bs, in xchk_iallocbt_chunk() 259 struct xfs_scrub *sc = bs->sc; in xchk_iallocbt_chunk() 260 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_chunk() 261 struct xfs_perag *pag = bs->cur->bc_ag.pag; in xchk_iallocbt_chunk() 269 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_chunk() 271 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_iallocbt_chunk() 301 struct xchk_btree *bs, in xchk_iallocbt_check_cluster_ifree() 306 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_ifree() 314 if (xchk_should_terminate(bs in xchk_iallocbt_check_cluster_ifree() 253 xchk_iallocbt_chunk( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, xfs_agino_t agino, unsigned int nr_inodes) xchk_iallocbt_chunk() argument 300 xchk_iallocbt_check_cluster_ifree( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int irec_ino, struct xfs_dinode *dip) xchk_iallocbt_check_cluster_ifree() argument 362 xchk_iallocbt_check_cluster( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int cluster_base) xchk_iallocbt_check_cluster() argument 465 xchk_iallocbt_check_clusters( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) xchk_iallocbt_check_clusters() argument 497 xchk_iallocbt_rec_alignment( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) xchk_iallocbt_rec_alignment() argument 573 xchk_iallocbt_rec( struct xchk_btree *bs, const union xfs_btree_rec *rec) xchk_iallocbt_rec() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | btree.c | 126 struct xchk_btree *bs) in xchk_btree_rec() 128 struct xfs_btree_cur *cur = bs->cur; in xchk_btree_rec() 140 trace_xchk_btree_rec(bs->sc, cur, 0); in xchk_btree_rec() 143 if (!bs->firstrec && !cur->bc_ops->recs_inorder(cur, &bs->lastrec, rec)) in xchk_btree_rec() 144 xchk_btree_set_corrupt(bs->sc, cur, 0); in xchk_btree_rec() 145 bs->firstrec = false; in xchk_btree_rec() 146 memcpy(&bs->lastrec, rec, cur->bc_ops->rec_len); in xchk_btree_rec() 156 xchk_btree_set_corrupt(bs->sc, cur, 1); in xchk_btree_rec() 165 xchk_btree_set_corrupt(bs in xchk_btree_rec() 125 xchk_btree_rec( struct xchk_btree *bs) xchk_btree_rec() argument 173 xchk_btree_key( struct xchk_btree *bs, int level) xchk_btree_key() argument 220 xchk_btree_ptr_ok( struct xchk_btree *bs, int level, union xfs_btree_ptr *ptr) xchk_btree_ptr_ok() argument 245 xchk_btree_block_check_sibling( struct xchk_btree *bs, int level, int direction, union xfs_btree_ptr *sibling) xchk_btree_block_check_sibling() argument 308 xchk_btree_block_check_siblings( struct xchk_btree *bs, struct xfs_btree_block *block) xchk_btree_block_check_siblings() argument 356 xchk_btree_check_block_owner( struct xchk_btree *bs, int level, xfs_daddr_t daddr) xchk_btree_check_block_owner() argument 403 xchk_btree_check_owner( struct xchk_btree *bs, int level, struct xfs_buf *bp) xchk_btree_check_owner() argument 450 xchk_btree_check_minrecs( struct xchk_btree *bs, int level, struct xfs_btree_block *block) xchk_btree_check_minrecs() argument 497 xchk_btree_get_block( struct xchk_btree *bs, int level, union xfs_btree_ptr *pp, struct xfs_btree_block **pblock, struct xfs_buf **pbp) xchk_btree_get_block() argument 551 xchk_btree_block_keys( struct xchk_btree *bs, int level, struct xfs_btree_block *block) xchk_btree_block_keys() argument 603 struct xchk_btree bs = { xchk_btree() local [all...] |
H A D | ialloc.c | 101 struct xchk_btree *bs, in xchk_iallocbt_chunk() 106 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_chunk() 107 xfs_agnumber_t agno = bs->cur->bc_ag.agno; in xchk_iallocbt_chunk() 114 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_chunk() 116 xchk_iallocbt_chunk_xref(bs->sc, irec, agino, bno, len); in xchk_iallocbt_chunk() 146 struct xchk_btree *bs, in xchk_iallocbt_check_cluster_ifree() 151 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_ifree() 159 if (xchk_should_terminate(bs->sc, &error)) in xchk_iallocbt_check_cluster_ifree() 167 fsino = XFS_AGINO_TO_INO(mp, bs in xchk_iallocbt_check_cluster_ifree() 100 xchk_iallocbt_chunk( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, xfs_agino_t agino, xfs_extlen_t len) xchk_iallocbt_chunk() argument 145 xchk_iallocbt_check_cluster_ifree( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int irec_ino, struct xfs_dinode *dip) xchk_iallocbt_check_cluster_ifree() argument 208 xchk_iallocbt_check_cluster( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec, unsigned int cluster_base) xchk_iallocbt_check_cluster() argument 312 xchk_iallocbt_check_clusters( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) xchk_iallocbt_check_clusters() argument 344 xchk_iallocbt_rec_alignment( struct xchk_btree *bs, struct xfs_inobt_rec_incore *irec) xchk_iallocbt_rec_alignment() argument 420 xchk_iallocbt_rec( struct xchk_btree *bs, union xfs_btree_rec *rec) xchk_iallocbt_rec() argument [all...] |
H A D | rmap.c | 90 struct xchk_btree *bs, in xchk_rmapbt_rec() 93 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_rmapbt_rec() 95 xfs_agnumber_t agno = bs->cur->bc_ag.agno; in xchk_rmapbt_rec() 103 if (!xchk_btree_process_error(bs->sc, bs->cur, 0, &error)) in xchk_rmapbt_rec() 108 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_rec() 118 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_rec() 127 xchk_btree_set_corrupt(bs in xchk_rmapbt_rec() 89 xchk_rmapbt_rec( struct xchk_btree *bs, union xfs_btree_rec *rec) xchk_rmapbt_rec() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_vli.h | 226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() argument 228 bs->buf = s; in bitstream_init() 229 bs->buf_len = len; in bitstream_init() 230 bs->pad_bits = pad_bits; in bitstream_init() 231 bitstream_cursor_reset(&bs->cur, bs->buf); in bitstream_init() 234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind() argument 236 bitstream_cursor_reset(&bs->cur, bs->buf); in bitstream_rewind() 237 memset(bs in bitstream_rewind() 248 bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) bitstream_put_bits() argument 281 bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) bitstream_get_bits() argument 328 vli_encode_bits(struct bitstream *bs, u64 in) vli_encode_bits() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_vli.h | 226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() argument 228 bs->buf = s; in bitstream_init() 229 bs->buf_len = len; in bitstream_init() 230 bs->pad_bits = pad_bits; in bitstream_init() 231 bitstream_cursor_reset(&bs->cur, bs->buf); in bitstream_init() 234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind() argument 236 bitstream_cursor_reset(&bs->cur, bs->buf); in bitstream_rewind() 237 memset(bs in bitstream_rewind() 248 bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) bitstream_put_bits() argument 281 bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) bitstream_get_bits() argument 328 vli_encode_bits(struct bitstream *bs, u64 in) vli_encode_bits() argument [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | vl_list.c | 162 struct dns_server_list_v1_server bs; in afs_extract_vlserver_list() local 199 while (end - b >= sizeof(bs)) { in afs_extract_vlserver_list() 200 bs.name_len = afs_extract_le16(&b); in afs_extract_vlserver_list() 201 bs.priority = afs_extract_le16(&b); in afs_extract_vlserver_list() 202 bs.weight = afs_extract_le16(&b); in afs_extract_vlserver_list() 203 bs.port = afs_extract_le16(&b); in afs_extract_vlserver_list() 204 bs.source = *b++; in afs_extract_vlserver_list() 205 bs.status = *b++; in afs_extract_vlserver_list() 206 bs.protocol = *b++; in afs_extract_vlserver_list() 207 bs in afs_extract_vlserver_list() [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | vl_list.c | 155 struct dns_server_list_v1_server bs; in afs_extract_vlserver_list() local 192 while (end - b >= sizeof(bs)) { in afs_extract_vlserver_list() 193 bs.name_len = afs_extract_le16(&b); in afs_extract_vlserver_list() 194 bs.priority = afs_extract_le16(&b); in afs_extract_vlserver_list() 195 bs.weight = afs_extract_le16(&b); in afs_extract_vlserver_list() 196 bs.port = afs_extract_le16(&b); in afs_extract_vlserver_list() 197 bs.source = *b++; in afs_extract_vlserver_list() 198 bs.status = *b++; in afs_extract_vlserver_list() 199 bs.protocol = *b++; in afs_extract_vlserver_list() 200 bs in afs_extract_vlserver_list() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | common-beacon.c | 43 struct ath9k_beacon_state *bs) in ath9k_cmn_beacon_config_sta() 56 memset(bs, 0, sizeof(*bs)); in ath9k_cmn_beacon_config_sta() 72 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta() 73 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta() 74 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta() 75 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta() 77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta() 85 bs in ath9k_cmn_beacon_config_sta() 41 ath9k_cmn_beacon_config_sta(struct ath_hw *ah, struct ath_beacon_config *conf, struct ath9k_beacon_state *bs) ath9k_cmn_beacon_config_sta() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | common-beacon.c | 43 struct ath9k_beacon_state *bs) in ath9k_cmn_beacon_config_sta() 56 memset(bs, 0, sizeof(*bs)); in ath9k_cmn_beacon_config_sta() 72 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta() 73 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta() 74 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta() 75 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta() 77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta() 85 bs in ath9k_cmn_beacon_config_sta() 41 ath9k_cmn_beacon_config_sta(struct ath_hw *ah, struct ath_beacon_config *conf, struct ath9k_beacon_state *bs) ath9k_cmn_beacon_config_sta() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | bio.c | 113 static inline unsigned int bs_bio_slab_size(struct bio_set *bs) in bs_bio_slab_size() argument 115 return bs->front_pad + sizeof(struct bio) + bs->back_pad; in bs_bio_slab_size() 118 static struct kmem_cache *bio_find_or_create_slab(struct bio_set *bs) in bio_find_or_create_slab() argument 120 unsigned int size = bs_bio_slab_size(bs); in bio_find_or_create_slab() 136 static void bio_put_slab(struct bio_set *bs) in bio_put_slab() argument 139 unsigned int slab_size = bs_bio_slab_size(bs); in bio_put_slab() 147 WARN_ON_ONCE(bslab->slab != bs->bio_slab); in bio_put_slab() 231 struct bio_set *bs = bio->bi_pool; in bio_free() local 234 WARN_ON_ONCE(!bs); in bio_free() 364 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); bio_alloc_rescue() local 379 punt_bios_to_rescuer(struct bio_set *bs) punt_bios_to_rescuer() 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) bio_alloc_percpu_cache() 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) bio_alloc_bioset() argument 731 struct bio_set *bs; bio_cpu_dead() local 742 bio_alloc_cache_destroy(struct bio_set *bs) bio_alloc_cache_destroy() argument 845 bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs) bio_alloc_clone() argument 1624 bio_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs) bio_split() argument 1698 bioset_exit(struct bio_set *bs) bioset_exit() argument 1736 bioset_init(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags) bioset_init() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | xcbc.c | 58 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() local 63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 67 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey() 75 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local 76 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init() 79 memset(prev, 0, bs); in crypto_xcbc_digest_init() 92 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local 94 u8 *prev = odds + bs; in crypto_xcbc_digest_update() 138 int bs = crypto_shash_blocksize(parent); crypto_xcbc_digest_final() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | xcbc.c | 59 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() local 64 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 65 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 68 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey() 76 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local 77 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init() 80 memset(prev, 0, bs); in crypto_xcbc_digest_init() 93 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local 95 u8 *prev = odds + bs; in crypto_xcbc_digest_update() 139 int bs = crypto_shash_blocksize(parent); crypto_xcbc_digest_final() local [all...] |