Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/linux/drivers/net/wireless/ath/ath9k/
H A Dchannel.c23 static int ath_set_channel(struct ath_softc *sc) in ath_set_channel() argument
25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel()
27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel()
29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel()
47 ath_update_survey_stats(sc); in ath_set_channel()
57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel()
58 if (sc->cur_survey) in ath_set_channel()
59 sc->cur_survey->filled &= ~SURVEY_INFO_IN_USE; in ath_set_channel()
61 sc->cur_survey = &sc->survey[pos]; in ath_set_channel()
63 memset(sc->cur_survey, 0, sizeof(struct survey_info)); in ath_set_channel()
[all …]
H A Dmain.c60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() argument
78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() argument
92 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower()
93 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower()
94 spin_unlock_irqrestore(&sc->sc_pm_lock, flags); in ath9k_setpower()
101 struct ath_softc *sc = timer_container_of(sc, t, sleep_timer); in ath_ps_full_sleep() local
102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep()
110 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep()
111 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep()
[all …]
H A Dgpio.c25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() argument
27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin()
54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local
57 if (sc->sc_ah->config.led_active_high) in ath_led_brightness()
60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness()
63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument
65 if (!sc->led_registered) in ath_deinit_leds()
68 ath_led_brightness(&sc->led_cdev, LED_OFF); in ath_deinit_leds()
69 led_classdev_unregister(&sc->led_cdev); in ath_deinit_leds()
71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin); in ath_deinit_leds()
[all …]
H A Dtx99.c19 static void ath9k_tx99_stop(struct ath_softc *sc) in ath9k_tx99_stop() argument
21 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_stop()
24 ath_drain_all_txq(sc); in ath9k_tx99_stop()
25 ath_startrecv(sc); in ath9k_tx99_stop()
30 ieee80211_wake_queues(sc->hw); in ath9k_tx99_stop()
32 kfree_skb(sc->tx99_skb); in ath9k_tx99_stop()
33 sc->tx99_skb = NULL; in ath9k_tx99_stop()
34 sc->tx99_state = false; in ath9k_tx99_stop()
36 ath9k_hw_tx99_stop(sc->sc_ah); in ath9k_tx99_stop()
40 static struct sk_buff *ath9k_build_tx99_skb(struct ath_softc *sc) in ath9k_build_tx99_skb() argument
[all …]
H A Dinit.c149 static void ath9k_deinit_softc(struct ath_softc *sc);
176 struct ath_softc *sc = common->priv; in ath9k_iowrite32() local
180 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_iowrite32()
181 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32()
182 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_iowrite32()
184 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32()
191 struct ath_softc *sc = common->priv; in ath9k_ioread32() local
196 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_ioread32()
197 val = ioread32(sc->mem + reg_offset); in ath9k_ioread32()
198 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_ioread32()
[all …]
/linux/fs/xfs/scrub/
H A Dagheader.c24 struct xfs_scrub *sc) in xchk_setup_agheader() argument
26 if (xchk_need_intent_drain(sc)) in xchk_setup_agheader()
27 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_agheader()
28 return xchk_setup_fs(sc); in xchk_setup_agheader()
36 struct xfs_scrub *sc, in xchk_superblock_xref() argument
39 struct xfs_mount *mp = sc->mp; in xchk_superblock_xref()
40 xfs_agnumber_t agno = sc->sm->sm_agno; in xchk_superblock_xref()
44 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_superblock_xref()
49 error = xchk_ag_init_existing(sc, agno, &sc->sa); in xchk_superblock_xref()
50 if (!xchk_xref_process_error(sc, agno, agbno, &error)) in xchk_superblock_xref()
[all …]
H A Drepair.h14 static inline int xrep_notsupported(struct xfs_scrub *sc) in xrep_notsupported() argument
23 int xrep_attempt(struct xfs_scrub *sc, struct xchk_stats_run *run);
24 bool xrep_will_attempt(struct xfs_scrub *sc);
26 int xrep_roll_ag_trans(struct xfs_scrub *sc);
27 int xrep_roll_trans(struct xfs_scrub *sc);
28 int xrep_defer_finish(struct xfs_scrub *sc);
31 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
35 struct xfs_scrub *sc) in xrep_trans_commit() argument
37 int error = xfs_trans_commit(sc->tp); in xrep_trans_commit()
39 sc->tp = NULL; in xrep_trans_commit()
[all …]
H A Dparent.c34 struct xfs_scrub *sc) in xchk_setup_parent() argument
38 if (xchk_could_repair(sc)) { in xchk_setup_parent()
39 error = xrep_setup_parent(sc); in xchk_setup_parent()
44 return xchk_setup_inode_contents(sc, 0); in xchk_setup_parent()
52 struct xfs_scrub *sc; member
59 struct xfs_scrub *sc, in xchk_parent_actor() argument
72 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error)) in xchk_parent_actor()
75 if (sc->ip->i_ino == ino) in xchk_parent_actor()
78 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
114 struct xfs_scrub *sc, in xchk_parent_validate() argument
[all …]
H A Dmetapath.c44 struct xfs_scrub *sc; member
88 struct xfs_scrub *sc, in xchk_setup_metapath_scan() argument
99 error = xchk_install_live_inode(sc, ip); in xchk_setup_metapath_scan()
111 mpath->sc = sc; in xchk_setup_metapath_scan()
112 sc->buf = mpath; in xchk_setup_metapath_scan()
113 sc->buf_cleanup = xchk_metapath_cleanup; in xchk_setup_metapath_scan()
129 struct xfs_scrub *sc) in xchk_setup_metapath_rtdir() argument
131 if (!sc->mp->m_rtdirip) in xchk_setup_metapath_rtdir()
134 return xchk_setup_metapath_scan(sc, sc->mp->m_metadirip, in xchk_setup_metapath_rtdir()
135 kstrdup_const("rtgroups", GFP_KERNEL), sc->mp->m_rtdirip); in xchk_setup_metapath_rtdir()
[all …]
H A Drmap.c35 struct xfs_scrub *sc) in xchk_setup_ag_rmapbt() argument
37 if (xchk_need_intent_drain(sc)) in xchk_setup_ag_rmapbt()
38 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_ag_rmapbt()
40 if (xchk_could_repair(sc)) { in xchk_setup_ag_rmapbt()
43 error = xrep_setup_ag_rmapbt(sc); in xchk_setup_ag_rmapbt()
48 return xchk_setup_ag_btree(sc, false); in xchk_setup_ag_rmapbt()
81 struct xfs_scrub *sc, in xchk_rmapbt_xref_refc() argument
92 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_rmapbt_xref_refc()
101 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc()
103 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_rmapbt_xref_refc()
[all …]
H A Dinode_repair.c107 struct xfs_scrub *sc; member
149 struct xfs_scrub *sc, in xrep_setup_inode() argument
154 sc->buf = kzalloc_obj(struct xrep_inode, XCHK_GFP_FLAGS); in xrep_setup_inode()
155 if (!sc->buf) in xrep_setup_inode()
158 ri = sc->buf; in xrep_setup_inode()
160 ri->sc = sc; in xrep_setup_inode()
170 struct xfs_scrub *sc, in xrep_dinode_buf_core() argument
175 struct xfs_trans *tp = sc->tp; in xrep_dinode_buf_core()
176 struct xfs_mount *mp = sc->mp; in xrep_dinode_buf_core()
213 struct xfs_scrub *sc, in xrep_dinode_buf() argument
[all …]
H A Drtbitmap.c35 struct xfs_scrub *sc) in xchk_setup_rtbitmap() argument
37 struct xfs_mount *mp = sc->mp; in xchk_setup_rtbitmap()
41 if (xchk_need_intent_drain(sc)) in xchk_setup_rtbitmap()
42 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_rtbitmap()
44 rtb = kzalloc_flex(*rtb, words, xchk_rtbitmap_wordcnt(sc), in xchk_setup_rtbitmap()
48 sc->buf = rtb; in xchk_setup_rtbitmap()
49 rtb->sc = sc; in xchk_setup_rtbitmap()
51 error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr); in xchk_setup_rtbitmap()
55 if (xchk_could_repair(sc)) { in xchk_setup_rtbitmap()
56 error = xrep_setup_rtbitmap(sc, rtb); in xchk_setup_rtbitmap()
[all …]
H A Dfscounters.c72 struct xfs_scrub *sc) in xchk_fscount_warmup() argument
74 struct xfs_mount *mp = sc->mp; in xchk_fscount_warmup()
81 if (xchk_should_terminate(sc, &error)) in xchk_fscount_warmup()
88 error = xfs_ialloc_read_agi(pag, sc->tp, 0, &agi_bp); in xchk_fscount_warmup()
91 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp); in xchk_fscount_warmup()
122 struct xfs_scrub *sc) in xchk_fsfreeze() argument
126 error = freeze_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL, NULL); in xchk_fsfreeze()
127 trace_xchk_fsfreeze(sc, error); in xchk_fsfreeze()
133 struct xfs_scrub *sc) in xchk_fsthaw() argument
138 error = thaw_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL, NULL); in xchk_fsthaw()
[all …]
H A Drtrefcount.c31 struct xfs_scrub *sc) in xchk_setup_rtrefcountbt() argument
35 if (xchk_need_intent_drain(sc)) in xchk_setup_rtrefcountbt()
36 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_rtrefcountbt()
38 if (xchk_could_repair(sc)) { in xchk_setup_rtrefcountbt()
39 error = xrep_setup_rtrefcountbt(sc); in xchk_setup_rtrefcountbt()
44 error = xchk_rtgroup_init(sc, sc->sm->sm_agno, &sc->sr); in xchk_setup_rtrefcountbt()
48 error = xchk_setup_rt(sc); in xchk_setup_rtrefcountbt()
52 error = xchk_install_live_inode(sc, rtg_refcount(sc->sr.rtg)); in xchk_setup_rtrefcountbt()
56 return xchk_rtgroup_lock(sc, &sc->sr, XCHK_RTGLOCK_ALL); in xchk_setup_rtrefcountbt()
103 struct xfs_scrub *sc; member
[all …]
H A Ddir.c35 struct xfs_scrub *sc) in xchk_setup_directory() argument
39 if (xchk_could_repair(sc)) { in xchk_setup_directory()
40 error = xrep_setup_directory(sc); in xchk_setup_directory()
45 return xchk_setup_inode_contents(sc, 0); in xchk_setup_directory()
63 struct xfs_scrub *sc; member
88 struct xfs_scrub *sc, in xchk_dir_check_ftype() argument
93 struct xfs_mount *mp = sc->mp; in xchk_dir_check_ftype()
97 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, offset); in xchk_dir_check_ftype()
102 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, offset); in xchk_dir_check_ftype()
109 if (xfs_is_metadir_inode(ip) != xfs_is_metadir_inode(sc->ip)) in xchk_dir_check_ftype()
[all …]
H A Dscrub.h82 int (*setup)(struct xfs_scrub *sc);
96 int (*repair_eval)(struct xfs_scrub *sc);
230 struct xfs_scrub sc; member
236 struct xfs_scrub_subord *xchk_scrub_create_subord(struct xfs_scrub *sc,
247 struct xfs_scrub *sc, in xchk_should_terminate() argument
250 if (xchk_maybe_relax(&sc->relax)) { in xchk_should_terminate()
258 static inline int xchk_nothing(struct xfs_scrub *sc) in xchk_nothing() argument
264 int xchk_tester(struct xfs_scrub *sc);
265 int xchk_superblock(struct xfs_scrub *sc);
266 int xchk_agf(struct xfs_scrub *sc);
[all …]
H A Drefcount.c29 struct xfs_scrub *sc) in xchk_setup_ag_refcountbt() argument
31 if (xchk_need_intent_drain(sc)) in xchk_setup_ag_refcountbt()
32 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_ag_refcountbt()
34 if (xchk_could_repair(sc)) { in xchk_setup_ag_refcountbt()
37 error = xrep_setup_ag_refcountbt(sc); in xchk_setup_ag_refcountbt()
42 return xchk_setup_ag_btree(sc, false); in xchk_setup_ag_refcountbt()
89 struct xfs_scrub *sc; member
120 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
128 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
285 struct xfs_scrub *sc, in xchk_refcountbt_xref_rmap() argument
[all …]
H A Dscrub.c145 struct xfs_scrub *sc) in xchk_probe() argument
149 if (xchk_should_terminate(sc, &error)) in xchk_probe()
159 if (xchk_could_repair(sc)) { in xchk_probe()
162 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_probe()
171 struct xfs_scrub *sc) in xchk_fsgates_disable() argument
173 if (!(sc->flags & XCHK_FSGATES_ALL)) in xchk_fsgates_disable()
176 trace_xchk_fsgates_disable(sc, sc->flags & XCHK_FSGATES_ALL); in xchk_fsgates_disable()
178 if (sc->flags & XCHK_FSGATES_DRAIN) in xchk_fsgates_disable()
181 if (sc->flags & XCHK_FSGATES_QUOTA) in xchk_fsgates_disable()
184 if (sc->flags & XCHK_FSGATES_DIRENTS) in xchk_fsgates_disable()
[all …]
H A Dparent_repair.c107 struct xfs_scrub *sc; member
213 struct xfs_scrub *sc) in xrep_setup_parent() argument
218 xchk_fsgates_enable(sc, XCHK_FSGATES_DIRENTS); in xrep_setup_parent()
223 rp->sc = sc; in xrep_setup_parent()
225 sc->buf = rp; in xrep_setup_parent()
227 error = xrep_tempfile_create(sc, S_IFREG); in xrep_setup_parent()
231 return xrep_orphanage_try_create(sc); in xrep_setup_parent()
242 struct xfs_scrub *sc = rp->sc; in xrep_parent_find_dotdot() local
251 xfs_inode_measure_sickness(sc->ip, &sick, &checked); in xrep_parent_find_dotdot()
255 ino = xrep_findparent_self_reference(sc); in xrep_parent_find_dotdot()
[all …]
/linux/fs/smb/server/
H A Dtransport_rdma.c132 struct smbdirect_socket *sc; in get_smbd_max_read_write_size() local
139 sc = &t->socket; in get_smbd_max_read_write_size()
140 sp = &sc->parameters; in get_smbd_max_read_write_size()
151 static void smb_direct_destroy_pools(struct smbdirect_socket *sc);
153 static int smb_direct_post_send_data(struct smbdirect_socket *sc,
165 smbdirect_recv_io *get_free_recvmsg(struct smbdirect_socket *sc) in get_free_recvmsg() argument
170 spin_lock_irqsave(&sc->recv_io.free.lock, flags); in get_free_recvmsg()
171 if (!list_empty(&sc->recv_io.free.list)) { in get_free_recvmsg()
172 recvmsg = list_first_entry(&sc->recv_io.free.list, in get_free_recvmsg()
177 spin_unlock_irqrestore(&sc->recv_io.free.lock, flags); in get_free_recvmsg()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.c15 static void sc_wait_for_packet_egress(struct send_context *sc, int pause);
507 * given sc.
518 static void cr_group_addresses(struct send_context *sc, dma_addr_t *dma) in cr_group_addresses() argument
520 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses()
521 u32 index = sc->hw_context & 0x7; in cr_group_addresses()
523 sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; in cr_group_addresses()
525 &((struct credit_return *)sc in cr_group_addresses()
534 struct send_context *sc; sc_halted() local
550 sc_mtu_to_threshold(struct send_context * sc,u32 mtu,u32 hdrqentsize) sc_mtu_to_threshold() argument
575 sc_percent_to_threshold(struct send_context * sc,u32 percent) sc_percent_to_threshold() argument
583 sc_set_cr_threshold(struct send_context * sc,u32 new_threshold) sc_set_cr_threshold() argument
620 set_pio_integrity(struct send_context * sc) set_pio_integrity() argument
631 get_buffers_allocated(struct send_context * sc) get_buffers_allocated() argument
641 reset_buffers_allocated(struct send_context * sc) reset_buffers_allocated() argument
657 struct send_context *sc = NULL; sc_alloc() local
835 sc_free(struct send_context * sc) sc_free() argument
876 sc_disable(struct send_context * sc) sc_disable() argument
968 sc_wait_for_packet_egress(struct send_context * sc,int pause) sc_wait_for_packet_egress() argument
1013 struct send_context *sc = dd->send_contexts[i].sc; sc_wait() local
1030 sc_restart(struct send_context * sc) sc_restart() argument
1119 struct send_context *sc; pio_freeze() local
1146 struct send_context *sc; pio_kernel_unfreeze() local
1174 struct send_context *sc; pio_kernel_linkup() local
1242 sc_enable(struct send_context * sc) sc_enable() argument
1337 sc_return_credits(struct send_context * sc) sc_return_credits() argument
1355 sc_flush(struct send_context * sc) sc_flush() argument
1371 sc_stop(struct send_context * sc,int flag) sc_stop() argument
1398 sc_buffer_alloc(struct send_context * sc,u32 dw_len,pio_release_cb cb,void * arg) sc_buffer_alloc() argument
1499 sc_add_credit_return_intr(struct send_context * sc) sc_add_credit_return_intr() argument
1518 sc_del_credit_return_intr(struct send_context * sc) sc_del_credit_return_intr() argument
1539 hfi1_sc_wantpiobuf_intr(struct send_context * sc,u32 needint) hfi1_sc_wantpiobuf_intr() argument
1558 sc_piobufavail(struct send_context * sc) sc_piobufavail() argument
1645 sc_release_update(struct send_context * sc) sc_release_update() argument
1709 struct send_context *sc; sc_group_release_update() local
2111 struct send_context *sc = sci->sc; seqfile_dump_sci() local
[all...]
/linux/drivers/usb/atm/
H A Dueagle-atm.c254 #define IS_OPERATIONAL(sc) \ argument
255 ((UEA_CHIP_VERSION(sc) != EAGLE_IV) ? \
256 (GET_STATUS(sc->stats.phy.state) == 2) : \
257 (sc->stats.phy.state == 7))
548 #define uea_wait(sc, cond, timeo) \ argument
550 int _r = wait_event_freezable_timeout(sc->sync_q, \
559 if (sc->usbatm->atm_dev) \
560 sc->usbatm->atm_dev->type = val; \
565 if (sc->usbatm->atm_dev) \
566 atm_dev_signal_change(sc
822 uea_idma_write(struct uea_softc * sc,const void * data,u32 size) uea_idma_write() argument
850 request_dsp(struct uea_softc * sc) request_dsp() argument
901 struct uea_softc *sc = container_of(work, struct uea_softc, task); uea_load_page_e1() local
976 __uea_load_page_e4(struct uea_softc * sc,u8 pageno,int boot) __uea_load_page_e4() argument
1026 struct uea_softc *sc = container_of(work, struct uea_softc, task); uea_load_page_e4() local
1077 wake_up_cmv_ack(struct uea_softc * sc) wake_up_cmv_ack() argument
1084 wait_cmv_ack(struct uea_softc * sc) wait_cmv_ack() argument
1101 uea_request(struct uea_softc * sc,u16 value,u16 index,u16 size,const void * data) uea_request() argument
1134 uea_cmv_e1(struct uea_softc * sc,u8 function,u32 address,u16 offset,u32 data) uea_cmv_e1() argument
1172 uea_cmv_e4(struct uea_softc * sc,u16 function,u16 group,u16 address,u16 offset,u32 data) uea_cmv_e4() argument
1207 uea_read_cmv_e1(struct uea_softc * sc,u32 address,u16 offset,u32 * data) uea_read_cmv_e1() argument
1221 uea_read_cmv_e4(struct uea_softc * sc,u8 size,u16 group,u16 address,u16 offset,u32 * data) uea_read_cmv_e4() argument
1239 uea_write_cmv_e1(struct uea_softc * sc,u32 address,u16 offset,u32 data) uea_write_cmv_e1() argument
1251 uea_write_cmv_e4(struct uea_softc * sc,u8 size,u16 group,u16 address,u16 offset,u32 data) uea_write_cmv_e4() argument
1264 uea_set_bulk_timeout(struct uea_softc * sc,u32 dsrate) uea_set_bulk_timeout() argument
1293 uea_stat_e1(struct uea_softc * sc) uea_stat_e1() argument
1435 uea_stat_e4(struct uea_softc * sc) uea_stat_e4() argument
1555 cmvs_file_name(struct uea_softc * sc,char * const cmv_name,int ver) cmvs_file_name() argument
1582 request_cmvs_old(struct uea_softc * sc,void ** cmvs,const struct firmware ** fw) request_cmvs_old() argument
1615 request_cmvs(struct uea_softc * sc,void ** cmvs,const struct firmware ** fw,int * ver) request_cmvs() argument
1676 uea_send_cmvs_e1(struct uea_softc * sc) uea_send_cmvs_e1() argument
1742 uea_send_cmvs_e4(struct uea_softc * sc) uea_send_cmvs_e4() argument
1803 uea_start_reset(struct uea_softc * sc) uea_start_reset() argument
1888 struct uea_softc *sc = data; uea_kthread() local
1906 load_XILINX_firmware(struct uea_softc * sc) load_XILINX_firmware() argument
1964 uea_dispatch_cmv_e1(struct uea_softc * sc,struct intr_pkt * intr) uea_dispatch_cmv_e1() argument
2026 uea_dispatch_cmv_e4(struct uea_softc * sc,struct intr_pkt * intr) uea_dispatch_cmv_e4() argument
2068 uea_schedule_load_page_e1(struct uea_softc * sc,struct intr_pkt * intr) uea_schedule_load_page_e1() argument
2076 uea_schedule_load_page_e4(struct uea_softc * sc,struct intr_pkt * intr) uea_schedule_load_page_e4() argument
2088 struct uea_softc *sc = urb->context; uea_intr() local
2127 uea_boot(struct uea_softc * sc,struct usb_interface * intf) uea_boot() argument
2208 uea_stop(struct uea_softc * sc) uea_stop() argument
2249 struct uea_softc *sc; stat_status_show() local
2265 struct uea_softc *sc; stat_status_store() local
2285 struct uea_softc *sc; stat_human_status_show() local
2347 struct uea_softc *sc; stat_delin_show() local
2415 uea_getesi(struct uea_softc * sc,u_char * esi) uea_getesi() argument
2434 struct uea_softc *sc = usbatm->driver_data; uea_atm_open() local
2441 struct uea_softc *sc = usbatm->driver_data; uea_heavy() local
2494 struct uea_softc *sc; uea_bind() local
2570 struct uea_softc *sc = usbatm->driver_data; uea_unbind() local
2607 struct uea_softc *sc = usbatm->driver_data; uea_probe() local
[all...]
/linux/fs/smb/client/
H A Dsmbdirect.c19 struct smbdirect_socket *sc = &conn->socket; in smbd_get_parameters() local
21 return &sc->parameters; in smbd_get_parameters()
25 struct smbdirect_socket *sc);
27 struct smbdirect_socket *sc,
29 static int allocate_receive_buffers(struct smbdirect_socket *sc, int num_buf);
30 static void destroy_receive_buffers(struct smbdirect_socket *sc);
33 struct smbdirect_socket *sc,
36 struct smbdirect_socket *sc);
38 static int smbd_post_send(struct smbdirect_socket *sc,
43 struct smbdirect_socket *sc,
188 smbd_disconnect_wake_up_all(struct smbdirect_socket * sc) smbd_disconnect_wake_up_all() argument
206 struct smbdirect_socket *sc = smbd_disconnect_rdma_work() local
263 smbd_disconnect_rdma_connection(struct smbdirect_socket * sc) smbd_disconnect_rdma_connection() argument
334 struct smbdirect_socket *sc = id->context; smbd_conn_upcall() local
489 struct smbdirect_socket *sc = context; smbd_qp_async_error_upcall() local
515 smbd_alloc_send_io(struct smbdirect_socket * sc) smbd_alloc_send_io() argument
531 struct smbdirect_socket *sc = msg->socket; smbd_free_send_io() local
565 struct smbdirect_socket *sc = request->socket; send_done() local
646 struct smbdirect_socket *sc = response->socket; process_negotiation_response() local
715 struct smbdirect_socket *sc = smbd_post_send_credits() local
769 struct smbdirect_socket *sc = response->socket; recv_done() local
920 smbd_create_id(struct smbdirect_socket * sc,struct sockaddr * dstaddr,int port) smbd_create_id() argument
1046 smbd_ia_open(struct smbdirect_socket * sc,struct sockaddr * dstaddr,int port) smbd_ia_open() argument
1093 smbd_post_send_negotiate_req(struct smbdirect_socket * sc) smbd_post_send_negotiate_req() argument
1146 manage_credits_prior_sending(struct smbdirect_socket * sc) manage_credits_prior_sending() argument
1192 manage_keep_alive_before_sending(struct smbdirect_socket * sc) manage_keep_alive_before_sending() argument
1209 smbd_ib_post_send(struct smbdirect_socket * sc,struct ib_send_wr * wr) smbd_ib_post_send() argument
1225 smbd_post_send(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch,struct smbdirect_send_io * request) smbd_post_send() argument
1280 smbd_send_batch_flush(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch,bool is_last) smbd_send_batch_flush() argument
1340 wait_for_credits(struct smbdirect_socket * sc,wait_queue_head_t * waitq,atomic_t * total_credits,int needed) wait_for_credits() argument
1362 wait_for_send_bcredit(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch) wait_for_send_bcredit() argument
1381 wait_for_send_lcredit(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch) wait_for_send_lcredit() argument
1398 wait_for_send_credits(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch) wait_for_send_credits() argument
1416 smbd_post_send_iter(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch,struct iov_iter * iter,int * _remaining_data_length) smbd_post_send_iter() argument
1587 smbd_post_send_empty(struct smbdirect_socket * sc) smbd_post_send_empty() argument
1595 smbd_post_send_full_iter(struct smbdirect_socket * sc,struct smbdirect_send_batch * batch,struct iov_iter * iter,int * _remaining_data_length) smbd_post_send_full_iter() argument
1623 smbd_post_recv(struct smbdirect_socket * sc,struct smbdirect_recv_io * response) smbd_post_recv() argument
1658 smbd_negotiate(struct smbdirect_socket * sc) smbd_negotiate() argument
1711 enqueue_reassembly(struct smbdirect_socket * sc,struct smbdirect_recv_io * response,int data_length) enqueue_reassembly() argument
1737 _get_first_reassembly(struct smbdirect_socket * sc) _get_first_reassembly() argument
1755 get_receive_buffer(struct smbdirect_socket * sc) get_receive_buffer() argument
1780 put_receive_buffer(struct smbdirect_socket * sc,struct smbdirect_recv_io * response) put_receive_buffer() argument
1801 allocate_receive_buffers(struct smbdirect_socket * sc,int num_buf) allocate_receive_buffers() argument
1830 destroy_receive_buffers(struct smbdirect_socket * sc) destroy_receive_buffers() argument
1840 struct smbdirect_socket *sc = send_immediate_empty_message() local
1853 struct smbdirect_socket *sc = idle_connection_timer() local
1887 struct smbdirect_socket *sc; smbd_destroy() local
2009 destroy_caches(struct smbdirect_socket * sc) destroy_caches() argument
2019 allocate_caches(struct smbdirect_socket * sc) allocate_caches() argument
2090 struct smbdirect_socket *sc; _smbd_get_connection() local
2383 struct smbdirect_socket *sc = &info->socket; smbd_recv() local
2527 struct smbdirect_socket *sc = &info->socket; smbd_send() local
2621 struct smbdirect_socket *sc = mr->socket; register_mr_done() local
2640 struct smbdirect_socket *sc = smbd_mr_recovery_work() local
2689 struct smbdirect_socket *sc = mr->socket; smbd_mr_disable_locked() local
2727 destroy_mr_list(struct smbdirect_socket * sc) destroy_mr_list() argument
2775 allocate_mr_list(struct smbdirect_socket * sc) allocate_mr_list() argument
2844 get_mr(struct smbdirect_socket * sc) get_mr() argument
2912 struct smbdirect_socket *sc = &info->socket; smbd_register_mr() local
3048 struct smbdirect_socket *sc = mr->socket; smbd_deregister_mr() local
[all...]
/linux/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c123 struct scmi_syspower_conf *sc = reboot_nb_to_sconf(nb); in scmi_reboot_notifier() local
125 mutex_lock(&sc->state_mtx); in scmi_reboot_notifier()
129 if (sc->required_transition == SCMI_SYSTEM_SHUTDOWN) in scmi_reboot_notifier()
130 sc->state = SCMI_SYSPOWER_REBOOTING; in scmi_reboot_notifier()
133 if (sc->required_transition == SCMI_SYSTEM_COLDRESET || in scmi_reboot_notifier()
134 sc->required_transition == SCMI_SYSTEM_WARMRESET) in scmi_reboot_notifier()
135 sc->state = SCMI_SYSPOWER_REBOOTING; in scmi_reboot_notifier()
141 if (sc->state == SCMI_SYSPOWER_REBOOTING) { in scmi_reboot_notifier()
142 dev_dbg(sc->dev, "Reboot in progress...cancel delayed work.\n"); in scmi_reboot_notifier()
143 cancel_delayed_work_sync(&sc->forceful_work); in scmi_reboot_notifier()
[all …]
/linux/drivers/md/
H A Ddm-stripe.c56 struct stripe_c *sc = container_of(work, struct stripe_c, in trigger_event() local
58 dm_table_event(sc->ti->table); in trigger_event()
64 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() argument
75 &sc->stripe[stripe].dev); in get_stripe()
79 sc->stripe[stripe].physical_start = start; in get_stripe()
90 struct stripe_c *sc; in stripe_ctr() local
132 sc = kmalloc_flex(*sc, stripe, stripes); in stripe_ctr()
133 if (!sc) { in stripe_ctr()
138 INIT_WORK(&sc in stripe_ctr()
193 struct stripe_c *sc = ti->private; stripe_dtr() local
202 stripe_map_sector(struct stripe_c * sc,sector_t sector,uint32_t * stripe,sector_t * result) stripe_map_sector() argument
230 stripe_map_range_sector(struct stripe_c * sc,sector_t sector,uint32_t target_stripe,sector_t * result) stripe_map_range_sector() argument
250 stripe_map_range(struct stripe_c * sc,struct bio * bio,uint32_t target_stripe) stripe_map_range() argument
274 struct stripe_c *sc = ti->private; stripe_map() local
304 struct stripe_c *sc = ti->private; stripe_dax_pgoff() local
364 struct stripe_c *sc = ti->private; stripe_status() local
409 struct stripe_c *sc = ti->private; stripe_end_io() local
442 struct stripe_c *sc = ti->private; stripe_iterate_devices() local
458 struct stripe_c *sc = ti->private; stripe_io_hints() local
[all...]

12345678910>>...16