Searched refs:bc (Results 1 - 25 of 114) sorted by relevance

12345

/linux-master/drivers/tty/
H A Dehv_bytechan.c86 static void enable_tx_interrupt(struct ehv_bc_data *bc) argument
88 if (!bc->tx_irq_enabled) {
89 enable_irq(bc->tx_irq);
90 bc->tx_irq_enabled = 1;
94 static void disable_tx_interrupt(struct ehv_bc_data *bc) argument
96 if (bc->tx_irq_enabled) {
97 disable_irq_nosync(bc->tx_irq);
98 bc->tx_irq_enabled = 0;
122 pr_err("ehv-bc: no 'interrupts' property in %pOF node\n", np);
131 pr_err("ehv-bc
352 struct ehv_bc_data *bc = data; local
410 ehv_bc_tx_dequeue(struct ehv_bc_data *bc) argument
453 struct ehv_bc_data *bc = data; local
475 struct ehv_bc_data *bc = ttys->driver_data; local
513 struct ehv_bc_data *bc = &bcs[ttys->index]; local
528 struct ehv_bc_data *bc = &bcs[ttys->index]; local
543 struct ehv_bc_data *bc = ttys->driver_data; local
568 struct ehv_bc_data *bc = ttys->driver_data; local
582 struct ehv_bc_data *bc = ttys->driver_data; local
592 struct ehv_bc_data *bc = ttys->driver_data; local
625 struct ehv_bc_data *bc = container_of(port, struct ehv_bc_data, port); local
658 struct ehv_bc_data *bc = container_of(port, struct ehv_bc_data, port); local
672 struct ehv_bc_data *bc; local
[all...]
/linux-master/drivers/net/hamradio/
H A Dbaycom_ser_hdx.c132 static inline void baycom_int_freq(struct baycom_state *bc) argument
139 bc->debug_vals.cur_intcnt++;
140 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) {
141 bc->debug_vals.last_jiffies = cur_jiffies;
142 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt;
143 bc->debug_vals.cur_intcnt = 0;
144 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr;
145 bc
185 ser12_tx(struct net_device *dev, struct baycom_state *bc) argument
203 ser12_rx(struct net_device *dev, struct baycom_state *bc) argument
365 struct baycom_state *bc = netdev_priv(dev); local
458 struct baycom_state *bc = netdev_priv(dev); local
501 struct baycom_state *bc = netdev_priv(dev); local
539 baycom_setmode(struct baycom_state *bc, const char *modestr) argument
557 struct baycom_state *bc; local
651 struct baycom_state *bc; local
[all...]
H A Dbaycom_par.c143 static inline void baycom_int_freq(struct baycom_state *bc) argument
150 bc->debug_vals.cur_intcnt++;
151 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) {
152 bc->debug_vals.last_jiffies = cur_jiffies;
153 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt;
154 bc->debug_vals.cur_intcnt = 0;
155 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr;
156 bc
179 par96_tx(struct net_device *dev, struct baycom_state *bc) argument
203 par96_rx(struct net_device *dev, struct baycom_state *bc) argument
259 struct baycom_state *bc = netdev_priv(dev); local
286 struct baycom_state *bc = netdev_priv(dev); local
297 struct baycom_state *bc = netdev_priv(dev); local
361 struct baycom_state *bc = netdev_priv(dev); local
398 baycom_setmode(struct baycom_state *bc, const char *modestr) argument
414 struct baycom_state *bc; local
525 struct baycom_state *bc; local
[all...]
H A Dbaycom_ser_fdx.c145 static inline void baycom_int_freq(struct baycom_state *bc) argument
152 bc->debug_vals.cur_intcnt++;
153 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) {
154 bc->debug_vals.last_jiffies = cur_jiffies;
155 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt;
156 bc->debug_vals.cur_intcnt = 0;
157 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr;
158 bc
191 ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timespec64 *ts, unsigned char curs) argument
250 struct baycom_state *bc = netdev_priv(dev); local
376 struct baycom_state *bc = netdev_priv(dev); local
442 struct baycom_state *bc = netdev_priv(dev); local
480 baycom_setmode(struct baycom_state *bc, const char *modestr) argument
503 struct baycom_state *bc; local
600 struct baycom_state *bc; local
[all...]
H A Dbaycom_epp.c260 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800)
264 static inline void baycom_int_freq(struct baycom_state *bc) argument
271 bc->debug_vals.cur_intcnt++;
272 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) {
273 bc->debug_vals.last_jiffies = cur_jiffies;
274 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt;
275 bc->debug_vals.cur_intcnt = 0;
276 bc
292 eppconfig(struct baycom_state *bc) argument
317 do_kiss_params(struct baycom_state *bc, unsigned char *data, unsigned long len) argument
358 encode_hdlc(struct baycom_state *bc) argument
420 transmit(struct baycom_state *bc, int cnt, unsigned char stat) argument
528 struct baycom_state *bc = netdev_priv(dev); local
553 struct baycom_state *bc = netdev_priv(dev); local
634 struct baycom_state *bc; local
757 struct baycom_state *bc = netdev_priv(dev); local
797 struct baycom_state *bc = netdev_priv(dev); local
817 struct baycom_state *bc = netdev_priv(dev); local
946 struct baycom_state *bc = netdev_priv(dev); local
967 baycom_setmode(struct baycom_state *bc, const char *modestr) argument
1005 struct baycom_state *bc = netdev_priv(dev); local
1129 struct baycom_state *bc; local
1201 struct baycom_state *bc = netdev_priv(dev); local
1276 struct baycom_state *bc = netdev_priv(dev); local
[all...]
/linux-master/crypto/
H A Dsha3_generic.c49 u64 t[5], tt, bc[5]; local
52 bc[0] = st[0] ^ st[5] ^ st[10] ^ st[15] ^ st[20];
53 bc[1] = st[1] ^ st[6] ^ st[11] ^ st[16] ^ st[21];
54 bc[2] = st[2] ^ st[7] ^ st[12] ^ st[17] ^ st[22];
55 bc[3] = st[3] ^ st[8] ^ st[13] ^ st[18] ^ st[23];
56 bc[4] = st[4] ^ st[9] ^ st[14] ^ st[19] ^ st[24];
58 t[0] = bc[4] ^ rol64(bc[1], 1);
59 t[1] = bc[0] ^ rol64(bc[
[all...]
/linux-master/drivers/isdn/hardware/mISDN/
H A Dnetjet.c78 struct tiger_ch bc[2]; member in struct:tiger_hw
96 card->bc[0].bch.debug = debug;
97 card->bc[1].bch.debug = debug;
175 fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) argument
177 struct tiger_hw *card = bc->bch.hw;
181 bc->bch.nr, fill, cnt, idx, card->send.idx);
182 if (bc->bch.nr & 2) {
198 mode_tiger(struct tiger_ch *bc, u32 protocol) argument
200 struct tiger_hw *card = bc->bch.hw;
203 bc
363 read_dma(struct tiger_ch *bc, u32 idx, int cnt) argument
465 resync(struct tiger_ch *bc, struct tiger_hw *card) argument
487 fill_hdlc_flag(struct tiger_ch *bc) argument
524 fill_dma(struct tiger_ch *bc) argument
601 bc_next_frame(struct tiger_ch *bc) argument
625 send_tiger_bc(struct tiger_hw *card, struct tiger_ch *bc) argument
741 struct tiger_ch *bc = container_of(bch, struct tiger_ch, bch); local
783 channel_bctrl(struct tiger_ch *bc, struct mISDN_ctrl_req *cq) argument
792 struct tiger_ch *bc = container_of(bch, struct tiger_ch, bch); local
[all...]
/linux-master/drivers/pmdomain/imx/
H A Dimx8mp-blk-ctrl.c45 void (*power_off) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
46 void (*power_on) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
67 struct imx8mp_blk_ctrl *bc; member in struct:imx8mp_blk_ctrl_domain
74 int (*probe) (struct imx8mp_blk_ctrl *bc);
76 void (*power_off) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
77 void (*power_on) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
147 static int imx8mp_hsio_blk_ctrl_probe(struct imx8mp_blk_ctrl *bc) argument
154 clk_hsio_pll = devm_kzalloc(bc->dev, sizeof(*clk_hsio_pll), GFP_KERNEL);
163 clk_hsio_pll->regmap = bc->regmap;
167 ret = devm_clk_hw_register(bc
174 imx8mp_hsio_blk_ctrl_power_on(struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain) argument
193 imx8mp_hsio_blk_ctrl_power_off(struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain) argument
215 struct imx8mp_blk_ctrl *bc = container_of(nb, struct imx8mp_blk_ctrl, local
305 imx8mp_hdmi_blk_ctrl_power_on(struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain) argument
363 imx8mp_hdmi_blk_ctrl_power_off(struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain) argument
422 struct imx8mp_blk_ctrl *bc = container_of(nb, struct imx8mp_blk_ctrl, local
527 struct imx8mp_blk_ctrl *bc = domain->bc; local
574 struct imx8mp_blk_ctrl *bc = domain->bc; local
603 struct imx8mp_blk_ctrl *bc; local
768 struct imx8mp_blk_ctrl *bc = dev_get_drvdata(&pdev->dev); local
788 struct imx8mp_blk_ctrl *bc = dev_get_drvdata(dev); local
828 struct imx8mp_blk_ctrl *bc = dev_get_drvdata(dev); local
[all...]
H A Dimx93-blk-ctrl.c84 struct imx93_blk_ctrl *bc; member in struct:imx93_blk_ctrl_domain
104 struct imx93_blk_ctrl *bc = domain->bc; local
117 regmap_write_bits(bc->regmap, qos->reg, mask, val);
119 dev_dbg(bc->dev, "data->qos[i].reg 0x%x 0x%x\n", qos->reg, val);
129 struct imx93_blk_ctrl *bc = domain->bc; local
132 ret = clk_bulk_prepare_enable(bc->num_clks, bc->clks);
134 dev_err(bc
174 struct imx93_blk_ctrl *bc = domain->bc; local
196 struct imx93_blk_ctrl *bc; local
311 struct imx93_blk_ctrl *bc = dev_get_drvdata(&pdev->dev); local
[all...]
H A Dimx8m-blk-ctrl.c68 struct imx8m_blk_ctrl *bc; member in struct:imx8m_blk_ctrl_domain
89 struct imx8m_blk_ctrl *bc = domain->bc; local
93 ret = pm_runtime_get_sync(bc->bus_power_dev);
95 pm_runtime_put_noidle(bc->bus_power_dev);
96 dev_err(bc->dev, "failed to power up bus domain\n");
101 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask);
103 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask);
108 dev_err(bc->dev, "failed to enable clocks\n");
111 regmap_set_bits(bc
149 struct imx8m_blk_ctrl *bc = domain->bc; local
173 struct imx8m_blk_ctrl *bc; local
338 struct imx8m_blk_ctrl *bc = dev_get_drvdata(&pdev->dev); local
358 struct imx8m_blk_ctrl *bc = dev_get_drvdata(dev); local
398 struct imx8m_blk_ctrl *bc = dev_get_drvdata(dev); local
417 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, local
527 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, local
597 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, local
671 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, local
806 struct imx8m_blk_ctrl *bc = container_of(nb, struct imx8m_blk_ctrl, local
[all...]
/linux-master/kernel/time/
H A Dtick-broadcast.c38 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic);
40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc);
46 tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic) { BUG(); } argument
48 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } argument
77 static void tick_broadcast_start_periodic(struct clock_event_device *bc) argument
79 if (bc)
80 tick_setup_periodic(bc, 1);
249 struct clock_event_device *bc = tick_broadcast_device.evtdev; local
266 tick_broadcast_start_periodic(bc);
268 tick_broadcast_setup_oneshot(bc, fals
356 struct clock_event_device *bc = tick_broadcast_device.evtdev; local
440 struct clock_event_device *bc, *dev; local
526 struct clock_event_device *bc = tick_broadcast_device.evtdev; local
551 struct clock_event_device *bc; local
581 struct clock_event_device *bc; local
638 tick_broadcast_set_affinity(struct clock_event_device *bc, const struct cpumask *cpumask) argument
651 tick_broadcast_set_event(struct clock_event_device *bc, int cpu, ktime_t expires) argument
661 tick_resume_broadcast_oneshot(struct clock_event_device *bc) argument
770 broadcast_needs_cpu(struct clock_event_device *bc, int cpu) argument
779 broadcast_shutdown_local(struct clock_event_device *bc, struct clock_event_device *dev) argument
800 struct clock_event_device *bc, *dev = td->evtdev; local
1024 tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic) argument
1126 struct clock_event_device *bc; local
1144 struct clock_event_device *bc; local
1188 struct clock_event_device *bc = tick_broadcast_device.evtdev; local
1196 struct clock_event_device *bc = tick_broadcast_device.evtdev; local
[all...]
H A Dtick-broadcast-hrtimer.c43 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) argument
62 * The core tick broadcast mode expects bc->bound_on to be set
71 bc->bound_on = bctimer.base->cpu_base->cpu;
/linux-master/fs/ocfs2/
H A Dblockcheck.h31 struct ocfs2_block_check *bc);
33 struct ocfs2_block_check *bc);
36 struct ocfs2_block_check *bc);
39 struct ocfs2_block_check *bc);
43 struct ocfs2_block_check *bc);
45 struct ocfs2_block_check *bc,
48 struct ocfs2_block_check *bc);
50 struct ocfs2_block_check *bc,
H A Dblockcheck.c337 * data is the block to be checked. bc is a pointer to the
340 * bc should be a pointer inside data, as the function will
342 * bc does not point inside data, the caller must make sure any inline
346 * bc will be filled with little-endian values and will be ready to go to
350 struct ocfs2_block_check *bc)
355 memset(bc, 0, sizeof(struct ocfs2_block_check));
366 bc->bc_crc32e = cpu_to_le32(crc);
367 bc->bc_ecc = cpu_to_le16((u16)ecc);
372 * the function will take care of zeroing bc before calculating check codes.
373 * If bc i
349 ocfs2_block_check_compute(void *data, size_t blocksize, struct ocfs2_block_check *bc) argument
378 ocfs2_block_check_validate(void *data, size_t blocksize, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument
441 ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc) argument
485 ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument
564 ocfs2_compute_meta_ecc(struct super_block *sb, void *data, struct ocfs2_block_check *bc) argument
571 ocfs2_validate_meta_ecc(struct super_block *sb, void *data, struct ocfs2_block_check *bc) argument
584 ocfs2_compute_meta_ecc_bhs(struct super_block *sb, struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc) argument
592 ocfs2_validate_meta_ecc_bhs(struct super_block *sb, struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc) argument
[all...]
/linux-master/fs/bcachefs/
H A Dbtree_key_cache.c82 static void bkey_cached_free(struct btree_key_cache *bc, argument
85 struct bch_fs *c = container_of(bc, struct bch_fs, btree_key_cache);
93 list_move_tail(&ck->list, &bc->freed_pcpu);
94 bc->nr_freed_pcpu++;
96 list_move_tail(&ck->list, &bc->freed_nonpcpu);
97 bc->nr_freed_nonpcpu++;
99 atomic_long_inc(&bc->nr_freed);
110 static void __bkey_cached_move_to_freelist_ordered(struct btree_key_cache *bc, argument
115 bc->nr_freed_nonpcpu++;
117 list_for_each_entry_reverse(pos, &bc
129 bkey_cached_move_to_freelist(struct btree_key_cache *bc, struct bkey_cached *ck) argument
177 bkey_cached_free_fast(struct btree_key_cache *bc, struct bkey_cached *ck) argument
203 struct btree_key_cache *bc = &c->btree_key_cache; local
325 struct btree_key_cache *bc = &c->btree_key_cache; local
830 struct btree_key_cache *bc = &c->btree_key_cache; local
920 struct btree_key_cache *bc = &c->btree_key_cache; local
927 bch2_fs_btree_key_cache_exit(struct btree_key_cache *bc) argument
1012 bch2_fs_btree_key_cache_init(struct btree_key_cache *bc) argument
[all...]
H A Dbtree_cache.c43 static inline unsigned btree_cache_can_free(struct btree_cache *bc) argument
45 return max_t(int, 0, bc->used - bc->reserve);
48 static void btree_node_to_freedlist(struct btree_cache *bc, struct btree *b) argument
51 list_move(&b->list, &bc->freed_pcpu);
53 list_move(&b->list, &bc->freed_nonpcpu);
58 struct btree_cache *bc = &c->btree_cache; local
73 bc->used--;
75 btree_node_to_freedlist(bc, b);
136 struct btree_cache *bc local
157 bch2_btree_node_hash_remove(struct btree_cache *bc, struct btree *b) argument
167 __bch2_btree_node_hash_insert(struct btree_cache *bc, struct btree *b) argument
176 bch2_btree_node_hash_insert(struct btree_cache *bc, struct btree *b, unsigned level, enum btree_id id) argument
194 btree_cache_find(struct btree_cache *bc, const struct bkey_i *k) argument
208 struct btree_cache *bc = &c->btree_cache; local
303 struct btree_cache *bc = &c->btree_cache; local
401 struct btree_cache *bc = &c->btree_cache; local
411 struct btree_cache *bc = &c->btree_cache; local
465 struct btree_cache *bc = &c->btree_cache; local
501 bch2_fs_btree_cache_init_early(struct btree_cache *bc) argument
519 struct btree_cache *bc = &c->btree_cache; local
531 struct btree_cache *bc = &c->btree_cache; local
563 struct btree_cache *bc = &c->btree_cache; local
587 struct btree_cache *bc = &c->btree_cache; local
710 struct btree_cache *bc = &c->btree_cache; local
847 struct btree_cache *bc = &c->btree_cache; local
1044 struct btree_cache *bc = &c->btree_cache; local
1128 struct btree_cache *bc = &c->btree_cache; local
1147 struct btree_cache *bc = &c->btree_cache; local
[all...]
/linux-master/arch/mips/pci/
H A Dpci-xtalk-bridge.c32 struct bridge_controller *bc = BRIDGE_CONTROLLER(pdev->bus); local
34 return bc->baddr + paddr;
97 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); local
101 bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
102 bridge_read(bc, b_widget.w_tflush); /* Flush */
122 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
123 struct bridge_regs *bridge = bc->base;
141 bc->ioc3_sid[slot]);
159 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
160 struct bridge_regs *bridge = bc
207 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
246 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
299 struct bridge_controller *bc; member in struct:bridge_irq_chip_data
377 struct bridge_controller *bc = data->bc; local
437 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); local
469 bridge_setup_ip27_baseio6g(struct bridge_controller *bc) argument
477 bridge_setup_ip27_baseio(struct bridge_controller *bc) argument
483 bridge_setup_ip29_baseio(struct bridge_controller *bc) argument
489 bridge_setup_ip30_sysboard(struct bridge_controller *bc) argument
495 bridge_setup_menet(struct bridge_controller *bc) argument
503 bridge_setup_io7(struct bridge_controller *bc) argument
508 bridge_setup_io8(struct bridge_controller *bc) argument
513 bridge_setup_io9(struct bridge_controller *bc) argument
518 bridge_setup_ip34_fuel_sysboard(struct bridge_controller *bc) argument
546 bridge_setup_board(struct bridge_controller *bc, char *partnum) argument
611 struct bridge_controller *bc; local
739 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
[all...]
H A Dpci-ip27.c23 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); local
25 return bc->nasid;
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen7_renderclear.c91 static void batch_init(struct batch_chunk *bc, argument
95 bc->vma = vma;
96 bc->offset = offset;
97 bc->start = start + bc->offset / sizeof(*bc->start);
98 bc->end = bc->start;
99 bc->max_items = max_bytes / sizeof(*bc
102 batch_offset(const struct batch_chunk *bc, u32 *cs) argument
107 batch_addr(const struct batch_chunk *bc) argument
112 batch_add(struct batch_chunk *bc, const u32 d) argument
118 batch_alloc_items(struct batch_chunk *bc, u32 align, u32 items) argument
135 batch_alloc_bytes(struct batch_chunk *bc, u32 align, u32 bytes) argument
[all...]
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsignal.S14 bc 4,3,1f
31 bc 4,3,2f
/linux-master/drivers/spmi/
H A Dhisi-spmi-controller.c112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc)
122 if (bc > SPMI_CONTROLLER_MAX_TRANS_BYTES) {
125 SPMI_CONTROLLER_MAX_TRANS_BYTES, bc);
146 ((bc - 1) << SPMI_APB_SPMI_CMD_LENGTH_OFFSET) |
159 for (i = 0; bc > i * SPMI_PER_DATAREG_BYTE; i++) {
165 if ((bc - i * SPMI_PER_DATAREG_BYTE) >> 2) {
169 memcpy(buf, &data, bc % SPMI_PER_DATAREG_BYTE);
170 buf += (bc % SPMI_PER_DATAREG_BYTE);
178 "spmi read wait timeout op:0x%x slave_id:%d slave_addr:0x%x bc:%zu\n",
179 opc, slave_id, slave_addr, bc
111 spmi_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) argument
187 spmi_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 slave_id, u16 slave_addr, const u8 *__buf, size_t bc) argument
[all...]
/linux-master/block/
H A Dblk-crypto.c94 struct bio_crypt_ctx *bc; local
102 bc = mempool_alloc(bio_crypt_ctx_pool, gfp_mask);
104 bc->bc_key = key;
105 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun));
107 bio->bi_crypt_context = bc;
146 struct bio_crypt_ctx *bc = bio->bi_crypt_context; local
148 bio_crypt_dun_increment(bc->bc_dun,
149 bytes >> bc->bc_key->data_unit_size_bits);
153 * Returns true if @bc
156 bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, unsigned int bytes, const u64 next_dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_itable.c42 * bc->breq->lastino is effectively the inode cursor as we walk through the
61 struct xfs_bstat_chunk *bc)
66 struct xfs_bulkstat *buf = bc->buf;
123 if (!(bc->breq->flags & XFS_IBULK_NREXT64))
161 error = bc->formatter(bc->breq, buf);
174 bc->breq->startino = ino + 1;
185 struct xfs_bstat_chunk bc = { local
200 bc.buf = kzalloc(sizeof(struct xfs_bulkstat),
202 if (!bc
56 xfs_bulkstat_one_int( struct xfs_mount *mp, struct mnt_idmap *idmap, struct xfs_trans *tp, xfs_ino_t ino, struct xfs_bstat_chunk *bc) argument
236 struct xfs_bstat_chunk *bc = data; local
276 struct xfs_bstat_chunk bc = { local
[all...]
/linux-master/drivers/md/
H A Ddm-bufio.c411 static inline void cache_read_lock(struct dm_buffer_cache *bc, sector_t block) argument
413 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep)
414 read_lock_bh(&bc->trees[cache_index(block, bc->num_locks)].u.spinlock);
416 down_read(&bc->trees[cache_index(block, bc->num_locks)].u.lock);
419 static inline void cache_read_unlock(struct dm_buffer_cache *bc, sector_t block) argument
421 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep)
422 read_unlock_bh(&bc->trees[cache_index(block, bc
427 cache_write_lock(struct dm_buffer_cache *bc, sector_t block) argument
435 cache_write_unlock(struct dm_buffer_cache *bc, sector_t block) argument
538 cache_init(struct dm_buffer_cache *bc, unsigned int num_locks, bool no_sleep) argument
557 cache_destroy(struct dm_buffer_cache *bc) argument
573 cache_count(struct dm_buffer_cache *bc, int list_mode) argument
578 cache_total(struct dm_buffer_cache *bc) argument
615 cache_get(struct dm_buffer_cache *bc, sector_t block) argument
636 cache_put(struct dm_buffer_cache *bc, struct dm_buffer *b) argument
680 __cache_evict(struct dm_buffer_cache *bc, int list_mode, b_predicate pred, void *context, struct lock_history *lh) argument
699 cache_evict(struct dm_buffer_cache *bc, int list_mode, b_predicate pred, void *context) argument
717 cache_mark(struct dm_buffer_cache *bc, struct dm_buffer *b, int list_mode) argument
734 __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, b_predicate pred, void *context, struct lock_history *lh) argument
752 cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, b_predicate pred, void *context) argument
780 __cache_iterate(struct dm_buffer_cache *bc, int list_mode, iter_fn fn, void *context, struct lock_history *lh) argument
808 cache_iterate(struct dm_buffer_cache *bc, int list_mode, iter_fn fn, void *context) argument
851 cache_insert(struct dm_buffer_cache *bc, struct dm_buffer *b) argument
876 cache_remove(struct dm_buffer_cache *bc, struct dm_buffer *b) argument
922 __remove_range(struct dm_buffer_cache *bc, struct rb_root *root, sector_t begin, sector_t end, b_predicate pred, b_release release) argument
949 cache_remove_range(struct dm_buffer_cache *bc, sector_t begin, sector_t end, b_predicate pred, b_release release) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l)
56 test $(echo "$ratio > 95.0" | bc -l) -eq 1
61 test $(echo "$ratio < 5" | bc -l) -eq 1
105 total=$(echo ${d[@]} | sed 's/ /+/g' | bc)

Completed in 604 milliseconds

12345