/linux/fs/xfs/scrub/ |
H A D | common.c | 78 struct xfs_scrub *sc, in __xchk_process_error() 119 struct xfs_scrub *sc, in xchk_process_error() 130 struct xfs_scrub *sc, in xchk_process_rt_error() 141 struct xfs_scrub *sc, in xchk_xref_process_error() 153 struct xfs_scrub *sc, in __xchk_fblock_process_error() 194 struct xfs_scrub *sc, in xchk_fblock_process_error() 205 struct xfs_scrub *sc, in xchk_fblock_xref_process_error() 229 struct xfs_scrub *sc, in xchk_block_set_preen() 243 struct xfs_scrub *sc, in xchk_ino_set_preen() 253 struct xfs_scrub *sc) in xchk_set_corrupt() [all …]
|
H A D | tempfile.c | 41 struct xfs_scrub *sc, in xrep_tempfile_create() 202 struct xfs_scrub *sc) in xrep_tempfile_adjust_directory_tree() 251 struct xfs_scrub *sc) in xrep_tempfile_remove_metadir() 297 struct xfs_scrub *sc) in xrep_tempfile_iolock_nowait() 314 struct xfs_scrub *sc) in xrep_tempfile_iolock_polled() 330 struct xfs_scrub *sc) in xrep_tempfile_iounlock() 339 struct xfs_scrub *sc) in xrep_tempfile_ilock() 348 struct xfs_scrub *sc) in xrep_tempfile_ilock_nowait() 361 struct xfs_scrub *sc) in xrep_tempfile_iunlock() 373 struct xfs_scrub *sc) in xrep_tempfile_ilock_both() [all …]
|
H A D | repair.c | 63 struct xfs_scrub *sc, in xrep_attempt() 141 struct xfs_scrub *sc) in xrep_probe() 157 struct xfs_scrub *sc) in xrep_roll_ag_trans() 202 struct xfs_scrub *sc) in xrep_roll_trans() 212 struct xfs_scrub *sc) in xrep_defer_finish() 282 struct xfs_scrub *sc) in xrep_calc_ag_resblks() 397 struct xfs_scrub *sc) in xrep_calc_rtgroup_resblks() 453 struct xfs_scrub *sc, in xrep_fix_freelist() 495 struct xfs_scrub *sc; member 707 struct xfs_scrub *sc, in xrep_find_ag_btree_roots() [all …]
|
H A D | common.h | 58 static inline int xchk_setup_nothing(struct xfs_scrub *sc) in xchk_setup_nothing() 99 xchk_ino_dqattach(struct xfs_scrub *sc) in xchk_ino_dqattach() 121 struct xfs_scrub *sc, in xchk_ag_init_existing() 142 struct xfs_scrub *sc, in xchk_rtgroup_init_existing() 157 # define xchk_rtgroup_init(sc, rgno, sr) (-EFSCORRUPTED) argument 158 # define xchk_rtgroup_init_existing(sc, rgno, sr) (-EFSCORRUPTED) argument 159 # define xchk_rtgroup_lock(sc, sr, lockflags) (-EFSCORRUPTED) argument 162 # define xchk_rtgroup_free(sc, sr) do { } while (0) argument 200 xchk_iget_safe(struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_inode **ipp) in xchk_iget_safe() 241 static inline bool xchk_could_repair(const struct xfs_scrub *sc) in xchk_could_repair() [all …]
|
H A D | inode_repair.c | 107 struct xfs_scrub *sc; member 149 struct xfs_scrub *sc, in xrep_setup_inode() 170 struct xfs_scrub *sc, in xrep_dinode_buf_core() 213 struct xfs_scrub *sc, in xrep_dinode_buf() 228 struct xfs_scrub *sc, in xrep_dinode_header() 247 struct xfs_scrub *sc, in xrep_dinode_findmode_dirent() 343 struct xfs_scrub *sc = ri->sc; in xrep_dinode_findmode_walk_directory() local 397 struct xfs_scrub *sc = ri->sc; in xrep_dinode_find_mode() local 488 struct xfs_scrub *sc = ri->sc; in xrep_dinode_mode() local 543 struct xfs_scrub *sc, in xrep_dinode_flags() [all …]
|
H A D | metapath.c | 44 struct xfs_scrub *sc; member 88 struct xfs_scrub *sc, in xchk_setup_metapath_scan() 129 struct xfs_scrub *sc) in xchk_setup_metapath_rtdir() 141 struct xfs_scrub *sc, in xchk_setup_metapath_rtginode() 174 struct xfs_scrub *sc) in xchk_setup_metapath_quotadir() 188 struct xfs_scrub *sc, in xchk_setup_metapath_dqinode() 224 struct xfs_scrub *sc) in xchk_setup_metapath() 269 struct xfs_scrub *sc = mpath->sc; in xchk_metapath_ilock_both() local 295 struct xfs_scrub *sc = mpath->sc; in xchk_metapath_iunlock() local 305 struct xfs_scrub *sc) in xchk_metapath() [all …]
|
H A D | agheader.c | 24 struct xfs_scrub *sc) in xchk_setup_agheader() 36 struct xfs_scrub *sc, in xchk_superblock_xref() 100 struct xfs_scrub *sc) in xchk_superblock() 448 struct xfs_scrub *sc) in xchk_agf_xref_freeblks() 468 struct xfs_scrub *sc) in xchk_agf_xref_cntbt() 500 struct xfs_scrub *sc) in xchk_agf_xref_btreeblks() 550 struct xfs_scrub *sc) in xchk_agf_xref_refcblks() 569 struct xfs_scrub *sc) in xchk_agf_xref() 597 struct xfs_scrub *sc) in xchk_agf() 700 struct xfs_scrub *sc; member [all …]
|
H A D | inode.c | 33 struct xfs_scrub *sc) in xchk_prepare_iscrub() 54 struct xfs_scrub *sc, in xchk_install_handle_iscrub() 90 struct xfs_scrub *sc) in xchk_setup_inode() 235 struct xfs_scrub *sc, in xchk_inode_extsize() 266 struct xfs_scrub *sc, in xchk_inode_cowextsize() 305 struct xfs_scrub *sc, in xchk_inode_flags() 350 struct xfs_scrub *sc, in xchk_inode_flags2() 398 struct xfs_scrub *sc, in xchk_dinode_nsec() 413 struct xfs_scrub *sc, in xchk_dinode() 654 struct xfs_scrub *sc, in xchk_inode_xref_finobt() [all …]
|
H A D | fscounters.c | 72 struct xfs_scrub *sc) in xchk_fscount_warmup() 122 struct xfs_scrub *sc) in xchk_fsfreeze() 133 struct xfs_scrub *sc) in xchk_fsthaw() 153 struct xfs_scrub *sc) in xchk_fscounters_freeze() 183 struct xfs_scrub *sc = fsc->sc; in xchk_fscounters_cleanup() local 198 struct xfs_scrub *sc) in xchk_setup_fscounters() 260 struct xfs_scrub *sc, in xchk_fscount_btreeblks() 294 struct xfs_scrub *sc, in xchk_fscount_aggregate_agcounts() 407 struct xfs_scrub *sc, in xchk_fscount_count_frextents() 443 struct xfs_scrub *sc, in xchk_fscount_count_frextents() [all …]
|
H A D | repair.h | 14 static inline int xrep_notsupported(struct xfs_scrub *sc) in xrep_notsupported() 43 struct xfs_scrub *sc) in xrep_trans_commit() 83 # define xrep_force_quotacheck(sc, type) ((void)0) argument 84 # define xrep_ino_dqattach(sc) (0) argument 122 # define xrep_rtgroup_init(sc, rtg, sr, lockflags) (-ENOSYS) argument 123 # define xrep_calc_rtgroup_resblks(sc) (0) argument 193 #define xrep_ino_dqattach(sc) (0) argument 199 static inline bool xrep_will_attempt(const struct xfs_scrub *sc) in xrep_will_attempt() 207 struct xfs_scrub *sc, in xrep_attempt() 217 struct xfs_scrub *sc) in xrep_calc_ag_resblks() [all …]
|
H A D | parent.c | 34 struct xfs_scrub *sc) in xchk_setup_parent() 52 struct xfs_scrub *sc; member 59 struct xfs_scrub *sc, in xchk_parent_actor() 114 struct xfs_scrub *sc, in xchk_parent_validate() 244 struct xfs_scrub *sc; member 272 struct xfs_scrub *sc, in xchk_parent_scan_dotdot() 304 struct xfs_scrub *sc = pp->sc; in xchk_parent_pptr_and_dotdot() local 353 struct xfs_scrub *sc, in xchk_parent_lock_dir() 384 struct xfs_scrub *sc = pp->sc; in xchk_parent_dirent() local 416 struct xfs_scrub *sc = pp->sc; in xchk_parent_iget() local [all …]
|
H A D | agheader_repair.c | 42 struct xfs_scrub *sc) in xrep_superblock() 87 struct xfs_scrub *sc; member 118 struct xfs_scrub *sc = priv; in xrep_agf_check_agfl_block() local 141 struct xfs_scrub *sc, in xrep_check_btree_root() 159 struct xfs_scrub *sc, in xrep_agf_find_btrees() 199 struct xfs_scrub *sc, in xrep_agf_init_header() 227 struct xfs_scrub *sc, in xrep_agf_set_roots() 251 struct xfs_scrub *sc, in xrep_agf_calc_from_btrees() 314 struct xfs_scrub *sc, in xrep_agf_commit_new() 344 struct xfs_scrub *sc) in xrep_agf() [all …]
|
H A D | symlink_repair.c | 56 struct xfs_scrub *sc, in xrep_setup_symlink() 95 struct xfs_scrub *sc) in xrep_symlink_salvage_remote() 165 struct xfs_scrub *sc) in xrep_symlink_salvage_inline() 203 struct xfs_scrub *sc) in xrep_symlink_salvage() 254 struct xfs_scrub *sc = priv; in xrep_symlink_local_to_remote() local 274 struct xfs_scrub *sc, in xrep_symlink_swap_prep() 327 struct xfs_scrub *sc) in xrep_symlink_swap() 362 struct xfs_scrub *sc) in xrep_symlink_reset_fork() 388 struct xfs_scrub *sc) in xrep_symlink_rebuild() 487 struct xfs_scrub *sc) in xrep_symlink()
|
H A D | quota.c | 26 struct xfs_scrub *sc) in xchk_quota_to_dqtype() 43 struct xfs_scrub *sc) in xchk_setup_quota() 76 struct xfs_scrub *sc; member 83 struct xfs_scrub *sc, in xchk_quota_item_bmap() 124 struct xfs_scrub *sc, in xchk_quota_item_timer() 144 struct xfs_scrub *sc = sqi->sc; in xchk_quota_item() local 263 struct xfs_scrub *sc) in xchk_quota_data_fork() 303 struct xfs_scrub *sc) in xchk_quota()
|
H A D | reap.c | 92 struct xfs_scrub *sc; member 114 struct xfs_scrub *sc, in xreap_put_freelist() 267 struct xfs_scrub *sc = rs->sc; in xreap_agextent_binval() local 334 struct xfs_scrub *sc = rs->sc; in xreap_agextent_select() local 394 struct xfs_scrub *sc = rs->sc; in xreap_agextent_iter() local 509 struct xfs_scrub *sc = rs->sc; in xreap_agmeta_extent() local 550 struct xfs_scrub *sc, in xrep_reap_agblocks() 587 struct xfs_scrub *sc = rs->sc; in xreap_fsmeta_extent() local 663 struct xfs_scrub *sc, in xrep_reap_fsblocks() 701 struct xfs_scrub *sc = rs->sc; in xreap_rgextent_select() local [all …]
|
H A D | newbt.c | 48 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_estimate_slack() local 88 struct xfs_scrub *sc, in xrep_newbt_init_ag() 107 struct xfs_scrub *sc, in xrep_newbt_init_inode() 133 struct xfs_scrub *sc) in xrep_newbt_init_metadir_inode() 169 struct xfs_scrub *sc) in xrep_newbt_init_bare() 244 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_validate_ag_alloc_hint() local 261 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_alloc_ag_blocks() local 322 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_validate_file_alloc_hint() local 336 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_alloc_file_blocks() local 416 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_free_extent() local [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | gpio.c | 25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() 54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local 63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() 74 void ath_init_leds(struct ath_softc *sc) in ath_init_leds() 104 static bool ath_is_rfkill_set(struct ath_softc *sc) in ath_is_rfkill_set() 119 struct ath_softc *sc = hw->priv; in ath9k_rfkill_poll_state() local 125 void ath_start_rfkill_poll(struct ath_softc *sc) in ath_start_rfkill_poll() 142 static void ath_detect_bt_priority(struct ath_softc *sc) in ath_detect_bt_priority() 171 static void ath_mci_ftp_adjust(struct ath_softc *sc) in ath_mci_ftp_adjust() 196 struct ath_softc *sc = from_timer(sc, t, btcoex.period_timer); in ath_btcoex_period_timer() local [all …]
|
H A D | init.c | 176 struct ath_softc *sc = common->priv; in ath9k_iowrite32() local 191 struct ath_softc *sc = common->priv; in ath9k_ioread32() local 214 static unsigned int __ath9k_reg_rmw(struct ath_softc *sc, u32 reg_offset, in __ath9k_reg_rmw() 231 struct ath_softc *sc = common->priv; in ath9k_reg_rmw() local 253 struct ath_softc *sc = hw->priv; in ath9k_reg_notifier() local 282 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, in ath_descdma_setup() 405 static int ath9k_init_queues(struct ath_softc *sc) in ath9k_init_queues() 422 static void ath9k_init_misc(struct ath_softc *sc) in ath9k_init_misc() 448 static void ath9k_init_pcoem_platform(struct ath_softc *sc) in ath9k_init_pcoem_platform() 537 static int ath9k_eeprom_request(struct ath_softc *sc, const char *name) in ath9k_eeprom_request() [all …]
|
H A D | mci.c | 119 static void ath_mci_update_scheme(struct ath_softc *sc) in ath_mci_update_scheme() 210 static void ath_mci_cal_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_cal_msg() 238 struct ath_softc *sc = container_of(work, struct ath_softc, mci_work); in ath9k_mci_work() local 256 static void ath_mci_set_concur_txprio(struct ath_softc *sc) in ath_mci_set_concur_txprio() 297 static u8 ath_mci_process_profile(struct ath_softc *sc, in ath_mci_process_profile() 332 static u8 ath_mci_process_status(struct ath_softc *sc, in ath_mci_process_status() 369 static void ath_mci_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_msg() 436 int ath_mci_setup(struct ath_softc *sc) in ath_mci_setup() 475 void ath_mci_cleanup(struct ath_softc *sc) in ath_mci_cleanup() 485 void ath_mci_intr(struct ath_softc *sc) in ath_mci_intr() [all …]
|
H A D | tx99.c | 19 static void ath9k_tx99_stop(struct ath_softc *sc) in ath9k_tx99_stop() 40 static struct sk_buff *ath9k_build_tx99_skb(struct ath_softc *sc) in ath9k_build_tx99_skb() 98 static void ath9k_tx99_deinit(struct ath_softc *sc) in ath9k_tx99_deinit() 107 static int ath9k_tx99_init(struct ath_softc *sc) in ath9k_tx99_init() 162 struct ath_softc *sc = file->private_data; in read_file_tx99() local 173 struct ath_softc *sc = file->private_data; in write_file_tx99() local 225 struct ath_softc *sc = file->private_data; in read_file_tx99_power() local 240 struct ath_softc *sc = file->private_data; in write_file_tx99_power() local 268 void ath9k_tx99_init_debug(struct ath_softc *sc) in ath9k_tx99_init_debug()
|
H A D | xmit.c | 106 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete() 121 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid() 131 struct ath_softc *sc = hw->priv; in ath9k_wake_tx_queue() local 210 static void ath_txq_skb_done(struct ath_softc *sc, struct sk_buff *skb) in ath_txq_skb_done() 236 struct ath_softc *sc = tid->an->sc; in ath_tid_pull() local 278 static void ath_tx_flush_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_flush_tid() 360 static void ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, in ath_tid_drain() 387 static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_set_retry() 407 static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) in ath_tx_get_buffer() 426 static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_return_buffer() [all …]
|
/linux/drivers/clk/qcom/ |
H A D | gdsc.c | 60 static int gdsc_check_status(struct gdsc *sc, enum gdsc_status status) in gdsc_check_status() 96 static int gdsc_hwctrl(struct gdsc *sc, bool en) in gdsc_hwctrl() 103 static int gdsc_poll_status(struct gdsc *sc, enum gdsc_status status) in gdsc_poll_status() 119 static int gdsc_update_collapse_bit(struct gdsc *sc, bool val) in gdsc_update_collapse_bit() 139 static int gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status, in gdsc_toggle_logic() 189 static inline int gdsc_deassert_reset(struct gdsc *sc) in gdsc_deassert_reset() 198 static inline int gdsc_assert_reset(struct gdsc *sc) in gdsc_assert_reset() 207 static inline void gdsc_force_mem_on(struct gdsc *sc) in gdsc_force_mem_on() 219 static inline void gdsc_clear_mem_on(struct gdsc *sc) in gdsc_clear_mem_on() 231 static inline void gdsc_deassert_clamp_io(struct gdsc *sc) in gdsc_deassert_clamp_io() [all …]
|
/linux/drivers/scsi/snic/ |
H A D | snic_scsi.c | 22 #define snic_cmd_tag(sc) (scsi_cmd_to_rq(sc)->tag) argument 98 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() 115 struct scsi_cmnd *sc) in snic_release_req_buf() 151 struct scsi_cmnd *sc, in snic_queue_icmnd_req() 228 struct scsi_cmnd *sc) in snic_issue_scsi_req() 319 snic_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc) in snic_queuecommand() 364 struct scsi_cmnd *sc, in snic_proc_tmreq_pending_state() 397 struct scsi_cmnd *sc, in snic_process_io_failed_state() 471 snic_tmreq_pending(struct scsi_cmnd *sc) in snic_tmreq_pending() 487 struct scsi_cmnd *sc) in snic_process_icmnd_cmpl_status() [all …]
|
/linux/drivers/hid/ |
H A D | hid-sony.c | 520 static inline void sony_schedule_work(struct sony_sc *sc, in sony_schedule_work() 537 struct sony_sc *sc = urb->context; in ghl_magic_poke_cb() local 548 struct sony_sc *sc = from_timer(sc, t, ghl_poke_timer); in ghl_magic_poke() local 555 static int ghl_init_urb(struct sony_sc *sc, struct usb_device *usbdev, in ghl_init_urb() 749 struct sony_sc *sc = hid_get_drvdata(hdev); in sony_report_fixup() local 796 static void sixaxis_parse_report(struct sony_sc *sc, u8 *rd, int size) in sixaxis_parse_report() 844 static void nsg_mrxu_parse_report(struct sony_sc *sc, u8 *rd, int size) in nsg_mrxu_parse_report() 921 struct sony_sc *sc = hid_get_drvdata(hdev); in sony_raw_event() local 967 struct sony_sc *sc = hid_get_drvdata(hdev); in sony_mapping() local 1008 static int sony_register_touchpad(struct sony_sc *sc, int touch_count, in sony_register_touchpad() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 519 static void cr_group_addresses(struct send_context *sc, dma_addr_t *dma) in cr_group_addresses() 535 struct send_context *sc; in sc_halted() local 551 u32 sc_mtu_to_threshold(struct send_context *sc, u32 mtu, u32 hdrqentsize) in sc_mtu_to_threshold() 576 u32 sc_percent_to_threshold(struct send_context *sc, u32 percent) in sc_percent_to_threshold() 584 void sc_set_cr_threshold(struct send_context *sc, u32 new_threshold) in sc_set_cr_threshold() 621 void set_pio_integrity(struct send_context *sc) in set_pio_integrity() 632 static u32 get_buffers_allocated(struct send_context *sc) in get_buffers_allocated() 642 static void reset_buffers_allocated(struct send_context *sc) in reset_buffers_allocated() 658 struct send_context *sc = NULL; in sc_alloc() local 836 void sc_free(struct send_context *sc) in sc_free() [all …]
|