Home
last modified time | relevance | path

Searched defs:bc (Results 1 – 25 of 66) sorted by relevance

123

/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c138 static OsBcacheBlock *RbFindBlock(const OsBcache *bc, UINT64 num) in RbFindBlock()
152 static VOID RbAddBlock(OsBcache *bc, OsBcacheBlock *block) in RbAddBlock()
173 static inline VOID RbDelBlock(OsBcache *bc, OsBcacheBlock *block) in RbDelBlock()
178 static inline VOID ListMoveBlockToHead(OsBcache *bc, OsBcacheBlock *block) in ListMoveBlockToHead()
184 static inline VOID FreeBlock(OsBcache *bc, OsBcacheBlock *block) in FreeBlock()
246 static INT32 BlockRead(OsBcache *bc, OsBcacheBlock *block, UINT8 *buf) in BlockRead()
266 static INT32 BcacheGetFlag(OsBcache *bc, OsBcacheBlock *block) in BcacheGetFlag()
324 static VOID BcacheSetFlag(const OsBcache *bc, OsBcacheBlock *block, UINT32 pos, UINT32 size) in BcacheSetFlag()
348 static INT32 BcacheSyncBlock(OsBcache *bc, OsBcacheBlock *block) in BcacheSyncBlock()
381 static void NumListAdd(OsBcache *bc, OsBcacheBlock *block) in NumListAdd()
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dtick-broadcast.c43 static inline void tick_broadcast_setup_oneshot(struct clock_event_device *bc) { BUG(); } in tick_broadcast_setup_oneshot()
45 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot()
67 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic()
165 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast() local
274 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast() local
358 struct clock_event_device *bc, *dev; in tick_broadcast_control() local
444 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_shutdown_broadcast() local
469 struct clock_event_device *bc; in tick_suspend_broadcast() local
499 struct clock_event_device *bc; in tick_resume_broadcast() local
552 static void tick_broadcast_set_affinity(struct clock_event_device *bc, in tick_broadcast_set_affinity()
[all …]
Dtick-broadcast-hrtimer.c43 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) in bc_set_next()
/kernel/linux/linux-5.10/arch/mips/pci/
Dpci-xtalk-bridge.c31 struct bridge_controller *bc = BRIDGE_CONTROLLER(pdev->bus); in phys_to_dma() local
96 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); in bridge_disable_swapping() local
121 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf0_read_config() local
158 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf1_read_config() local
206 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf0_write_config() local
245 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf1_write_config() local
298 struct bridge_controller *bc; member
376 struct bridge_controller *bc = data->bc; in bridge_domain_activate() local
436 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); in bridge_map_irq() local
468 static void bridge_setup_ip27_baseio6g(struct bridge_controller *bc) in bridge_setup_ip27_baseio6g()
[all …]
Dpci-ip27.c20 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pcibus_to_node() local
/kernel/linux/linux-5.10/drivers/tty/
Dehv_bytechan.c86 static void enable_tx_interrupt(struct ehv_bc_data *bc) in enable_tx_interrupt()
94 static void disable_tx_interrupt(struct ehv_bc_data *bc) in disable_tx_interrupt()
349 struct ehv_bc_data *bc = data; in ehv_bc_tty_rx_isr() local
407 static void ehv_bc_tx_dequeue(struct ehv_bc_data *bc) in ehv_bc_tx_dequeue()
450 struct ehv_bc_data *bc = data; in ehv_bc_tty_tx_isr() local
472 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write() local
511 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_open() local
526 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_close() local
541 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write_room() local
566 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_throttle() local
[all …]
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dbaycom_ser_hdx.c132 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq()
181 #define SER12_ARB_DIVIDER(bc) (bc->opt_dcd ? 24 : 36) argument
183 #define SER12_DCD_INTERVAL(bc) (bc->opt_dcd ? 12 : 240) argument
185 static inline void ser12_tx(struct net_device *dev, struct baycom_state *bc) in ser12_tx()
203 static inline void ser12_rx(struct net_device *dev, struct baycom_state *bc) in ser12_rx()
365 struct baycom_state *bc = netdev_priv(dev); in ser12_interrupt() local
458 struct baycom_state *bc = netdev_priv(dev); in ser12_open() local
501 struct baycom_state *bc = netdev_priv(dev); in ser12_close() local
539 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode()
557 struct baycom_state *bc; in baycom_ioctl() local
[all …]
Dbaycom_par.c143 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq()
179 static inline void par96_tx(struct net_device *dev, struct baycom_state *bc) in par96_tx()
203 static inline void par96_rx(struct net_device *dev, struct baycom_state *bc) in par96_rx()
259 struct baycom_state *bc = netdev_priv(dev); in par96_interrupt() local
286 struct baycom_state *bc = netdev_priv(dev); in par96_wakeup() local
297 struct baycom_state *bc = netdev_priv(dev); in par96_open() local
361 struct baycom_state *bc = netdev_priv(dev); in par96_close() local
398 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode()
414 struct baycom_state *bc; in baycom_ioctl() local
525 struct baycom_state *bc; in init_baycompar() local
Dbaycom_epp.c260 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800) argument
264 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq()
292 static int eppconfig(struct baycom_state *bc) in eppconfig()
317 static inline void do_kiss_params(struct baycom_state *bc, in do_kiss_params()
358 static void encode_hdlc(struct baycom_state *bc) in encode_hdlc()
420 static int transmit(struct baycom_state *bc, int cnt, unsigned char stat) in transmit()
528 struct baycom_state *bc = netdev_priv(dev); in do_rxpacket() local
553 struct baycom_state *bc = netdev_priv(dev); in receive() local
640 struct baycom_state *bc; in epp_bh() local
763 struct baycom_state *bc = netdev_priv(dev); in baycom_send_packet() local
[all …]
Dbaycom_ser_fdx.c145 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq()
191 static __inline__ void ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timespec64 … in ser12_rx()
250 struct baycom_state *bc = netdev_priv(dev); in ser12_interrupt() local
376 struct baycom_state *bc = netdev_priv(dev); in ser12_open() local
442 struct baycom_state *bc = netdev_priv(dev); in ser12_close() local
480 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode()
503 struct baycom_state *bc; in baycom_ioctl() local
600 struct baycom_state *bc; in init_baycomserfdx() local
/kernel/linux/linux-5.10/fs/ocfs2/
Dblockcheck.c352 struct ocfs2_block_check *bc) in ocfs2_block_check_compute()
381 struct ocfs2_block_check *bc, in ocfs2_block_check_validate()
444 struct ocfs2_block_check *bc) in ocfs2_block_check_compute_bhs()
488 struct ocfs2_block_check *bc, in ocfs2_block_check_validate_bhs()
567 struct ocfs2_block_check *bc) in ocfs2_compute_meta_ecc()
574 struct ocfs2_block_check *bc) in ocfs2_validate_meta_ecc()
588 struct ocfs2_block_check *bc) in ocfs2_compute_meta_ecc_bhs()
596 struct ocfs2_block_check *bc) in ocfs2_validate_meta_ecc_bhs()
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dnetjet.c78 struct tiger_ch bc[2]; member
175 fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) in fill_mem()
198 mode_tiger(struct tiger_ch *bc, u32 protocol) in mode_tiger()
363 read_dma(struct tiger_ch *bc, u32 idx, int cnt) in read_dma()
465 resync(struct tiger_ch *bc, struct tiger_hw *card) in resync()
487 fill_hdlc_flag(struct tiger_ch *bc) in fill_hdlc_flag()
524 fill_dma(struct tiger_ch *bc) in fill_dma()
601 bc_next_frame(struct tiger_ch *bc) in bc_next_frame()
625 send_tiger_bc(struct tiger_hw *card, struct tiger_ch *bc) in send_tiger_bc()
741 struct tiger_ch *bc = container_of(bch, struct tiger_ch, bch); in nj_l2l1B() local
[all …]
Dw6692.c66 struct w6692_ch bc[2]; member
126 ReadW6692B(struct w6692_ch *bc, u8 offset) in ReadW6692B()
132 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) in WriteW6692B()
934 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_l2l1B() local
1027 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_bctrl() local
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.c90 static void batch_init(struct batch_chunk *bc, in batch_init()
101 static u32 batch_offset(const struct batch_chunk *bc, u32 *cs) in batch_offset()
106 static u32 batch_addr(const struct batch_chunk *bc) in batch_addr()
111 static void batch_add(struct batch_chunk *bc, const u32 d) in batch_add()
117 static u32 *batch_alloc_items(struct batch_chunk *bc, u32 align, u32 items) in batch_alloc_items()
134 static u32 *batch_alloc_bytes(struct batch_chunk *bc, u32 align, u32 bytes) in batch_alloc_bytes()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_itable.c59 struct xfs_bstat_chunk *bc) in xfs_bulkstat_one_int()
163 struct xfs_bstat_chunk bc = { in xfs_bulkstat_one() local
236 struct xfs_bstat_chunk bc = { in xfs_bulkstat() local
/kernel/linux/linux-5.10/block/
Dblk-crypto.c85 struct bio_crypt_ctx *bc; in bio_crypt_set_ctx() local
138 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance() local
148 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, in bio_crypt_dun_is_contiguous()
Dblk-crypto-fallback.c262 struct bio_crypt_ctx *bc; in blk_crypto_fallback_encrypt_bio() local
378 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio() local
489 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in blk_crypto_fallback_bio_prep() local
/kernel/linux/linux-5.10/net/mptcp/
Dmptcp_diag.c19 struct nlattr *bc, bool net_admin) in sk_diag_dump()
78 struct nlattr *bc; in mptcp_diag_dump() local
/kernel/linux/linux-5.10/samples/bpf/
Dxsk_fwd.c255 bcache_slab_size(struct bcache *bc) in bcache_slab_size()
265 struct bcache *bc; in bcache_init() local
291 bcache_free(struct bcache *bc) in bcache_free()
318 bcache_cons_check(struct bcache *bc, u32 n_buffers) in bcache_cons_check()
359 bcache_cons(struct bcache *bc) in bcache_cons()
370 bcache_prod(struct bcache *bc, u64 buffer) in bcache_prod()
442 struct bcache *bc; member
/kernel/linux/linux-5.10/sound/soc/intel/atom/
Dsst-atom-controls.c266 struct sst_algo_control *bc) in sst_send_algo_cmd()
301 struct sst_algo_control *bc; in sst_find_and_send_pipe_algo() local
321 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_bytes_ctl_info() local
332 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_control_get() local
354 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_control_set() local
1291 struct sst_algo_control *bc; in sst_algo_control_init() local
1411 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list() local
/kernel/linux/linux-5.10/net/smc/
Dsmc_diag.c87 struct nlattr *bc) in __smc_diag_dump()
210 struct nlattr *bc = NULL; in smc_diag_dump_proto() local
/kernel/linux/linux-5.10/net/ipv4/
Draw_diag.c133 struct nlattr *bc, bool net_admin) in sk_diag_dump()
150 struct nlattr *bc; in raw_diag_dump() local
Dudp_diag.c19 struct nlattr *bc, bool net_admin) in sk_diag_dump()
99 struct nlattr *bc; in udp_dump() local
Dinet_diag.c653 const void *bc = nla_data(_bc); in inet_diag_bc_run() local
784 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk()
813 static int valid_cc(const void *bc, int len, int cc) in valid_cc()
910 const void *bytecode, *bc; in inet_diag_bc_audit() local
1013 struct nlattr *bc; in inet_diag_dump_icsk() local
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c143 struct qlcnic_back_channel *bc; in qlcnic_sriov_init() local
264 struct qlcnic_back_channel *bc = &sriov->bc; in __qlcnic_sriov_cleanup() local
1525 void qlcnic_sriov_cleanup_async_list(struct qlcnic_back_channel *bc) in qlcnic_sriov_cleanup_async_list()
1602 struct qlcnic_back_channel *bc; in qlcnic_sriov_handle_async_issue_cmd() local
1628 qlcnic_sriov_alloc_async_cmd(struct qlcnic_back_channel *bc, in qlcnic_sriov_alloc_async_cmd()
1646 static void qlcnic_sriov_schedule_async_cmd(struct qlcnic_back_channel *bc, in qlcnic_sriov_schedule_async_cmd()
1665 struct qlcnic_back_channel *bc = &adapter->ahw->sriov->bc; in qlcnic_sriov_async_issue_cmd() local

123