Searched refs:sc (Results 1 - 25 of 470) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/powerpc/stringloops/
H A Dstring.c16 const char *sc; local
18 for (sc = s; *sc != '\0'; ++sc)
20 return sc - s;
/linux-master/fs/xfs/scrub/
H A Dcommon.h16 struct xfs_scrub *sc,
34 int xchk_trans_alloc(struct xfs_scrub *sc, uint resblks);
35 int xchk_trans_alloc_empty(struct xfs_scrub *sc);
36 void xchk_trans_cancel(struct xfs_scrub *sc);
38 bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno,
40 bool xchk_fblock_process_error(struct xfs_scrub *sc, int whichfork,
43 bool xchk_xref_process_error(struct xfs_scrub *sc,
45 bool xchk_fblock_xref_process_error(struct xfs_scrub *sc,
48 void xchk_block_set_preen(struct xfs_scrub *sc,
50 void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_
15 xchk_should_terminate( struct xfs_scrub *sc, int *error) argument
100 xchk_setup_rtbitmap(struct xfs_scrub *sc) argument
105 xchk_setup_rtsummary(struct xfs_scrub *sc) argument
116 xchk_ino_dqattach(struct xfs_scrub *sc) argument
121 xchk_setup_quota(struct xfs_scrub *sc) argument
126 xchk_setup_quotacheck(struct xfs_scrub *sc) argument
145 xchk_ag_init_existing( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) argument
190 xchk_iget_safe(struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_inode **ipp) argument
231 xchk_could_repair(const struct xfs_scrub *sc) argument
268 xchk_need_intent_drain(struct xfs_scrub *sc) argument
[all...]
H A Drepair.h13 static inline int xrep_notsupported(struct xfs_scrub *sc) argument
30 int xrep_attempt(struct xfs_scrub *sc, struct xchk_stats_run *run);
31 bool xrep_will_attempt(struct xfs_scrub *sc);
33 int xrep_roll_ag_trans(struct xfs_scrub *sc);
34 int xrep_roll_trans(struct xfs_scrub *sc);
35 int xrep_defer_finish(struct xfs_scrub *sc);
38 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
42 struct xfs_scrub *sc)
44 int error = xfs_trans_commit(sc->tp);
46 sc
41 xrep_trans_commit( struct xfs_scrub *sc) argument
154 xrep_attempt( struct xfs_scrub *sc, struct xchk_stats_run *run) argument
164 xrep_calc_ag_resblks( struct xfs_scrub *sc) argument
171 xrep_reset_perag_resv( struct xfs_scrub *sc) argument
183 xrep_setup_nothing( struct xfs_scrub *sc) argument
[all...]
H A Dhealth.h10 void xchk_update_health(struct xfs_scrub *sc);
11 void xchk_ag_btree_del_cursor_if_sick(struct xfs_scrub *sc,
13 void xchk_mark_healthy_if_clean(struct xfs_scrub *sc, unsigned int mask);
14 bool xchk_file_looks_zapped(struct xfs_scrub *sc, unsigned int mask);
15 int xchk_health_record(struct xfs_scrub *sc);
H A Dagheader.c23 struct xfs_scrub *sc)
25 if (xchk_need_intent_drain(sc))
26 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN);
27 return xchk_setup_fs(sc);
35 struct xfs_scrub *sc,
38 struct xfs_mount *mp = sc->mp;
39 xfs_agnumber_t agno = sc->sm->sm_agno;
43 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)
48 error = xchk_ag_init_existing(sc, agno, &sc
22 xchk_setup_agheader( struct xfs_scrub *sc) argument
34 xchk_superblock_xref( struct xfs_scrub *sc, struct xfs_buf *bp) argument
70 xchk_superblock( struct xfs_scrub *sc) argument
380 xchk_agf_xref_freeblks( struct xfs_scrub *sc) argument
400 xchk_agf_xref_cntbt( struct xfs_scrub *sc) argument
432 xchk_agf_xref_btreeblks( struct xfs_scrub *sc) argument
482 xchk_agf_xref_refcblks( struct xfs_scrub *sc) argument
501 xchk_agf_xref( struct xfs_scrub *sc) argument
529 xchk_agf( struct xfs_scrub *sc) argument
633 struct xfs_scrub *sc; member in struct:xchk_agfl_info
638 xchk_agfl_block_xref( struct xfs_scrub *sc, xfs_agblock_t agbno) argument
660 struct xfs_scrub *sc = sai->sc; local
689 xchk_agfl_xref( struct xfs_scrub *sc) argument
716 xchk_agfl( struct xfs_scrub *sc) argument
794 xchk_agi_xref_icounts( struct xfs_scrub *sc) argument
815 xchk_agi_xref_fiblocks( struct xfs_scrub *sc) argument
844 xchk_agi_xref( struct xfs_scrub *sc) argument
870 xchk_agi( struct xfs_scrub *sc) argument
[all...]
H A Dhealth.c127 struct xfs_scrub *sc,
130 if (!(sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT |
132 sc->sick_mask |= mask;
142 struct xfs_scrub *sc,
147 if (sc->flags & XREP_ALREADY_FIXED)
150 return xfs_inode_has_sickness(sc->ip, mask);
183 struct xfs_scrub *sc)
194 if (sc->sm->sm_type == XFS_SCRUB_TYPE_HEALTHY &&
195 !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) {
196 xchk_mark_all_healthy(sc
126 xchk_mark_healthy_if_clean( struct xfs_scrub *sc, unsigned int mask) argument
141 xchk_file_looks_zapped( struct xfs_scrub *sc, unsigned int mask) argument
182 xchk_update_health( struct xfs_scrub *sc) argument
252 xchk_ag_btree_del_cursor_if_sick( struct xfs_scrub *sc, struct xfs_btree_cur **curp, unsigned int sm_type) argument
292 xchk_health_record( struct xfs_scrub *sc) argument
[all...]
H A Dfscounters.c71 struct xfs_scrub *sc)
73 struct xfs_mount *mp = sc->mp;
81 if (xchk_should_terminate(sc, &error))
88 error = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp);
91 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp);
122 struct xfs_scrub *sc)
126 error = freeze_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL);
127 trace_xchk_fsfreeze(sc, error);
133 struct xfs_scrub *sc)
138 error = thaw_super(sc
70 xchk_fscount_warmup( struct xfs_scrub *sc) argument
121 xchk_fsfreeze( struct xfs_scrub *sc) argument
132 xchk_fsthaw( struct xfs_scrub *sc) argument
152 xchk_fscounters_freeze( struct xfs_scrub *sc) argument
183 struct xfs_scrub *sc = fsc->sc; local
197 xchk_setup_fscounters( struct xfs_scrub *sc) argument
259 xchk_fscount_btreeblks( struct xfs_scrub *sc, struct xchk_fscounters *fsc, xfs_agnumber_t agno) argument
293 xchk_fscount_aggregate_agcounts( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument
407 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument
432 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument
462 xchk_fscount_within_range( struct xfs_scrub *sc, const int64_t old_value, struct percpu_counter *counter, uint64_t expected) argument
499 xchk_fscounters( struct xfs_scrub *sc) argument
[all...]
H A Dparent.c24 struct xfs_scrub *sc)
26 return xchk_setup_inode_contents(sc, 0);
34 struct xfs_scrub *sc; member in struct:xchk_parent_ctx
41 struct xfs_scrub *sc,
54 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
57 if (sc->ip->i_ino == ino)
60 if (xchk_should_terminate(spc->sc, &error))
96 struct xfs_scrub *sc,
100 .sc = sc,
23 xchk_setup_parent( struct xfs_scrub *sc) argument
40 xchk_parent_actor( struct xfs_scrub *sc, struct xfs_inode *dp, xfs_dir2_dataptr_t dapos, const struct xfs_name *name, xfs_ino_t ino, void *priv) argument
95 xchk_parent_validate( struct xfs_scrub *sc, xfs_ino_t parent_ino) argument
190 xchk_parent( struct xfs_scrub *sc) argument
[all...]
H A Dsymlink.c24 struct xfs_scrub *sc)
27 sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, XCHK_GFP_FLAGS);
28 if (!sc->buf)
31 return xchk_setup_inode_contents(sc, 0);
38 struct xfs_scrub *sc)
40 struct xfs_inode *ip = sc->ip;
48 if (xchk_file_looks_zapped(sc, XFS_SICK_INO_SYMLINK_ZAPPED)) {
49 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0);
58 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0);
66 xchk_fblock_set_corrupt(sc, XFS_DATA_FOR
23 xchk_setup_symlink( struct xfs_scrub *sc) argument
37 xchk_symlink( struct xfs_scrub *sc) argument
[all...]
H A Dalloc.c28 struct xfs_scrub *sc)
32 if (xchk_need_intent_drain(sc))
33 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN);
35 error = xchk_setup_ag_btree(sc, false);
39 if (xchk_could_repair(sc))
40 return xrep_setup_ag_allocbt(sc);
58 struct xfs_scrub *sc,
68 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT)
69 pcur = &sc->sa.cnt_cur;
71 pcur = &sc
27 xchk_setup_ag_allocbt( struct xfs_scrub *sc) argument
57 xchk_allocbt_xref_other( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument
97 xchk_allocbt_xref( struct xfs_scrub *sc, const struct xfs_alloc_rec_incore *irec) argument
155 xchk_allocbt( struct xfs_scrub *sc) argument
178 xchk_xref_is_used_space( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument
[all...]
H A Dscrub.h30 int (*setup)(struct xfs_scrub *sc);
44 int (*repair_eval)(struct xfs_scrub *sc);
145 int xchk_tester(struct xfs_scrub *sc);
146 int xchk_superblock(struct xfs_scrub *sc);
147 int xchk_agf(struct xfs_scrub *sc);
148 int xchk_agfl(struct xfs_scrub *sc);
149 int xchk_agi(struct xfs_scrub *sc);
150 int xchk_allocbt(struct xfs_scrub *sc);
151 int xchk_iallocbt(struct xfs_scrub *sc);
152 int xchk_rmapbt(struct xfs_scrub *sc);
167 xchk_rtbitmap(struct xfs_scrub *sc) argument
172 xchk_rtsummary(struct xfs_scrub *sc) argument
182 xchk_quota(struct xfs_scrub *sc) argument
187 xchk_quotacheck(struct xfs_scrub *sc) argument
[all...]
H A Dinode.c33 struct xfs_scrub *sc)
37 xchk_ilock(sc, XFS_IOLOCK_EXCL);
39 error = xchk_trans_alloc(sc, 0);
43 error = xchk_ino_dqattach(sc);
47 xchk_ilock(sc, XFS_ILOCK_EXCL);
54 struct xfs_scrub *sc,
59 error = xchk_install_handle_inode(sc, ip);
63 return xchk_prepare_iscrub(sc);
74 struct xfs_scrub *sc)
78 struct xfs_mount *mp = sc
32 xchk_prepare_iscrub( struct xfs_scrub *sc) argument
53 xchk_install_handle_iscrub( struct xfs_scrub *sc, struct xfs_inode *ip) argument
73 xchk_setup_inode( struct xfs_scrub *sc) argument
212 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) argument
248 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) argument
267 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) argument
312 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) argument
359 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) argument
374 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) argument
606 xchk_inode_xref_finobt( struct xfs_scrub *sc, xfs_ino_t ino) argument
649 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) argument
683 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) argument
720 xchk_inode_check_reflink_iflag( struct xfs_scrub *sc, xfs_ino_t ino) argument
744 xchk_inode( struct xfs_scrub *sc) argument
[all...]
H A Dcommon.c70 struct xfs_scrub *sc,
84 sc->ip ? sc->ip : XFS_I(file_inode(sc->file)),
85 sc->sm, *error);
93 trace_xchk_op_error(sc, agno, bno, *error, ret_ip);
99 sc->sm->sm_flags |= errflag;
103 trace_xchk_op_error(sc, agno, bno, *error, ret_ip);
111 struct xfs_scrub *sc,
116 return __xchk_process_error(sc, agn
69 __xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error, __u32 errflag, void *ret_ip) argument
110 xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) argument
121 xchk_xref_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) argument
133 __xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error, __u32 errflag, void *ret_ip) argument
174 xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) argument
185 xchk_fblock_xref_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) argument
209 xchk_block_set_preen( struct xfs_scrub *sc, struct xfs_buf *bp) argument
223 xchk_ino_set_preen( struct xfs_scrub *sc, xfs_ino_t ino) argument
233 xchk_set_corrupt( struct xfs_scrub *sc) argument
242 xchk_block_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) argument
253 xchk_qcheck_set_corrupt( struct xfs_scrub *sc, unsigned int dqtype, xfs_dqid_t id) argument
265 xchk_block_xref_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) argument
279 xchk_ino_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) argument
289 xchk_ino_xref_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) argument
299 xchk_fblock_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument
310 xchk_fblock_xref_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument
324 xchk_ino_set_warning( struct xfs_scrub *sc, xfs_ino_t ino) argument
334 xchk_fblock_set_warning( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument
345 xchk_set_incomplete( struct xfs_scrub *sc) argument
389 xchk_count_rmap_ownedby_ag( struct xfs_scrub *sc, struct xfs_btree_cur *cur, const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks) argument
415 want_ag_read_header_failure( struct xfs_scrub *sc, unsigned int type) argument
442 xchk_perag_read_headers( struct xfs_scrub *sc, struct xchk_ag *sa) argument
464 xchk_perag_drain_and_lock( struct xfs_scrub *sc) argument
542 xchk_ag_read_headers( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) argument
585 xchk_ag_btcur_init( struct xfs_scrub *sc, struct xchk_ag *sa) argument
640 xchk_ag_free( struct xfs_scrub *sc, struct xchk_ag *sa) argument
668 xchk_ag_init( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) argument
686 xchk_trans_cancel( struct xfs_scrub *sc) argument
694 xchk_trans_alloc_empty( struct xfs_scrub *sc) argument
711 xchk_trans_alloc( struct xfs_scrub *sc, uint resblks) argument
724 xchk_setup_fs( struct xfs_scrub *sc) argument
735 xchk_setup_ag_btree( struct xfs_scrub *sc, bool force_log) argument
777 xchk_iget( struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_inode **ipp) argument
804 xchk_iget_agi( struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_buf **agi_bpp, struct xfs_inode **ipp) argument
874 xchk_ino_dqattach( struct xfs_scrub *sc) argument
889 xchk_install_handle_inode( struct xfs_scrub *sc, struct xfs_inode *ip) argument
908 xchk_install_live_inode( struct xfs_scrub *sc, struct xfs_inode *ip) argument
929 xchk_iget_for_scrubbing( struct xfs_scrub *sc) argument
1043 xchk_irele( struct xfs_scrub *sc, struct xfs_inode *ip) argument
1080 xchk_setup_inode_contents( struct xfs_scrub *sc, unsigned int resblks) argument
1108 xchk_ilock( struct xfs_scrub *sc, unsigned int ilock_flags) argument
1117 xchk_ilock_nowait( struct xfs_scrub *sc, unsigned int ilock_flags) argument
1130 xchk_iunlock( struct xfs_scrub *sc, unsigned int ilock_flags) argument
1144 xchk_should_check_xref( struct xfs_scrub *sc, int *error, struct xfs_btree_cur **curpp) argument
1179 xchk_buffer_recheck( struct xfs_scrub *sc, struct xfs_buf *bp) argument
1201 xchk_metadata_inode_subtype( struct xfs_scrub *sc, unsigned int scrub_type) argument
1234 xchk_metadata_inode_forks( struct xfs_scrub *sc) argument
1292 xchk_fsgates_enable( struct xfs_scrub *sc, unsigned int scrub_fsgates) argument
1333 xchk_inode_is_allocated( struct xfs_scrub *sc, xfs_agino_t agino, bool *inuse) argument
[all...]
H A Dnlinks_repair.c48 struct xfs_scrub *sc = xnc->sc; local
49 struct xfs_mount *mp = sc->mp;
50 struct xfs_inode *ip = sc->ip;
56 xchk_ilock(sc, XFS_IOLOCK_EXCL);
58 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_link, 0, 0, 0, &sc->tp);
62 xchk_ilock(sc, XFS_ILOCK_EXCL);
63 xfs_trans_ijoin(sc->tp, ip, 0);
132 xfs_trans_log_inode(sc->tp, ip, XFS_ILOG_CORE);
134 error = xrep_trans_commit(sc);
166 xrep_nlinks( struct xfs_scrub *sc) argument
[all...]
H A Drefcount.c29 struct xfs_scrub *sc)
31 if (xchk_need_intent_drain(sc))
32 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN);
34 if (xchk_could_repair(sc)) {
37 error = xrep_setup_ag_refcountbt(sc);
42 return xchk_setup_ag_btree(sc, false);
89 struct xfs_scrub *sc; member in struct:xchk_refcnt_check
120 if (xchk_should_terminate(refchk->sc, &error))
128 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0);
286 struct xfs_scrub *sc,
28 xchk_setup_ag_refcountbt( struct xfs_scrub *sc) argument
285 xchk_refcountbt_xref_rmap( struct xfs_scrub *sc, const struct xfs_refcount_irec *irec) argument
332 xchk_refcountbt_xref( struct xfs_scrub *sc, const struct xfs_refcount_irec *irec) argument
379 xchk_refcountbt_xref_gaps( struct xfs_scrub *sc, struct xchk_refcbt_records *rrc, xfs_agblock_t bno) argument
489 xchk_refcount_xref_rmap( struct xfs_scrub *sc, xfs_filblks_t cow_blocks) argument
522 xchk_refcountbt( struct xfs_scrub *sc) argument
550 xchk_xref_is_cow_staging( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument
594 xchk_xref_is_not_shared( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument
615 xchk_xref_is_not_cow_staging( struct xfs_scrub *sc, xfs_agblock_t agbno, xfs_extlen_t len) argument
[all...]
/linux-master/drivers/clk/qcom/
H A Dgdsc.c60 static int gdsc_check_status(struct gdsc *sc, enum gdsc_status status) argument
66 if (sc->flags & POLL_CFG_GDSCR)
67 reg = sc->gdscr + CFG_GDSCR_OFFSET;
68 else if (sc->gds_hw_ctrl)
69 reg = sc->gds_hw_ctrl;
71 reg = sc->gdscr;
73 ret = regmap_read(sc->regmap, reg, &val);
77 if (sc->flags & POLL_CFG_GDSCR) {
96 static int gdsc_hwctrl(struct gdsc *sc, bool en) argument
100 return regmap_update_bits(sc
103 gdsc_poll_status(struct gdsc *sc, enum gdsc_status status) argument
119 gdsc_update_collapse_bit(struct gdsc *sc, bool val) argument
139 gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status, bool wait) argument
189 gdsc_deassert_reset(struct gdsc *sc) argument
198 gdsc_assert_reset(struct gdsc *sc) argument
207 gdsc_force_mem_on(struct gdsc *sc) argument
219 gdsc_clear_mem_on(struct gdsc *sc) argument
231 gdsc_deassert_clamp_io(struct gdsc *sc) argument
237 gdsc_assert_clamp_io(struct gdsc *sc) argument
243 gdsc_assert_reset_aon(struct gdsc *sc) argument
252 gdsc_retain_ff_on(struct gdsc *sc) argument
261 struct gdsc *sc = domain_to_gdsc(domain); local
319 struct gdsc *sc = domain_to_gdsc(domain); local
366 gdsc_init(struct gdsc *sc) argument
560 struct gdsc *sc = domain_to_gdsc(domain); local
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dchannel.c23 static int ath_set_channel(struct ath_softc *sc) argument
25 struct ath_hw *ah = sc->sc_ah;
27 struct ieee80211_hw *hw = sc->hw;
29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef;
47 ath_update_survey_stats(sc);
57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) {
58 if (sc->cur_survey)
59 sc
103 ath_chanctx_init(struct ath_softc *sc) argument
130 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) argument
157 ath_is_go_chanctx_present(struct ath_softc *sc) argument
233 chanctx_event_delta(struct ath_softc *sc) argument
247 ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) argument
327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) argument
334 ath_chanctx_adjust_tbtt_delta(struct ath_softc *sc) argument
373 ath_chanctx_setup_timer(struct ath_softc *sc, u32 tsf_time) argument
389 ath_chanctx_handle_bmiss(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp) argument
414 ath_chanctx_offchannel_noa(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp, u32 tsf_time) argument
440 ath_chanctx_set_periodic_noa(struct ath_softc *sc, struct ath_vif *avp, struct ath_beacon_config *cur_conf, u32 tsf_time, u32 beacon_int) argument
473 ath_chanctx_set_oneshot_noa(struct ath_softc *sc, struct ath_vif *avp, u32 tsf_time, u32 duration) argument
494 ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, enum ath_chanctx_event ev) argument
777 ath_chanctx_beacon_sent_ev(struct ath_softc *sc, enum ath_chanctx_event ev) argument
784 ath_chanctx_beacon_recv_ev(struct ath_softc *sc, enum ath_chanctx_event ev) argument
790 ath_scan_channel_duration(struct ath_softc *sc, struct ieee80211_channel *chan) argument
801 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) argument
848 ath_chanctx_offchan_switch(struct ath_softc *sc, struct ieee80211_channel *chan) argument
861 ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active) argument
880 ath_scan_next_channel(struct ath_softc *sc) argument
910 ath_offchannel_next(struct ath_softc *sc) argument
939 ath_roc_complete(struct ath_softc *sc, enum ath_roc_complete_reason reason) argument
964 ath_scan_complete(struct ath_softc *sc, bool abort) argument
989 ath_scan_send_probe(struct ath_softc *sc, struct cfg80211_ssid *ssid) argument
1026 ath_scan_channel_start(struct ath_softc *sc) argument
1048 struct ath_softc *sc = from_timer(sc, t, sched.timer); local
1059 struct ath_softc *sc = from_timer(sc, t, offchannel.timer); local
1101 ath_chanctx_send_vif_ps_frame(struct ath_softc *sc, struct ath_vif *avp, bool powersave) argument
1148 ath_chanctx_send_ps_frame(struct ath_softc *sc, bool powersave) argument
1163 ath_chanctx_defer_switch(struct ath_softc *sc) argument
1189 ath_offchannel_channel_change(struct ath_softc *sc) argument
1229 ath_chanctx_set_next(struct ath_softc *sc, bool force) argument
1326 struct ath_softc *sc = container_of(work, struct ath_softc, local
1333 ath9k_offchannel_init(struct ath_softc *sc) argument
1361 ath9k_init_channel_context(struct ath_softc *sc) argument
1371 ath9k_deinit_channel_context(struct ath_softc *sc) argument
1385 ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx) argument
1404 ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx) argument
1426 ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) argument
1455 ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif) argument
1476 ath9k_get_ctwin(struct ath_softc *sc, struct ath_vif *avp) argument
1500 ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, struct sk_buff *skb) argument
1557 struct ath_softc *sc = priv; local
1604 ath9k_p2p_bss_info_changed(struct ath_softc *sc, struct ieee80211_vif *vif) argument
1616 ath9k_p2p_beacon_sync(struct ath_softc *sc) argument
1622 ath9k_p2p_remove_vif(struct ath_softc *sc, struct ieee80211_vif *vif) argument
1635 ath9k_init_p2p(struct ath_softc *sc) argument
1645 ath9k_deinit_p2p(struct ath_softc *sc) argument
[all...]
H A Dmain.c60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, argument
78 acq = &sc->cur_chan->acq[txq->mac80211_qnum];
87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) argument
92 spin_lock_irqsave(&sc->sc_pm_lock, flags);
93 ret = ath9k_hw_setpower(sc->sc_ah, mode);
94 spin_unlock_irqrestore(&sc->sc_pm_lock, flags);
101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); local
102 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
110 ath9k_hw_setrxabort(sc
116 ath9k_ps_wakeup(struct ath_softc *sc) argument
147 ath9k_ps_restore(struct ath_softc *sc) argument
185 __ath_cancel_work(struct ath_softc *sc) argument
197 ath_cancel_work(struct ath_softc *sc) argument
203 ath_restart_work(struct ath_softc *sc) argument
215 ath_prepare_reset(struct ath_softc *sc) argument
235 ath_complete_reset(struct ath_softc *sc, bool start) argument
285 ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) argument
355 ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, struct ieee80211_vif *vif) argument
371 ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) argument
381 struct ath_softc *sc = from_tasklet(sc, t, intr_tq); local
507 struct ath_softc *sc = dev; local
610 ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan) argument
630 ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type) argument
643 struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work); local
656 struct ath_softc *sc = hw->priv; local
758 struct ath_softc *sc = hw->priv; local
850 ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) argument
885 ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) argument
901 struct ath_softc *sc = hw->priv; local
1065 ath9k_update_bssid_mask(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) argument
1094 ath9k_calculate_iter_data(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) argument
1114 ath9k_set_assoc_state(struct ath_softc *sc, struct ieee80211_vif *vif, bool changed) argument
1145 ath9k_set_offchannel_state(struct ath_softc *sc) argument
1182 ath9k_calculate_summary_state(struct ath_softc *sc, struct ath_chanctx *ctx) argument
1289 ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) argument
1333 struct ath_softc *sc = hw->priv; local
1384 struct ath_softc *sc = hw->priv; local
1418 struct ath_softc *sc = hw->priv; local
1445 ath9k_enable_ps(struct ath_softc *sc) argument
1464 ath9k_disable_ps(struct ath_softc *sc) argument
1490 struct ath_softc *sc = hw->priv; local
1570 struct ath_softc *sc = hw->priv; local
1597 struct ath_softc *sc = hw->priv; local
1618 ath9k_del_ps_key(struct ath_softc *sc, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
1637 struct ath_softc *sc = hw->priv; local
1651 struct ath_softc *sc = hw->priv; local
1697 struct ath_softc *sc = hw->priv; local
1719 struct ath_softc *sc = hw->priv; local
1762 struct ath_softc *sc = hw->priv; local
1874 struct ath_softc *sc = hw->priv; local
1948 struct ath_softc *sc = hw->priv; local
1972 struct ath_softc *sc = hw->priv; local
1988 struct ath_softc *sc = hw->priv; local
2007 struct ath_softc *sc = hw->priv; local
2066 struct ath_softc *sc = hw->priv; local
2103 ath9k_enable_dynack(struct ath_softc *sc) argument
2120 struct ath_softc *sc = hw->priv; local
2147 ath9k_has_tx_pending(struct ath_softc *sc, bool sw_pending) argument
2168 struct ath_softc *sc = hw->priv; local
2197 struct ath_softc *sc = hw->priv; local
2247 struct ath_softc *sc = hw->priv; local
2254 struct ath_softc *sc = hw->priv; local
2296 struct ath_softc *sc = hw->priv; local
2344 struct ath_softc *sc = hw->priv; local
2373 struct ath_softc *sc = hw->priv; local
2384 struct ath_softc *sc = hw->priv; local
2407 struct ath_softc *sc = hw->priv; local
2414 ath9k_cancel_pending_offchannel(struct ath_softc *sc) argument
2440 struct ath_softc *sc = hw->priv; local
2474 struct ath_softc *sc = hw->priv; local
2490 struct ath_softc *sc = hw->priv; local
2524 struct ath_softc *sc = hw->priv; local
2545 struct ath_softc *sc = hw->priv; local
2580 struct ath_softc *sc = hw->priv; local
2601 struct ath_softc *sc = hw->priv; local
2618 struct ath_softc *sc = hw->priv; local
2650 struct ath_softc *sc = hw->priv; local
2679 struct ath_softc *sc = hw->priv; local
2773 struct ath_softc *sc = hw->priv; local
[all...]
H A Drng.c24 static int ath9k_rng_data_read(struct ath_softc *sc, u32 *buf, u32 buf_size) argument
27 u32 v1, v2, rng_last = sc->rng_last;
28 struct ath_hw *ah = sc->sc_ah;
30 ath9k_ps_wakeup(sc);
48 ath9k_ps_restore(sc);
50 sc->rng_last = rng_last;
71 struct ath_softc *sc = container_of(rng, struct ath_softc, rng_ops); local
77 bytes_read = ath9k_rng_data_read(sc, buf, max >> 2);
78 if ((max & 3UL) && ath9k_rng_data_read(sc, &word, 1)) {
95 void ath9k_rng_start(struct ath_softc *sc) argument
116 ath9k_rng_stop(struct ath_softc *sc) argument
[all...]
H A Dbeacon.c22 static void ath9k_reset_beacon_status(struct ath_softc *sc) argument
24 sc->beacon.tx_processed = false;
25 sc->beacon.tx_last = false;
33 static void ath9k_beaconq_config(struct ath_softc *sc) argument
35 struct ath_hw *ah = sc->sc_ah;
40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi);
42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP ||
43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) {
50 txq = sc->tx.txq_map[IEEE80211_AC_BE];
60 if (!ath9k_hw_set_txq_props(ah, sc
72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) argument
115 struct ath_softc *sc = hw->priv; local
195 ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) argument
217 ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) argument
244 ath9k_beacon_ensure_primary_slot(struct ath_softc *sc) argument
306 ath9k_beacon_choose_slot(struct ath_softc *sc) argument
334 ath9k_set_tsfadjust(struct ath_softc *sc, struct ath_beacon_config *cur_conf) argument
363 ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) argument
377 struct ath_softc *sc = data; local
381 ath9k_csa_update(struct ath_softc *sc) argument
390 struct ath_softc *sc = from_tasklet(sc, t, bcon_tasklet); local
513 ath9k_beacon_init(struct ath_softc *sc, u32 nexttbtt, u32 intval) argument
527 ath9k_beacon_stop(struct ath_softc *sc) argument
541 ath9k_beacon_config_ap(struct ath_softc *sc, struct ath_beacon_config *conf) argument
566 ath9k_beacon_config_adhoc(struct ath_softc *sc, struct ath_beacon_config *conf) argument
586 ath9k_cache_beacon_config(struct ath_softc *sc, struct ath_chanctx *ctx, struct ieee80211_vif *vif) argument
625 ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *main_vif, bool beacons) argument
698 ath9k_set_beacon(struct ath_softc *sc) argument
[all...]
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-alsa-main.c35 static void snd_cobalt_card_private_free(struct snd_card *sc) argument
37 if (sc == NULL)
39 snd_cobalt_card_free(sc->private_data);
40 sc->private_data = NULL;
41 sc->private_free = NULL;
45 struct snd_card *sc,
53 (*cobsc)->sc = sc;
55 sc->private_data = *cobsc;
56 sc
44 snd_cobalt_card_create(struct cobalt_stream *s, struct snd_card *sc, struct snd_cobalt_card **cobsc) argument
65 struct snd_card *sc = cobsc->sc; local
85 struct snd_card *sc = NULL; local
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c119 struct scmi_syspower_conf *sc = reboot_nb_to_sconf(nb); local
121 mutex_lock(&sc->state_mtx);
125 if (sc->required_transition == SCMI_SYSTEM_SHUTDOWN)
126 sc->state = SCMI_SYSPOWER_REBOOTING;
129 if (sc->required_transition == SCMI_SYSTEM_COLDRESET ||
130 sc->required_transition == SCMI_SYSTEM_WARMRESET)
131 sc->state = SCMI_SYSPOWER_REBOOTING;
137 if (sc->state == SCMI_SYSPOWER_REBOOTING) {
138 dev_dbg(sc->dev, "Reboot in progress...cancel delayed work.\n");
139 cancel_delayed_work_sync(&sc
155 scmi_request_forceful_transition(struct scmi_syspower_conf *sc) argument
178 struct scmi_syspower_conf *sc; local
210 scmi_request_graceful_transition(struct scmi_syspower_conf *sc, unsigned int timeout_ms) argument
278 struct scmi_syspower_conf *sc = userspace_nb_to_sconf(nb); local
321 struct scmi_syspower_conf *sc; local
[all...]
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_nic.c34 struct octeon_soft_command *sc; local
40 sc = (struct octeon_soft_command *)
43 if (!sc)
47 memcpy(&sc->cmd, cmd, sizeof(union octeon_instr_64B));
53 ih3 = (struct octeon_instr_ih3 *)&sc->cmd.cmd3.ih3;
54 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd3.rdp;
55 irh = (struct octeon_instr_irh *)&sc->cmd.cmd3.irh;
59 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2;
60 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp;
61 irh = (struct octeon_instr_irh *)&sc
100 struct octeon_soft_command *sc = NULL; local
143 struct octeon_soft_command *sc = NULL; local
[all...]
/linux-master/drivers/md/
H A Ddm-stripe.c56 struct stripe_c *sc = container_of(work, struct stripe_c, local
58 dm_table_event(sc->ti->table);
64 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, argument
75 &sc->stripe[stripe].dev);
79 sc->stripe[stripe].physical_start = start;
90 struct stripe_c *sc; local
132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL);
133 if (!sc) {
138 INIT_WORK(&sc
192 struct stripe_c *sc = ti->private; local
201 stripe_map_sector(struct stripe_c *sc, sector_t sector, uint32_t *stripe, sector_t *result) argument
229 stripe_map_range_sector(struct stripe_c *sc, sector_t sector, uint32_t target_stripe, sector_t *result) argument
249 stripe_map_range(struct stripe_c *sc, struct bio *bio, uint32_t target_stripe) argument
273 struct stripe_c *sc = ti->private; local
303 struct stripe_c *sc = ti->private; local
363 struct stripe_c *sc = ti->private; local
408 struct stripe_c *sc = ti->private; local
442 struct stripe_c *sc = ti->private; local
458 struct stripe_c *sc = ti->private; local
[all...]
/linux-master/tools/perf/arch/mips/entry/syscalls/
H A Dmksyscalltbl19 local max_nr nr abi sc discard
22 while read nr abi sc discard; do
23 printf '\t[%d] = "%s",\n' $nr $sc

Completed in 290 milliseconds

1234567891011>>