/linux-4.4.14/drivers/net/wan/lmc/ |
D | lmc_media.c | 157 lmc_dummy_set_1 (lmc_softc_t * const sc, int a) in lmc_dummy_set_1() argument 162 lmc_dummy_set2_1 (lmc_softc_t * const sc, lmc_ctl_t * a) in lmc_dummy_set2_1() argument 171 lmc_hssi_init (lmc_softc_t * const sc) in lmc_hssi_init() argument 173 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200; in lmc_hssi_init() 175 lmc_gpio_mkoutput (sc, LMC_GEP_HSSI_CLOCK); in lmc_hssi_init() 179 lmc_hssi_default (lmc_softc_t * const sc) in lmc_hssi_default() argument 181 sc->lmc_miireg16 = LMC_MII16_LED_ALL; in lmc_hssi_default() 183 sc->lmc_media->set_link_status (sc, LMC_LINK_DOWN); in lmc_hssi_default() 184 sc->lmc_media->set_clock_source (sc, LMC_CTL_CLOCK_SOURCE_EXT); in lmc_hssi_default() 185 sc->lmc_media->set_crc_length (sc, LMC_CTL_CRC_LENGTH_16); in lmc_hssi_default() [all …]
|
D | lmc_main.c | 98 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size); 103 static void lmc_reset(lmc_softc_t * const sc); 104 static void lmc_dec_reset(lmc_softc_t * const sc); 113 lmc_softc_t *sc = dev_to_sc(dev); in lmc_ioctl() local 132 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) in lmc_ioctl() 154 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_ioctl() 155 sc->lmc_media->set_status (sc, &ctl); in lmc_ioctl() 157 if(ctl.crc_length != sc->ictl.crc_length) { in lmc_ioctl() 158 sc->lmc_media->set_crc_length(sc, ctl.crc_length); in lmc_ioctl() 159 if (sc->ictl.crc_length == LMC_CTL_CRC_LENGTH_16) in lmc_ioctl() [all …]
|
D | lmc_proto.c | 50 void lmc_proto_attach(lmc_softc_t *sc) /*FOLD00*/ in lmc_proto_attach() argument 52 lmc_trace(sc->lmc_device, "lmc_proto_attach in"); in lmc_proto_attach() 53 if (sc->if_type == LMC_NET) { in lmc_proto_attach() 54 struct net_device *dev = sc->lmc_device; in lmc_proto_attach() 62 lmc_trace(sc->lmc_device, "lmc_proto_attach out"); in lmc_proto_attach() 65 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd) in lmc_proto_ioctl() argument 67 lmc_trace(sc->lmc_device, "lmc_proto_ioctl"); in lmc_proto_ioctl() 68 if (sc->if_type == LMC_PPP) in lmc_proto_ioctl() 69 return hdlc_ioctl(sc->lmc_device, ifr, cmd); in lmc_proto_ioctl() 73 int lmc_proto_open(lmc_softc_t *sc) in lmc_proto_open() argument [all …]
|
D | lmc_proto.h | 6 void lmc_proto_attach(lmc_softc_t *sc); 7 int lmc_proto_ioctl(lmc_softc_t *sc, struct ifreq *ifr, int cmd); 8 int lmc_proto_open(lmc_softc_t *sc); 9 void lmc_proto_close(lmc_softc_t *sc); 10 __be16 lmc_proto_type(lmc_softc_t *sc, struct sk_buff *skb); 11 void lmc_proto_netif(lmc_softc_t *sc, struct sk_buff *skb);
|
D | lmc.h | 10 unsigned lmc_mii_readreg(lmc_softc_t * const sc, unsigned 12 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr, 18 void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits); 19 void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits);
|
D | lmc_var.h | 33 #define LMC_PRINTF_ARGS (sc->lmc_device->name) 44 #define LMC_CSR_READ(sc, csr) \ argument 45 inl((sc)->lmc_csrs.csr) 46 #define LMC_CSR_WRITE(sc, reg, val) \ argument 47 outl((val), (sc)->lmc_csrs.reg) 57 #define lmc_delay() inl(sc->lmc_csrs.csr_9) 60 #define LMC_MII_SYNC(sc) do {int n=32; while( n >= 0 ) { \ argument 61 LMC_CSR_WRITE((sc), csr_9, 0x20000); \ 63 LMC_CSR_WRITE((sc), csr_9, 0x30000); \
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 23 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() 46 ath_update_survey_stats(sc); in ath_set_channel() 56 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 57 if (sc->cur_survey) in ath_set_channel() 58 sc->cur_survey->filled &= ~SURVEY_INFO_IN_USE; in ath_set_channel() 60 sc->cur_survey = &sc->survey[pos]; in ath_set_channel() 62 memset(sc->cur_survey, 0, sizeof(struct survey_info)); in ath_set_channel() [all …]
|
D | main.c | 57 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() argument 75 list = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 84 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() argument 89 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower() 90 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() 91 spin_unlock_irqrestore(&sc->sc_pm_lock, flags); in ath9k_setpower() 98 struct ath_softc *sc = (struct ath_softc *) data; in ath_ps_full_sleep() local 99 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep() 106 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep() 107 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep() [all …]
|
D | recv.c | 23 static inline bool ath9k_check_auto_sleep(struct ath_softc *sc) in ath9k_check_auto_sleep() argument 25 return sc->ps_enabled && in ath9k_check_auto_sleep() 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument 40 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link() 63 if (sc->rx.rxlink) in ath_rx_buf_link() 64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link() 68 sc->rx.rxlink = &ds->ds_link; in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument 74 if (sc->rx.buf_hold) in ath_rx_buf_relink() [all …]
|
D | beacon.c | 22 static void ath9k_reset_beacon_status(struct ath_softc *sc) in ath9k_reset_beacon_status() argument 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 33 static void ath9k_beaconq_config(struct ath_softc *sc) in ath9k_beaconq_config() argument 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 50 txq = sc->tx.txq_map[IEEE80211_AC_BE]; in ath9k_beaconq_config() 60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config() [all …]
|
D | gpio.c | 27 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local 30 if (sc->sc_ah->config.led_active_high) in ath_led_brightness() 33 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 36 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument 38 if (!sc->led_registered) in ath_deinit_leds() 41 ath_led_brightness(&sc->led_cdev, LED_OFF); in ath_deinit_leds() 42 led_classdev_unregister(&sc->led_cdev); in ath_deinit_leds() 45 void ath_init_leds(struct ath_softc *sc) in ath_init_leds() argument 49 if (AR_SREV_9100(sc->sc_ah)) in ath_init_leds() 53 sc->led_cdev.default_trigger = in ath_init_leds() [all …]
|
D | tx99.c | 19 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 …]
|
D | init.c | 93 static void ath9k_deinit_softc(struct ath_softc *sc); 120 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_iowrite32() local 124 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_iowrite32() 125 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32() 126 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_iowrite32() 128 iowrite32(val, sc->mem + reg_offset); in ath9k_iowrite32() 135 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath9k_ioread32() local 140 spin_lock_irqsave(&sc->sc_serial_rw, flags); in ath9k_ioread32() 141 val = ioread32(sc->mem + reg_offset); in ath9k_ioread32() 142 spin_unlock_irqrestore(&sc->sc_serial_rw, flags); in ath9k_ioread32() [all …]
|
D | ath9k.h | 74 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, 82 #define ATH_TXQ_SETUP(sc, i) ((sc)->tx.txqsetup & (1<<i)) argument 252 struct ath_softc *sc; member 426 for (ctx = &sc->chanctx[0]; \ 427 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ 430 void ath_chanctx_init(struct ath_softc *sc); 431 void ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, 445 void ath9k_init_channel_context(struct ath_softc *sc); 446 void ath9k_offchannel_init(struct ath_softc *sc); 447 void ath9k_deinit_channel_context(struct ath_softc *sc); [all …]
|
D | link.c | 25 struct ath_softc *sc = container_of(work, struct ath_softc, in ath_tx_complete_poll_work() local 32 if (sc->tx99_state) { in ath_tx_complete_poll_work() 33 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 39 txq = sc->tx.txq_map[i]; in ath_tx_complete_poll_work() 41 ath_txq_lock(sc, txq); in ath_tx_complete_poll_work() 45 ath_txq_unlock(sc, txq); in ath_tx_complete_poll_work() 51 ath_txq_unlock(sc, txq); in ath_tx_complete_poll_work() 55 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 57 ath9k_queue_reset(sc, RESET_TYPE_TX_HANG); in ath_tx_complete_poll_work() 61 ieee80211_queue_delayed_work(sc->hw, &sc->tx_complete_work, in ath_tx_complete_poll_work() [all …]
|
D | wow.c | 33 static u8 ath9k_wow_map_triggers(struct ath_softc *sc, in ath9k_wow_map_triggers() argument 50 static int ath9k_wow_add_disassoc_deauth_pattern(struct ath_softc *sc) in ath9k_wow_add_disassoc_deauth_pattern() argument 52 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_disassoc_deauth_pattern() 138 static int ath9k_wow_add_pattern(struct ath_softc *sc, in ath9k_wow_add_pattern() argument 141 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_pattern() 170 struct ath_softc *sc = hw->priv; in ath9k_suspend() local 171 struct ath_hw *ah = sc->sc_ah; in ath9k_suspend() 176 ath9k_deinit_channel_context(sc); in ath9k_suspend() 178 mutex_lock(&sc->mutex); in ath9k_suspend() 192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend() [all …]
|
D | debug.c | 29 void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause) in ath9k_debug_sync_cause() argument 32 sc->debug.stats.istats.sync_cause_all++; in ath9k_debug_sync_cause() 34 sc->debug.stats.istats.sync_rtc_irq++; in ath9k_debug_sync_cause() 36 sc->debug.stats.istats.sync_mac_irq++; in ath9k_debug_sync_cause() 38 sc->debug.stats.istats.eeprom_illegal_access++; in ath9k_debug_sync_cause() 40 sc->debug.stats.istats.apb_timeout++; in ath9k_debug_sync_cause() 42 sc->debug.stats.istats.pci_mode_conflict++; in ath9k_debug_sync_cause() 44 sc->debug.stats.istats.host1_fatal++; in ath9k_debug_sync_cause() 46 sc->debug.stats.istats.host1_perr++; in ath9k_debug_sync_cause() 48 sc->debug.stats.istats.trcv_fifo_perr++; in ath9k_debug_sync_cause() [all …]
|
D | xmit.c | 50 static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, 52 static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb, 54 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 57 static void ath_tx_txqaddbuf(struct ath_softc *sc, struct ath_txq *txq, 59 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 62 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, 64 static struct ath_buf *ath_tx_setup_buffer(struct ath_softc *sc, 80 void ath_txq_lock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_lock() argument 86 void ath_txq_unlock(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock() argument 92 void ath_txq_unlock_complete(struct ath_softc *sc, struct ath_txq *txq) in ath_txq_unlock_complete() argument [all …]
|
D | mci.c | 119 static void ath_mci_update_scheme(struct ath_softc *sc) in ath_mci_update_scheme() argument 121 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_mci_update_scheme() 122 struct ath_btcoex *btcoex = &sc->btcoex; in ath_mci_update_scheme() 124 struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; in ath_mci_update_scheme() 160 btcoex->duty_cycle = AR_SREV_9565(sc->sc_ah) ? 40 : 35; in ath_mci_update_scheme() 186 if (IS_CHAN_2GHZ(sc->sc_ah->curchan)) { in ath_mci_update_scheme() 187 if (IS_CHAN_HT(sc->sc_ah->curchan)) in ath_mci_update_scheme() 193 ath9k_btcoex_timer_pause(sc); in ath_mci_update_scheme() 194 ath9k_hw_btcoex_disable(sc->sc_ah); in ath_mci_update_scheme() 196 if (IS_CHAN_5GHZ(sc->sc_ah->curchan)) in ath_mci_update_scheme() [all …]
|
D | dfs_debug.c | 29 sc->debug.stats.dfs_stats.p); 37 struct ath_softc *sc = file->private_data; in read_file_dfs() local 38 struct ath9k_hw_version *hw_ver = &sc->sc_ah->hw_version; in read_file_dfs() 50 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS) ? in read_file_dfs() 53 if (!sc->dfs_detector) { in read_file_dfs() 59 dfs_pool_stats = sc->dfs_detector->get_stats(sc->dfs_detector); in read_file_dfs() 73 sc->dfs_detector->region); in read_file_dfs() 100 struct ath_softc *sc = file->private_data; in write_file_dfs() local 114 memset(&sc->debug.stats.dfs_stats, 0, in write_file_dfs() 115 sizeof(sc->debug.stats.dfs_stats)); in write_file_dfs() [all …]
|
D | ahb.c | 61 struct ath_softc *sc = (struct ath_softc *)common->priv; in ath_ahb_eeprom_read() local 62 struct platform_device *pdev = to_platform_device(sc->dev); in ath_ahb_eeprom_read() 86 struct ath_softc *sc; in ath_ahb_probe() local 130 sc = hw->priv; in ath_ahb_probe() 131 sc->hw = hw; in ath_ahb_probe() 132 sc->dev = &pdev->dev; in ath_ahb_probe() 133 sc->mem = mem; in ath_ahb_probe() 134 sc->irq = irq; in ath_ahb_probe() 136 ret = request_irq(irq, ath_isr, IRQF_SHARED, "ath9k", sc); in ath_ahb_probe() 142 ret = ath9k_init_device(id->driver_data, sc, &ath_ahb_bus_ops); in ath_ahb_probe() [all …]
|
D | debug.h | 28 #define TX_STAT_INC(q, c) sc->debug.stats.txstats[q].c++ 29 #define RX_STAT_INC(c) (sc->debug.stats.rxstats.c++) 30 #define RESET_STAT_INC(sc, type) sc->debug.stats.reset[type]++ argument 31 #define ANT_STAT_INC(i, c) sc->debug.stats.ant_stats[i].c++ 32 #define ANT_LNA_INC(i, c) sc->debug.stats.ant_stats[i].lna_recv_cnt[c]++; 36 #define RESET_STAT_INC(sc, type) do { } while (0) argument 197 #define PR_QNUM(_n) sc->tx.txq_map[_n]->axq_qnum 198 #define TXSTATS sc->debug.stats.txstats 252 void ath9k_deinit_debug(struct ath_softc *sc); 254 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); [all …]
|
D | dfs.c | 100 static bool ath9k_check_chirping(struct ath_softc *sc, u8 *data, in ath9k_check_chirping() argument 105 struct ath_hw *ah = sc->sc_ah; in ath9k_check_chirping() 202 ath9k_postprocess_radar_event(struct ath_softc *sc, in ath9k_postprocess_radar_event() argument 219 DFS_STAT_INC(sc, pri_phy_errors); in ath9k_postprocess_radar_event() 229 DFS_STAT_INC(sc, ext_phy_errors); in ath9k_postprocess_radar_event() 248 DFS_STAT_INC(sc, dc_phy_errors); in ath9k_postprocess_radar_event() 258 DFS_STAT_INC(sc, bwinfo_discards); in ath9k_postprocess_radar_event() 263 DFS_STAT_INC(sc, rssi_discards); in ath9k_postprocess_radar_event() 268 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event() 271 DFS_STAT_INC(sc, pulses_detected); in ath9k_postprocess_radar_event() [all …]
|
D | pci.c | 771 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_read_cachesize() local 774 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); in ath_pci_read_cachesize() 789 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_eeprom_read() local 790 struct ath9k_platform_data *pdata = sc->dev->platform_data; in ath_pci_eeprom_read() 824 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_aspm_init() local 825 struct ath_hw *ah = sc->sc_ah; in ath_pci_aspm_init() 826 struct pci_dev *pdev = to_pci_dev(sc->dev); in ath_pci_aspm_init() 888 struct ath_softc *sc; in ath_pci_probe() local 959 sc = hw->priv; in ath_pci_probe() 960 sc->hw = hw; in ath_pci_probe() [all …]
|
D | mci.h | 154 int ath_mci_setup(struct ath_softc *sc); 155 void ath_mci_cleanup(struct ath_softc *sc); 156 void ath_mci_intr(struct ath_softc *sc); 157 void ath9k_mci_update_rssi(struct ath_softc *sc); 160 void ath_mci_enable(struct ath_softc *sc); 161 void ath9k_mci_update_wlan_channels(struct ath_softc *sc, bool allow_all); 162 void ath9k_mci_set_txpower(struct ath_softc *sc, bool setchannel, 165 static inline void ath_mci_enable(struct ath_softc *sc) in ath_mci_enable() argument 168 static inline void ath9k_mci_update_wlan_channels(struct ath_softc *sc, in ath9k_mci_update_wlan_channels() argument 172 static inline void ath9k_mci_set_txpower(struct ath_softc *sc, bool setchannel, in ath9k_mci_set_txpower() argument
|
D | dfs_debug.h | 58 #define DFS_STAT_INC(sc, c) (sc->debug.stats.dfs_stats.c++) argument 59 void ath9k_dfs_init_debug(struct ath_softc *sc); 65 #define DFS_STAT_INC(sc, c) do { } while (0) argument 66 static inline void ath9k_dfs_init_debug(struct ath_softc *sc) { } in ath9k_dfs_init_debug() argument
|
D | debug_sta.c | 27 struct ath_softc *sc = an->sc; in read_file_node_aggr() local 58 ath_txq_lock(sc, txq); in read_file_node_aggr() 71 ath_txq_unlock(sc, txq); in read_file_node_aggr() 91 void ath_debug_rate_stats(struct ath_softc *sc, in ath_debug_rate_stats() argument 96 struct ath_hw *ah = sc->sc_ah; in ath_debug_rate_stats() 107 sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL); in ath_debug_rate_stats() 172 struct ath_softc *sc = an->sc; in read_file_node_recv() local 173 struct ath_hw *ah = sc->sc_ah; in read_file_node_recv()
|
D | dfs.h | 37 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, 41 ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, in ath9k_dfs_process_phyerr() argument
|
D | antenna.c | 721 void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs) in ath_ant_comb_scan() argument 724 struct ath_ant_comb *antcomb = &sc->ant_comb; in ath_ant_comb_scan() 781 ath9k_hw_antdiv_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_ant_comb_scan() 840 ath9k_hw_antdiv_comb_conf_set(sc->sc_ah, &div_ant_conf); in ath_ant_comb_scan() 841 ath9k_debug_stat_ant(sc, &div_ant_conf, main_rssi_avg, alt_rssi_avg); in ath_ant_comb_scan()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | pio.c | 62 static void sc_wait_for_packet_egress(struct send_context *sc, int pause); 543 static void cr_group_addresses(struct send_context *sc, dma_addr_t *pa) in cr_group_addresses() argument 545 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses() 546 u32 index = sc->hw_context & 0x7; in cr_group_addresses() 548 sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; in cr_group_addresses() 550 &((struct credit_return *)sc->dd->cr_base[sc->node].pa)[gc]; in cr_group_addresses() 559 struct send_context *sc; in sc_halted() local 561 sc = container_of(work, struct send_context, halt_work); in sc_halted() 562 sc_restart(sc); in sc_halted() 575 u32 sc_mtu_to_threshold(struct send_context *sc, u32 mtu, u32 hdrqentsize) in sc_mtu_to_threshold() argument [all …]
|
D | pio.h | 84 struct send_context *sc;/* back pointer to owning send context */ member 144 struct send_context *sc; /* allocated working context */ member 177 void sc_free(struct send_context *sc); 178 int sc_enable(struct send_context *sc); 179 void sc_disable(struct send_context *sc); 180 int sc_restart(struct send_context *sc); 181 void sc_return_credits(struct send_context *sc); 182 void sc_flush(struct send_context *sc); 183 void sc_drop(struct send_context *sc); 184 void sc_stop(struct send_context *sc, int bit); [all …]
|
D | diag.c | 374 struct send_context *sc; in diagpkt_send() local 424 sc = dd->send_contexts[dp->sw_index].sc; in diagpkt_send() 425 if (!sc) { in diagpkt_send() 430 if (!(sc->flags & SCF_ENABLED)) { in diagpkt_send() 482 sc_add_credit_return_intr(sc); in diagpkt_send() 496 pbuf = sc_buffer_alloc(sc, total_len, credit_cb, credit_arg); in diagpkt_send() 504 sc_del_credit_return_intr(sc); in diagpkt_send() 539 sc_del_credit_return_intr(sc); in diagpkt_send() 551 struct send_context *sc; in diagpkt_write() local 571 sc = dd->vld[vl].sc; in diagpkt_write() [all …]
|
D | file_ops.c | 322 if (uctxt && uctxt->sc) in hfi1_file_write() 323 sc_return_credits(uctxt->sc); in hfi1_file_write() 362 struct send_context *sc; in hfi1_file_write() local 365 if (!uctxt || !uctxt->dd || !uctxt->sc) { in hfi1_file_write() 377 sc = uctxt->sc; in hfi1_file_write() 384 sc->halt_wait, (sc->flags & SCF_HALTED), in hfi1_file_write() 386 if (!(sc->flags & SCF_HALTED)) { in hfi1_file_write() 395 if (sc->flags & SCF_FROZEN) { in hfi1_file_write() 410 sc_disable(sc); in hfi1_file_write() 411 ret = sc_enable(sc); in hfi1_file_write() [all …]
|
D | trace.h | 246 TP_PROTO(struct send_context *sc, int extra), 247 TP_ARGS(sc, extra), 249 DD_DEV_ENTRY(sc->dd) 255 DD_DEV_ASSIGN(sc->dd); 256 __entry->sw_index = sc->sw_index; 257 __entry->hw_context = sc->hw_context; 270 TP_PROTO(struct send_context *sc, u32 needint, u64 credit_ctrl), 271 TP_ARGS(sc, needint, credit_ctrl), 273 DD_DEV_ENTRY(sc->dd) 280 DD_DEV_ASSIGN(sc->dd); [all …]
|
D | init.c | 163 rcd->sc = sc_alloc(dd, SC_ACK, rcd->rcvhdrqentsize, dd->node); in hfi1_create_ctxts() 164 if (!rcd->sc) { in hfi1_create_ctxts() 172 ret = hfi1_init_ctxt(rcd->sc); in hfi1_create_ctxts() 176 sc_free(rcd->sc); in hfi1_create_ctxts() 560 sc_disable(dd->send_contexts[i].sc); in init_after_reset() 588 sc_enable(dd->rcd[i]->sc); in enable_chip() 870 sc_flush(dd->send_contexts[i].sc); in shutdown_device() 884 sc_disable(dd->send_contexts[i].sc); in shutdown_device() 944 sc_free(rcd->sc); in hfi1_free_ctxtdata() 1281 sc_free(dd->send_contexts[ctxt].sc); in cleanup_device_data()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_scsi.c | 36 #define snic_cmd_tag(sc) (((struct scsi_cmnd *) sc)->request->tag) argument 112 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument 114 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash() 129 struct scsi_cmnd *sc) in snic_release_req_buf() argument 134 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf() 135 (CMD_STATE(sc) == SNIC_IOREQ_ABTS_COMPLETE) || in snic_release_req_buf() 136 (CMD_FLAGS(sc) & SNIC_DEV_RST_NOTSUP) || in snic_release_req_buf() 137 (CMD_FLAGS(sc) & SNIC_IO_INTERNAL_TERM_ISSUED) || in snic_release_req_buf() 138 (CMD_FLAGS(sc) & SNIC_DEV_RST_TERM_ISSUED) || in snic_release_req_buf() 139 (CMD_FLAGS(sc) & SNIC_SCSI_CLEANUP) || in snic_release_req_buf() [all …]
|
D | snic_trc.h | 112 #define SNIC_TRC_CMD(sc) \ argument 113 ((u64)sc->cmnd[0] << 56 | (u64)sc->cmnd[7] << 40 | \ 114 (u64)sc->cmnd[8] << 32 | (u64)sc->cmnd[2] << 24 | \ 115 (u64)sc->cmnd[3] << 16 | (u64)sc->cmnd[4] << 8 | \ 116 (u64)sc->cmnd[5]) 118 #define SNIC_TRC_CMD_STATE_FLAGS(sc) \ argument 119 ((u64) CMD_FLAGS(sc) << 32 | CMD_STATE(sc))
|
/linux-4.4.14/drivers/usb/atm/ |
D | ueagle-atm.c | 296 #define IS_OPERATIONAL(sc) \ argument 297 ((UEA_CHIP_VERSION(sc) != EAGLE_IV) ? \ 298 (GET_STATUS(sc->stats.phy.state) == 2) : \ 299 (sc->stats.phy.state == 7)) 590 #define uea_wait(sc, cond, timeo) \ argument 592 int _r = wait_event_interruptible_timeout(sc->sync_q, \ 601 if (sc->usbatm->atm_dev) \ 602 sc->usbatm->atm_dev->type = val; \ 607 if (sc->usbatm->atm_dev) \ 608 atm_dev_signal_change(sc->usbatm->atm_dev, val); \ [all …]
|
/linux-4.4.14/drivers/hid/ |
D | hid-sony.c | 1117 struct sony_sc *sc = hid_get_drvdata(hdev); in sony_report_fixup() local 1123 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup() 1140 if ((sc->quirks & DUALSHOCK4_CONTROLLER_USB) && *rsize == 467) { in sony_report_fixup() 1144 } else if ((sc->quirks & DUALSHOCK4_CONTROLLER_BT) && *rsize == 357) { in sony_report_fixup() 1150 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_report_fixup() 1153 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup() 1156 if (sc->quirks & NAVIGATION_CONTROLLER) in sony_report_fixup() 1159 if (sc->quirks & PS3REMOTE) in sony_report_fixup() 1165 static void sixaxis_parse_report(struct sony_sc *sc, __u8 *rd, int size) in sixaxis_parse_report() argument 1178 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-stripe.c | 52 struct stripe_c *sc = container_of(work, struct stripe_c, in trigger_event() local 54 dm_table_event(sc->ti->table); in trigger_event() 73 static int get_stripe(struct dm_target *ti, struct stripe_c *sc, in get_stripe() argument 84 &sc->stripe[stripe].dev); in get_stripe() 88 sc->stripe[stripe].physical_start = start; in get_stripe() 99 struct stripe_c *sc; in stripe_ctr() local 144 sc = alloc_context(stripes); in stripe_ctr() 145 if (!sc) { in stripe_ctr() 151 INIT_WORK(&sc->trigger_event, trigger_event); in stripe_ctr() 154 sc->ti = ti; in stripe_ctr() [all …]
|
/linux-4.4.14/drivers/clk/qcom/ |
D | gdsc.c | 45 static int gdsc_is_enabled(struct gdsc *sc) in gdsc_is_enabled() argument 50 ret = regmap_read(sc->regmap, sc->gdscr, &val); in gdsc_is_enabled() 57 static int gdsc_toggle_logic(struct gdsc *sc, bool en) in gdsc_toggle_logic() argument 64 ret = regmap_update_bits(sc->regmap, sc->gdscr, SW_COLLAPSE_MASK, val); in gdsc_toggle_logic() 70 ret = regmap_read(sc->regmap, sc->gdscr, &val); in gdsc_toggle_logic() 78 ret = regmap_read(sc->regmap, sc->gdscr, &val); in gdsc_toggle_logic() 88 static inline int gdsc_deassert_reset(struct gdsc *sc) in gdsc_deassert_reset() argument 92 for (i = 0; i < sc->reset_count; i++) in gdsc_deassert_reset() 93 sc->rcdev->ops->deassert(sc->rcdev, sc->resets[i]); in gdsc_deassert_reset() 97 static inline int gdsc_assert_reset(struct gdsc *sc) in gdsc_assert_reset() argument [all …]
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_scsi.c | 107 struct scsi_cmnd *sc) in fnic_io_lock_hash() argument 109 u32 hash = sc->request->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash() 126 struct scsi_cmnd *sc) in fnic_release_ioreq_buf() argument 132 scsi_dma_unmap(sc); in fnic_release_ioreq_buf() 320 struct scsi_cmnd *sc, in fnic_queue_wq_copy_desc() argument 324 struct fc_rport *rport = starget_to_rport(scsi_target(sc->device)); in fnic_queue_wq_copy_desc() 338 for_each_sg(scsi_sglist(sc), sg, sg_count, i) { in fnic_queue_wq_copy_desc() 359 sc->sense_buffer, in fnic_queue_wq_copy_desc() 372 int_to_scsilun(sc->device->lun, &fc_lun); in fnic_queue_wq_copy_desc() 389 if (sc->sc_data_direction == DMA_FROM_DEVICE) in fnic_queue_wq_copy_desc() [all …]
|
/linux-4.4.14/arch/ia64/hp/sim/ |
D | simscsi.c | 68 struct scsi_cmnd *sc; member 101 struct scsi_cmnd *sc; in simscsi_interrupt() local 103 while ((sc = queue[rd].sc) != NULL) { in simscsi_interrupt() 105 queue[rd].sc = NULL; in simscsi_interrupt() 107 printk("simscsi_interrupt: done with %ld\n", sc->serial_number); in simscsi_interrupt() 108 (*sc->scsi_done)(sc); in simscsi_interrupt() 124 simscsi_sg_readwrite (struct scsi_cmnd *sc, int mode, unsigned long offset) in simscsi_sg_readwrite() argument 131 stat.fd = desc[sc->device->id]; in simscsi_sg_readwrite() 133 scsi_for_each_sg(sc, sl, scsi_sg_count(sc), i) { in simscsi_sg_readwrite() 139 scsi_sg_count(sc) - i, sl->length); in simscsi_sg_readwrite() [all …]
|
/linux-4.4.14/drivers/dma/sh/ |
D | sudmac.c | 54 #define to_sdev(sc) container_of(sc->shdma_chan.dma_chan.device, \ argument 82 static void sudmac_writel(struct sudmac_chan *sc, u32 data, u32 reg) in sudmac_writel() argument 84 iowrite32(data, sc->base + reg); in sudmac_writel() 87 static u32 sudmac_readl(struct sudmac_chan *sc, u32 reg) in sudmac_readl() argument 89 return ioread32(sc->base + reg); in sudmac_readl() 92 static bool sudmac_is_busy(struct sudmac_chan *sc) in sudmac_is_busy() argument 94 u32 den = sudmac_readl(sc, SUDMAC_CH0DEN + sc->offset); in sudmac_is_busy() 102 static void sudmac_set_reg(struct sudmac_chan *sc, struct sudmac_regs *hw, in sudmac_set_reg() argument 105 sudmac_writel(sc, sc->cfg, SUDMAC_CH0CFG + sc->offset); in sudmac_set_reg() 106 sudmac_writel(sc, hw->base_addr, SUDMAC_CH0BA + sc->offset); in sudmac_set_reg() [all …]
|
D | rcar-hpbdma.c | 125 #define to_dev(sc) container_of(sc->shdma_chan.dma_chan.device, \ argument 461 const struct hpb_dmae_slave_config *sc = in hpb_dmae_set_slave() local 464 if (!sc) in hpb_dmae_set_slave() 468 chan->cfg = sc; in hpb_dmae_set_slave() 469 chan->slave_addr = slave_addr ? : sc->addr; in hpb_dmae_set_slave() 470 return hpb_dmae_alloc_chan_resources(chan, sc); in hpb_dmae_set_slave()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | tcp.c | 77 #define SC_NODEF_ARGS(sc) sc->sc_node->nd_name, sc->sc_node->nd_num, \ argument 78 &sc->sc_node->nd_ipv4_address, \ 79 ntohs(sc->sc_node->nd_ipv4_port) 96 #define sclog(sc, fmt, args...) do { \ argument 97 typeof(sc) __sc = (sc); \ 143 static void o2net_sc_postpone_idle(struct o2net_sock_container *sc); 144 static void o2net_sc_reset_idle_timer(struct o2net_sock_container *sc); 173 struct o2net_sock_container *sc) in o2net_set_nst_sock_container() argument 175 nst->st_sc = sc; in o2net_set_nst_sock_container() 184 static inline void o2net_set_sock_timer(struct o2net_sock_container *sc) in o2net_set_sock_timer() argument [all …]
|
D | netdebug.c | 213 void o2net_debug_add_sc(struct o2net_sock_container *sc) in o2net_debug_add_sc() argument 216 list_add(&sc->sc_net_debug_item, &sock_containers); in o2net_debug_add_sc() 220 void o2net_debug_del_sc(struct o2net_sock_container *sc) in o2net_debug_del_sc() argument 223 list_del_init(&sc->sc_net_debug_item); in o2net_debug_del_sc() 235 struct o2net_sock_container *sc, *ret = NULL; in next_sc() local 239 list_for_each_entry(sc, &sc_start->sc_net_debug_item, in next_sc() 242 if (&sc->sc_net_debug_item == &sock_containers) in next_sc() 246 if (sc->sc_page != NULL) { in next_sc() 247 ret = sc; in next_sc() 258 struct o2net_sock_container *sc, *dummy_sc = sd->dbg_sock; in sc_seq_start() local [all …]
|
D | tcp.h | 131 void o2net_debug_add_sc(struct o2net_sock_container *sc); 132 void o2net_debug_del_sc(struct o2net_sock_container *sc); 147 static inline void o2net_debug_add_sc(struct o2net_sock_container *sc) in o2net_debug_add_sc() argument 150 static inline void o2net_debug_del_sc(struct o2net_sock_container *sc) in o2net_debug_del_sc() argument
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.c | 50 struct octeon_soft_command *sc; in octeon_alloc_soft_command_resp() local 55 sc = (struct octeon_soft_command *) in octeon_alloc_soft_command_resp() 58 if (!sc) in octeon_alloc_soft_command_resp() 62 memcpy(&sc->cmd, cmd, sizeof(struct octeon_instr_64B)); in octeon_alloc_soft_command_resp() 67 ih = (struct octeon_instr_ih *)&sc->cmd.ih; in octeon_alloc_soft_command_resp() 70 irh = (struct octeon_instr_irh *)&sc->cmd.irh; in octeon_alloc_soft_command_resp() 74 rdp = (struct octeon_instr_rdp *)&sc->cmd.rdp; in octeon_alloc_soft_command_resp() 78 *sc->status_word = COMPLETION_WORD_INIT; in octeon_alloc_soft_command_resp() 80 sc->wait_time = 1000; in octeon_alloc_soft_command_resp() 81 sc->timeout = jiffies + sc->wait_time; in octeon_alloc_soft_command_resp() [all …]
|
D | request_manager.c | 374 struct octeon_soft_command *sc; in lio_process_iq_request_list() local 395 sc = buf; in lio_process_iq_request_list() 397 irh = (struct octeon_instr_irh *)&sc->cmd.irh; in lio_process_iq_request_list() 410 list_add_tail(&sc->node, &oct->response_list in lio_process_iq_request_list() 415 if (sc->callback) { in lio_process_iq_request_list() 416 sc->callback(oct, OCTEON_REQUEST_DONE, in lio_process_iq_request_list() 417 sc->callback_arg); in lio_process_iq_request_list() 552 struct octeon_soft_command *sc, in octeon_prepare_soft_command() argument 569 ih = (struct octeon_instr_ih *)&sc->cmd.ih; in octeon_prepare_soft_command() 575 if (sc->datasize) { in octeon_prepare_soft_command() [all …]
|
D | response_manager.c | 83 struct octeon_soft_command *sc; in lio_process_ordered_list() local 104 sc = (struct octeon_soft_command *)ordered_sc_list-> in lio_process_ordered_list() 106 rdp = (struct octeon_instr_rdp *)&sc->cmd.rdp; in lio_process_ordered_list() 114 sc->cmd.rptr, rdp->rlen, in lio_process_ordered_list() 116 status64 = *sc->status_word; in lio_process_ordered_list() 126 } else if (force_quit || (sc->timeout && in lio_process_ordered_list() 127 time_after(jiffies, (unsigned long)sc->timeout))) { in lio_process_ordered_list() 134 list_del(&sc->node); in lio_process_ordered_list() 141 if (sc->callback) in lio_process_ordered_list() 142 sc->callback(octeon_dev, status, in lio_process_ordered_list() [all …]
|
D | lio_ethtool.c | 258 struct octeon_soft_command *sc = (struct octeon_soft_command *)buf; in octnet_mdio_resp_callback() local 260 mdio_cmd_rsp = (struct oct_mdio_cmd_resp *)sc->virtrptr; in octnet_mdio_resp_callback() 261 mdio_cmd_ctx = (struct oct_mdio_cmd_context *)sc->ctxptr; in octnet_mdio_resp_callback() 281 struct octeon_soft_command *sc; in octnet_mdio45_access() local 287 sc = (struct octeon_soft_command *) in octnet_mdio45_access() 293 if (!sc) in octnet_mdio45_access() 296 mdio_cmd_ctx = (struct oct_mdio_cmd_context *)sc->ctxptr; in octnet_mdio45_access() 297 mdio_cmd_rsp = (struct oct_mdio_cmd_resp *)sc->virtrptr; in octnet_mdio45_access() 298 mdio_cmd = (struct oct_mdio_cmd *)sc->virtdptr; in octnet_mdio45_access() 309 octeon_prepare_soft_command(oct_dev, sc, OPCODE_NIC, OPCODE_NIC_MDIO45, in octnet_mdio45_access() [all …]
|
D | lio_main.c | 189 struct octeon_soft_command *sc; member 276 struct octeon_soft_command *sc; in octeon_update_tx_completion_counters() local 287 sc = buf; in octeon_update_tx_completion_counters() 288 skb = sc->callback_arg; in octeon_update_tx_completion_counters() 303 struct octeon_soft_command *sc; in octeon_report_sent_bytes_to_bql() local 315 sc = buf; in octeon_report_sent_bytes_to_bql() 316 skb = sc->callback_arg; in octeon_report_sent_bytes_to_bql() 1424 struct octeon_soft_command *sc; in free_netsgbuf_with_resp() local 1431 sc = (struct octeon_soft_command *)buf; in free_netsgbuf_with_resp() 1432 skb = (struct sk_buff *)sc->callback_arg; in free_netsgbuf_with_resp() [all …]
|
D | octeon_iq.h | 266 struct octeon_soft_command *sc); 308 struct octeon_soft_command *sc, 314 struct octeon_soft_command *sc);
|
/linux-4.4.14/arch/alpha/kernel/ |
D | signal.c | 125 struct sigcontext sc; member 147 restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) in restore_sigcontext() argument 151 long i, err = __get_user(regs->pc, &sc->sc_pc); in restore_sigcontext() 157 err |= __get_user(regs->r0, sc->sc_regs+0); in restore_sigcontext() 158 err |= __get_user(regs->r1, sc->sc_regs+1); in restore_sigcontext() 159 err |= __get_user(regs->r2, sc->sc_regs+2); in restore_sigcontext() 160 err |= __get_user(regs->r3, sc->sc_regs+3); in restore_sigcontext() 161 err |= __get_user(regs->r4, sc->sc_regs+4); in restore_sigcontext() 162 err |= __get_user(regs->r5, sc->sc_regs+5); in restore_sigcontext() 163 err |= __get_user(regs->r6, sc->sc_regs+6); in restore_sigcontext() [all …]
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-alsa-main.c | 47 static void snd_cobalt_card_private_free(struct snd_card *sc) in snd_cobalt_card_private_free() argument 49 if (sc == NULL) in snd_cobalt_card_private_free() 51 snd_cobalt_card_free(sc->private_data); in snd_cobalt_card_private_free() 52 sc->private_data = NULL; in snd_cobalt_card_private_free() 53 sc->private_free = NULL; in snd_cobalt_card_private_free() 57 struct snd_card *sc, in snd_cobalt_card_create() argument 65 (*cobsc)->sc = sc; in snd_cobalt_card_create() 67 sc->private_data = *cobsc; in snd_cobalt_card_create() 68 sc->private_free = snd_cobalt_card_private_free; in snd_cobalt_card_create() 77 struct snd_card *sc = cobsc->sc; in snd_cobalt_card_set_names() local [all …]
|
D | cobalt-alsa.h | 25 struct snd_card *sc; member
|
D | cobalt-alsa-pcm.c | 540 struct snd_card *sc = cobsc->sc; in snd_cobalt_pcm_create() local 557 ret = snd_pcm_new(sc, "Cobalt PCM-In HDMI", in snd_cobalt_pcm_create() 581 ret = snd_pcm_new(sc, "Cobalt PCM-Out HDMI", in snd_cobalt_pcm_create()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 286 static int sbdma_add_rcvbuffer(struct sbmac_softc *sc, struct sbmacdma *d, 290 static void sbdma_fillring(struct sbmac_softc *sc, struct sbmacdma *d); 291 static int sbdma_rx_process(struct sbmac_softc *sc, struct sbmacdma *d, 293 static void sbdma_tx_process(struct sbmac_softc *sc, struct sbmacdma *d, 300 static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff); 304 static void sbmac_setmulti(struct sbmac_softc *sc); 437 struct sbmac_softc *sc = (struct sbmac_softc *)bus->priv; in sbmac_mii_read() local 438 void __iomem *sbm_mdio = sc->sbm_mdio; in sbmac_mii_read() 531 struct sbmac_softc *sc = (struct sbmac_softc *)bus->priv; in sbmac_mii_write() local 532 void __iomem *sbm_mdio = sc->sbm_mdio; in sbmac_mii_write() [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | signal.c | 43 restore_sigcontext (struct sigcontext __user *sc, struct sigscratch *scr) in restore_sigcontext() argument 52 err = __get_user(flags, &sc->sc_flags); in restore_sigcontext() 53 err |= __get_user(nat, &sc->sc_nat); in restore_sigcontext() 54 err |= __get_user(ip, &sc->sc_ip); /* instruction pointer */ in restore_sigcontext() 55 err |= __get_user(cfm, &sc->sc_cfm); in restore_sigcontext() 56 err |= __get_user(um, &sc->sc_um); /* user mask */ in restore_sigcontext() 57 err |= __get_user(rsc, &sc->sc_ar_rsc); in restore_sigcontext() 58 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext() 59 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext() 60 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext() [all …]
|
D | sigframe.h | 22 struct sigcontext sc; member
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-alsa-main.c | 89 static void snd_cx18_card_private_free(struct snd_card *sc) in snd_cx18_card_private_free() argument 91 if (sc == NULL) in snd_cx18_card_private_free() 93 snd_cx18_card_free(sc->private_data); in snd_cx18_card_private_free() 94 sc->private_data = NULL; in snd_cx18_card_private_free() 95 sc->private_free = NULL; in snd_cx18_card_private_free() 99 struct snd_card *sc, in snd_cx18_card_create() argument 107 (*cxsc)->sc = sc; in snd_cx18_card_create() 109 sc->private_data = *cxsc; in snd_cx18_card_create() 110 sc->private_free = snd_cx18_card_private_free; in snd_cx18_card_create() 118 struct snd_card *sc = cxsc->sc; in snd_cx18_card_set_names() local [all …]
|
D | cx18-alsa-mixer.c | 164 struct snd_card *sc = cxsc->sc; in snd_cx18_mixer_create() local 167 strlcpy(sc->mixername, "CX23418 Mixer", sizeof(sc->mixername)); in snd_cx18_mixer_create() 169 ret = snd_ctl_add(sc, snd_ctl_new1(snd_cx18_mixer_tv_vol, cxsc)); in snd_cx18_mixer_create()
|
D | cx18-av-core.c | 299 int hblank, hactive, burst, vblank, vactive, sc; in cx18_av_std_setup() local 377 sc = 688700; in cx18_av_std_setup() 382 sc = 556422; in cx18_av_std_setup() 388 sc = 672314; in cx18_av_std_setup() 438 sc = 688700; in cx18_av_std_setup() 444 sc = 555421; in cx18_av_std_setup() 449 sc = 556032; in cx18_av_std_setup() 475 tmp = 28636360 * (u64) sc; in cx18_av_std_setup() 488 comb, sc); in cx18_av_std_setup() 518 cx18_av_write(cx, 0x47c, sc); in cx18_av_std_setup() [all …]
|
D | cx18-alsa-pcm.c | 329 struct snd_card *sc = cxsc->sc; in snd_cx18_pcm_create() local 334 ret = snd_pcm_new(sc, "CX23418 PCM", in snd_cx18_pcm_create()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-main.c | 94 static void snd_ivtv_card_private_free(struct snd_card *sc) in snd_ivtv_card_private_free() argument 96 if (sc == NULL) in snd_ivtv_card_private_free() 98 snd_ivtv_card_free(sc->private_data); in snd_ivtv_card_private_free() 99 sc->private_data = NULL; in snd_ivtv_card_private_free() 100 sc->private_free = NULL; in snd_ivtv_card_private_free() 104 struct snd_card *sc, in snd_ivtv_card_create() argument 112 (*itvsc)->sc = sc; in snd_ivtv_card_create() 114 sc->private_data = *itvsc; in snd_ivtv_card_create() 115 sc->private_free = snd_ivtv_card_private_free; in snd_ivtv_card_create() 123 struct snd_card *sc = itvsc->sc; in snd_ivtv_card_set_names() local [all …]
|
D | ivtv-alsa-mixer.c | 164 struct snd_card *sc = itvsc->sc; in snd_ivtv_mixer_create() local 167 strlcpy(sc->mixername, "CX2341[56] Mixer", sizeof(sc->mixername)); in snd_ivtv_mixer_create() 169 ret = snd_ctl_add(sc, snd_ctl_new1(snd_ivtv_mixer_tv_vol, itvsc)); in snd_ivtv_mixer_create()
|
D | ivtv-alsa-pcm.c | 336 struct snd_card *sc = itvsc->sc; in snd_ivtv_pcm_create() local 341 ret = snd_pcm_new(sc, "CX2341[56] PCM", in snd_ivtv_pcm_create()
|
/linux-4.4.14/mm/ |
D | vmscan.c | 153 static bool global_reclaim(struct scan_control *sc) in global_reclaim() argument 155 return !sc->target_mem_cgroup; in global_reclaim() 171 static bool sane_reclaim(struct scan_control *sc) in sane_reclaim() argument 173 struct mem_cgroup *memcg = sc->target_mem_cgroup; in sane_reclaim() 184 static bool global_reclaim(struct scan_control *sc) in global_reclaim() argument 189 static bool sane_reclaim(struct scan_control *sc) in sane_reclaim() argument 432 struct shrink_control sc = { in shrink_slab() local 442 sc.nid = 0; in shrink_slab() 444 freed += do_shrink_slab(&sc, shrinker, nr_scanned, nr_eligible); in shrink_slab() 486 static int may_write_to_inode(struct inode *inode, struct scan_control *sc) in may_write_to_inode() argument [all …]
|
D | swap_cgroup.c | 67 struct swap_cgroup *sc; in lookup_swap_cgroup() local 74 sc = page_address(mappage); in lookup_swap_cgroup() 75 return sc + offset % SC_PER_PAGE; in lookup_swap_cgroup() 91 struct swap_cgroup *sc; in swap_cgroup_cmpxchg() local 95 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_cmpxchg() 98 retval = sc->id; in swap_cgroup_cmpxchg() 100 sc->id = new; in swap_cgroup_cmpxchg() 118 struct swap_cgroup *sc; in swap_cgroup_record() local 122 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_record() 125 old = sc->id; in swap_cgroup_record() [all …]
|
D | workingset.c | 270 struct shrink_control *sc) in count_shadow_nodes() argument 278 shadow_nodes = list_lru_shrink_count(&workingset_shadow_nodes, sc); in count_shadow_nodes() 281 pages = node_present_pages(sc->nid); in count_shadow_nodes() 374 struct shrink_control *sc) in scan_shadow_nodes() argument 380 ret = list_lru_shrink_walk(&workingset_shadow_nodes, sc, in scan_shadow_nodes()
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | signal.c | 47 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext() argument 52 err |= copy_to_user(&sc->sc_regs.r0, ®s->r00, in setup_sigcontext() 55 err |= __put_user(regs->sa0, &sc->sc_regs.sa0); in setup_sigcontext() 56 err |= __put_user(regs->lc0, &sc->sc_regs.lc0); in setup_sigcontext() 57 err |= __put_user(regs->sa1, &sc->sc_regs.sa1); in setup_sigcontext() 58 err |= __put_user(regs->lc1, &sc->sc_regs.lc1); in setup_sigcontext() 59 err |= __put_user(regs->m0, &sc->sc_regs.m0); in setup_sigcontext() 60 err |= __put_user(regs->m1, &sc->sc_regs.m1); in setup_sigcontext() 61 err |= __put_user(regs->usr, &sc->sc_regs.usr); in setup_sigcontext() 62 err |= __put_user(regs->preds, &sc->sc_regs.p3_0); in setup_sigcontext() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | virtio_scsi.c | 39 struct scsi_cmnd *sc; member 129 static void virtscsi_compute_resid(struct scsi_cmnd *sc, u32 resid) in virtscsi_compute_resid() argument 134 if (!scsi_bidi_cmnd(sc)) { in virtscsi_compute_resid() 135 scsi_set_resid(sc, resid); in virtscsi_compute_resid() 139 scsi_in(sc)->resid = min(resid, scsi_in(sc)->length); in virtscsi_compute_resid() 140 scsi_out(sc)->resid = resid - scsi_in(sc)->resid; in virtscsi_compute_resid() 151 struct scsi_cmnd *sc = cmd->sc; in virtscsi_complete_cmd() local 154 scsi_target(sc->device)->hostdata; in virtscsi_complete_cmd() 156 dev_dbg(&sc->device->sdev_gendev, in virtscsi_complete_cmd() 158 sc, resp->response, resp->status, resp->sense_len); in virtscsi_complete_cmd() [all …]
|
D | xen-scsifront.c | 96 struct scsi_cmnd *sc; member 209 if (s->sc->sc_data_direction == DMA_NONE) in scsifront_gnttab_done() 227 struct scsi_cmnd *sc; in scsifront_cdb_cmd_done() local 232 sc = info->shadow[id]->sc; in scsifront_cdb_cmd_done() 234 BUG_ON(sc == NULL); in scsifront_cdb_cmd_done() 239 sc->result = ring_rsp->rslt; in scsifront_cdb_cmd_done() 240 scsi_set_resid(sc, ring_rsp->residual_len); in scsifront_cdb_cmd_done() 246 memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); in scsifront_cdb_cmd_done() 248 sc->scsi_done(sc); in scsifront_cdb_cmd_done() 368 struct scsi_cmnd *sc, in map_data_for_request() argument [all …]
|
D | libiscsi.c | 185 struct scsi_cmnd *cmd = task->sc; in iscsi_prep_ecdb_ahs() 222 struct scsi_cmnd *sc = task->sc; in iscsi_prep_bidi_ahs() local 236 rlen_ahdr->read_length = cpu_to_be32(scsi_in(sc)->length); in iscsi_prep_bidi_ahs() 277 if (hdr_lun != task->sc->device->lun) in iscsi_check_tmf_restrictions() 339 struct scsi_cmnd *sc = task->sc; in iscsi_prep_scsi_cmd_pdu() local 369 int_to_scsilun(sc->device->lun, &hdr->lun); in iscsi_prep_scsi_cmd_pdu() 372 cmd_len = sc->cmd_len; in iscsi_prep_scsi_cmd_pdu() 381 memcpy(hdr->cdb, sc->cmnd, cmd_len); in iscsi_prep_scsi_cmd_pdu() 384 if (scsi_bidi_cmnd(sc)) { in iscsi_prep_scsi_cmd_pdu() 391 if (scsi_get_prot_op(sc) != SCSI_PROT_NORMAL) in iscsi_prep_scsi_cmd_pdu() [all …]
|
D | libiscsi_tcp.c | 457 if (!task->sc) in iscsi_tcp_cleanup_task() 489 unsigned total_in_length = scsi_in(task->sc)->length; in iscsi_tcp_data_in() 554 if (!task->sc || session->state != ISCSI_STATE_LOGGED_IN) { in iscsi_tcp_r2t_rsp() 574 if (data_offset + data_length > scsi_out(task->sc)->length) { in iscsi_tcp_r2t_rsp() 578 data_offset, scsi_out(task->sc)->length); in iscsi_tcp_r2t_rsp() 690 struct scsi_data_buffer *sdb = scsi_in(task->sc); in iscsi_tcp_hdr_dissect() 737 else if (task->sc->sc_data_direction == DMA_TO_DEVICE) { in iscsi_tcp_hdr_dissect() 961 struct scsi_cmnd *sc = task->sc; in iscsi_tcp_task_init() local 964 if (!sc) { in iscsi_tcp_task_init() 1047 if (!task->sc) { in iscsi_tcp_task_xmit() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | signal.c | 45 static int (*save_fp_context)(void __user *sc); 46 static int (*restore_fp_context)(void __user *sc); 69 static int copy_fp_to_sigcontext(void __user *sc) in copy_fp_to_sigcontext() argument 72 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_to_sigcontext() 73 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_to_sigcontext() 88 static int copy_fp_from_sigcontext(void __user *sc) in copy_fp_from_sigcontext() argument 91 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in copy_fp_from_sigcontext() 92 uint32_t __user *csr = sc + abi->off_sc_fpc_csr; in copy_fp_from_sigcontext() 110 static int save_hw_fp_context(void __user *sc) in save_hw_fp_context() argument 113 uint64_t __user *fpregs = sc + abi->off_sc_fpregs; in save_hw_fp_context() [all …]
|
D | signal32.c | 71 struct sigcontext32 __user *sc) in setup_sigcontext32() argument 76 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext32() 78 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext32() 80 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext32() 82 err |= __put_user(regs->hi, &sc->sc_mdhi); in setup_sigcontext32() 83 err |= __put_user(regs->lo, &sc->sc_mdlo); in setup_sigcontext32() 85 err |= __put_user(rddsp(DSP_MASK), &sc->sc_dsp); in setup_sigcontext32() 86 err |= __put_user(mfhi1(), &sc->sc_hi1); in setup_sigcontext32() 87 err |= __put_user(mflo1(), &sc->sc_lo1); in setup_sigcontext32() 88 err |= __put_user(mfhi2(), &sc->sc_hi2); in setup_sigcontext32() [all …]
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | sc.c | 23 void sc_dump_regs(struct sc_data *sc) in sc_dump_regs() argument 25 struct device *dev = &sc->pdev->dev; in sc_dump_regs() 28 ioread32(sc->base + CFG_##r)) in sc_dump_regs() 60 void sc_set_hs_coeffs(struct sc_data *sc, void *addr, unsigned int src_w, in sc_set_hs_coeffs() argument 87 if (idx == sc->hs_index) in sc_set_hs_coeffs() 104 sc->hs_index = idx; in sc_set_hs_coeffs() 106 sc->load_coeff_h = true; in sc_set_hs_coeffs() 113 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h, in sc_set_vs_coeffs() argument 133 if (idx == sc->vs_index) in sc_set_vs_coeffs() 149 sc->vs_index = idx; in sc_set_vs_coeffs() [all …]
|
D | sc.h | 198 void sc_dump_regs(struct sc_data *sc); 199 void sc_set_hs_coeffs(struct sc_data *sc, void *addr, unsigned int src_w, 201 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h, 203 void sc_config_scaler(struct sc_data *sc, u32 *sc_reg0, u32 *sc_reg8,
|
D | vpe.c | 367 struct sc_data *sc; /* scaler data handle */ member 510 GET_OFFSET_TOP(ctx, ctx->dev->sc, CFG_SC0)); in init_adb_hdrs() 512 GET_OFFSET_TOP(ctx, ctx->dev->sc, CFG_SC8)); in init_adb_hdrs() 514 GET_OFFSET_TOP(ctx, ctx->dev->sc, CFG_SC17)); in init_adb_hdrs() 857 sc_set_hs_coeffs(ctx->dev->sc, ctx->sc_coeff_h.addr, src_w, dst_w); in set_srcdst_params() 858 sc_set_vs_coeffs(ctx->dev->sc, ctx->sc_coeff_v.addr, src_h, dst_h); in set_srcdst_params() 860 sc_config_scaler(ctx->dev->sc, &mmr_adb->sc_regs0[0], in set_srcdst_params() 983 sc_dump_regs(dev->sc); in vpe_dump_regs() 1100 struct sc_data *sc = ctx->dev->sc; in device_run() local 1123 if (sc->loaded_coeff_h != ctx->sc_coeff_h.dma_addr || in device_run() [all …]
|
D | Makefile | 3 ti-vpe-y := vpe.o sc.o csc.o vpdma.o
|
/linux-4.4.14/arch/m68k/kernel/ |
D | signal.c | 199 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) in save_a5_state() argument 224 static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs) in save_a5_state() argument 226 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in save_a5_state() 250 struct sigcontext sc; member 273 static inline int restore_fpu_state(struct sigcontext *sc) in restore_fpu_state() argument 279 memcpy(current->thread.fpcntl, sc->sc_fpcntl, 12); in restore_fpu_state() 280 memcpy(current->thread.fp, sc->sc_fpregs, 24); in restore_fpu_state() 284 if (CPU_IS_060 ? sc->sc_fpstate[2] : sc->sc_fpstate[0]) { in restore_fpu_state() 287 (sc->sc_fpstate[0] != fpu_version)) in restore_fpu_state() 291 !(sc->sc_fpstate[1] == 0x18 || sc->sc_fpstate[1] == 0xb4)) in restore_fpu_state() [all …]
|
/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 113 struct scsi_cmnd *sc = tl_cmd->sc; in tcm_loop_submission_work() local 121 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host); in tcm_loop_submission_work() 122 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id]; in tcm_loop_submission_work() 129 set_host_byte(sc, DID_NO_CONNECT); in tcm_loop_submission_work() 133 set_host_byte(sc, DID_TRANSPORT_DISRUPTED); in tcm_loop_submission_work() 138 scmd_printk(KERN_ERR, sc, "TCM_Loop I_T Nexus" in tcm_loop_submission_work() 140 set_host_byte(sc, DID_ERROR); in tcm_loop_submission_work() 143 if (scsi_bidi_cmnd(sc)) { in tcm_loop_submission_work() 144 struct scsi_data_buffer *sdb = scsi_in(sc); in tcm_loop_submission_work() 152 transfer_length = scsi_transfer_length(sc); in tcm_loop_submission_work() [all …]
|
D | tcm_loop.h | 11 struct scsi_cmnd *sc; member
|
/linux-4.4.14/arch/parisc/kernel/ |
D | signal32.c | 63 restore_sigcontext32(struct compat_sigcontext __user *sc, struct compat_regfile __user * rf, in restore_sigcontext32() argument 74 DBG(2,"restore_sigcontext32: sc = 0x%p, rf = 0x%p, regs = 0x%p\n", sc, rf, regs); in restore_sigcontext32() 75 DBG(2,"restore_sigcontext32: compat_sigcontext is %#lx bytes\n", sizeof(*sc)); in restore_sigcontext32() 77 err |= __get_user(compat_reg,&sc->sc_gr[regn]); in restore_sigcontext32() 85 DBG(2,"restore_sigcontext32: sc->sc_fr = 0x%p (%#lx)\n",sc->sc_fr, sizeof(sc->sc_fr)); in restore_sigcontext32() 87 err |= __copy_from_user(regs->fr, sc->sc_fr, sizeof(regs->fr)); in restore_sigcontext32() 92 err |= __get_user(compat_reg, &sc->sc_iaoq[0]); in restore_sigcontext32() 98 &sc->sc_iaoq[0], compat_reg); in restore_sigcontext32() 100 err |= __get_user(compat_reg, &sc->sc_iaoq[1]); in restore_sigcontext32() 106 &sc->sc_iaoq[1],compat_reg); in restore_sigcontext32() [all …]
|
D | signal.c | 71 restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) in restore_sigcontext() argument 75 err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr)); in restore_sigcontext() 76 err |= __copy_from_user(regs->fr, sc->sc_fr, sizeof(regs->fr)); in restore_sigcontext() 77 err |= __copy_from_user(regs->iaoq, sc->sc_iaoq, sizeof(regs->iaoq)); in restore_sigcontext() 78 err |= __copy_from_user(regs->iasq, sc->sc_iasq, sizeof(regs->iasq)); in restore_sigcontext() 79 err |= __get_user(regs->sar, &sc->sc_sar); in restore_sigcontext() 195 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, int in_syscall) in setup_sigcontext() argument 201 if (on_sig_stack((unsigned long) sc)) in setup_sigcontext() 206 err |= __put_user(regs->gr[31], &sc->sc_iaoq[0]); in setup_sigcontext() 207 err |= __put_user(regs->gr[31]+4, &sc->sc_iaoq[1]); in setup_sigcontext() [all …]
|
D | signal32.h | 84 long restore_sigcontext32(struct compat_sigcontext __user *sc, 87 long setup_sigcontext32(struct compat_sigcontext __user *sc,
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | signal_64.c | 83 static elf_vrreg_t __user *sigcontext_vmx_regs(struct sigcontext __user *sc) in sigcontext_vmx_regs() argument 85 return (elf_vrreg_t __user *) (((unsigned long)sc->vmx_reserve + 15) & ~0xful); in sigcontext_vmx_regs() 93 static long setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 106 elf_vrreg_t __user *v_regs = sigcontext_vmx_regs(sc); in setup_sigcontext() 112 err |= __put_user(v_regs, &sc->v_regs); in setup_sigcontext() 132 err |= __put_user(0, &sc->v_regs); in setup_sigcontext() 136 err |= copy_fpr_to_user(&sc->fp_regs, current); in setup_sigcontext() 159 err |= __put_user(&sc->gp_regs, &sc->regs); in setup_sigcontext() 161 err |= __copy_to_user(&sc->gp_regs, regs, GP_REGS_SIZE); in setup_sigcontext() 162 err |= __put_user(msr, &sc->gp_regs[PT_MSR]); in setup_sigcontext() [all …]
|
D | signal_32.c | 1419 struct sigcontext __user *sc; in handle_signal32() local 1430 sc = (struct sigcontext __user *) &frame->sctx; in handle_signal32() 1435 if (__put_user(to_user_ptr(ksig->ka.sa.sa_handler), &sc->handler) in handle_signal32() 1436 || __put_user(oldset->sig[0], &sc->oldmask) in handle_signal32() 1438 || __put_user((oldset->sig[0] >> 32), &sc->_unused[3]) in handle_signal32() 1440 || __put_user(oldset->sig[1], &sc->_unused[3]) in handle_signal32() 1442 || __put_user(to_user_ptr(&frame->mctx), &sc->regs) in handle_signal32() 1443 || __put_user(ksig->sig, &sc->signal)) in handle_signal32() 1479 regs->gpr[4] = (unsigned long) sc; in handle_signal32() 1503 struct sigcontext __user *sc; in sys_sigreturn() local [all …]
|
/linux-4.4.14/arch/x86/ia32/ |
D | ia32_signal.c | 49 get_user_ex(regs->x, &sc->x); \ 54 get_user_ex(tmp, &sc->seg); \ 71 struct sigcontext_32 __user *sc) in ia32_restore_sigcontext() argument 99 get_user_ex(tmpflags, &sc->flags); in ia32_restore_sigcontext() 104 get_user_ex(tmp, &sc->fpstate); in ia32_restore_sigcontext() 123 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys32_sigreturn() 132 if (ia32_restore_sigcontext(regs, &frame->sc)) in sys32_sigreturn() 173 static int ia32_setup_sigcontext(struct sigcontext_32 __user *sc, in ia32_setup_sigcontext() argument 180 put_user_ex(get_user_seg(gs), (unsigned int __user *)&sc->gs); in ia32_setup_sigcontext() 181 put_user_ex(get_user_seg(fs), (unsigned int __user *)&sc->fs); in ia32_setup_sigcontext() [all …]
|
/linux-4.4.14/net/ceph/ |
D | snapshot.c | 61 struct ceph_snap_context *ceph_get_snap_context(struct ceph_snap_context *sc) in ceph_get_snap_context() argument 63 if (sc) in ceph_get_snap_context() 64 atomic_inc(&sc->nref); in ceph_get_snap_context() 65 return sc; in ceph_get_snap_context() 69 void ceph_put_snap_context(struct ceph_snap_context *sc) in ceph_put_snap_context() argument 71 if (!sc) in ceph_put_snap_context() 73 if (atomic_dec_and_test(&sc->nref)) { in ceph_put_snap_context() 75 kfree(sc); in ceph_put_snap_context()
|
D | ceph_fs.c | 13 __u32 sc = le32_to_cpu(layout->fl_stripe_count); in ceph_file_layout_is_valid() local 25 if (!sc) in ceph_file_layout_is_valid()
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | console.c | 41 struct stm_console *sc = container_of(con, struct stm_console, console); in stm_console_write() local 43 stm_source_write(&sc->data, 0, buf, len); in stm_console_write() 48 struct stm_console *sc = container_of(data, struct stm_console, data); in stm_console_link() local 50 strcpy(sc->console.name, "stm_console"); in stm_console_link() 51 sc->console.write = stm_console_write; in stm_console_link() 52 sc->console.flags = CON_ENABLED | CON_PRINTBUFFER; in stm_console_link() 53 register_console(&sc->console); in stm_console_link() 60 struct stm_console *sc = container_of(data, struct stm_console, data); in stm_console_unlink() local 62 unregister_console(&sc->console); in stm_console_unlink()
|
/linux-4.4.14/arch/x86/kernel/ |
D | signal.c | 47 get_user_ex(regs->x, &sc->x); \ 52 get_user_ex(tmp, &sc->seg); \ 64 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext() argument 107 get_user_ex(tmpflags, &sc->flags); in restore_sigcontext() 111 get_user_ex(buf_val, &sc->fpstate); in restore_sigcontext() 122 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in setup_sigcontext() argument 130 put_user_ex(get_user_gs(regs), (unsigned int __user *)&sc->gs); in setup_sigcontext() 131 put_user_ex(regs->fs, (unsigned int __user *)&sc->fs); in setup_sigcontext() 132 put_user_ex(regs->es, (unsigned int __user *)&sc->es); in setup_sigcontext() 133 put_user_ex(regs->ds, (unsigned int __user *)&sc->ds); in setup_sigcontext() [all …]
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptscsih.c | 89 static void mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSIIOReque… 95 static void mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SC… 436 mptscsih_info_scsiio(MPT_ADAPTER *ioc, struct scsi_cmnd *sc, SCSIIOReply_t * pScsiReply) in mptscsih_info_scsiio() argument 538 scsi_print_command(sc); in mptscsih_info_scsiio() 540 ioc->name, pScsiReply->Bus, pScsiReply->TargetID, sc->device->lun); in mptscsih_info_scsiio() 542 "resid = %d\n", ioc->name, scsi_bufflen(sc), sc->underflow, in mptscsih_info_scsiio() 543 scsi_get_resid(sc)); in mptscsih_info_scsiio() 546 le32_to_cpu(pScsiReply->TransferCount), sc->result); in mptscsih_info_scsiio() 554 skey = sc->sense_buffer[2] & 0x0F; in mptscsih_info_scsiio() 555 asc = sc->sense_buffer[12]; in mptscsih_info_scsiio() [all …]
|
/linux-4.4.14/arch/score/kernel/ |
D | signal.c | 44 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext() argument 49 reg = regs->cp0_epc; err |= __put_user(reg, &sc->sc_pc); in setup_sigcontext() 50 err |= __put_user(regs->cp0_psr, &sc->sc_psr); in setup_sigcontext() 51 err |= __put_user(regs->cp0_condition, &sc->sc_condition); in setup_sigcontext() 56 err |= __put_user(reg, &sc->sc_regs[i]); \ in setup_sigcontext() 70 reg = regs->ceh; err |= __put_user(reg, &sc->sc_mdceh); in setup_sigcontext() 71 reg = regs->cel; err |= __put_user(reg, &sc->sc_mdcel); in setup_sigcontext() 72 err |= __put_user(regs->cp0_ecr, &sc->sc_ecr); in setup_sigcontext() 73 err |= __put_user(regs->cp0_ema, &sc->sc_ema); in setup_sigcontext() 78 static int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext() argument [all …]
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | jpeg.h | 155 int i, sc; in jpeg_set_qual() local 158 sc = 5000; in jpeg_set_qual() 160 sc = 5000 / quality; in jpeg_set_qual() 162 sc = 200 - quality * 2; in jpeg_set_qual() 165 (jpeg_head[JPEG_QT0_OFFSET + i] * sc + 50) / 100; in jpeg_set_qual() 167 (jpeg_head[JPEG_QT1_OFFSET + i] * sc + 50) / 100; in jpeg_set_qual()
|
/linux-4.4.14/drivers/mmc/host/ |
D | sdhci-s3c.c | 451 struct sdhci_s3c *sc; in sdhci_s3c_probe() local 471 sc = sdhci_priv(host); in sdhci_s3c_probe() 485 sc->ext_cd_gpio = -1; /* invalid gpio number */ in sdhci_s3c_probe() 490 sc->host = host; in sdhci_s3c_probe() 491 sc->pdev = pdev; in sdhci_s3c_probe() 492 sc->pdata = pdata; in sdhci_s3c_probe() 493 sc->cur_clk = -1; in sdhci_s3c_probe() 497 sc->clk_io = devm_clk_get(dev, "hsmmc"); in sdhci_s3c_probe() 498 if (IS_ERR(sc->clk_io)) { in sdhci_s3c_probe() 500 ret = PTR_ERR(sc->clk_io); in sdhci_s3c_probe() [all …]
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7770.c | 278 struct seeprom_config *sc; in aha2840_load_seeprom() local 293 sc = ahc->seep_config; in aha2840_load_seeprom() 297 have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, in aha2840_load_seeprom() 298 /*start_addr*/0, sizeof(*sc)/2); in aha2840_load_seeprom() 302 if (ahc_verify_cksum(sc) == 0) { in aha2840_load_seeprom() 329 target_settings = (sc->device_flags[i] & CFXFER) << 4; in aha2840_load_seeprom() 330 if (sc->device_flags[i] & CFSYNCH) in aha2840_load_seeprom() 332 if (sc->device_flags[i] & CFWIDEB) in aha2840_load_seeprom() 334 if (sc->device_flags[i] & CFDISC) in aha2840_load_seeprom() 341 ahc->our_id = sc->brtime_id & CFSCSIID; in aha2840_load_seeprom() [all …]
|
D | aic7xxx_pci.c | 612 struct seeprom_config *sc); 1263 struct seeprom_config *sc; in check_extport() local 1271 sc = ahc->seep_config; in check_extport() 1302 have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, in check_extport() 1304 sizeof(*sc)/2); in check_extport() 1307 have_seeprom = ahc_verify_cksum(sc); in check_extport() 1343 sc_data = (uint16_t *)sc; in check_extport() 1351 have_seeprom = ahc_verify_cksum(sc); in check_extport() 1369 sc = NULL; in check_extport() 1371 ahc_parse_pci_eeprom(ahc, sc); in check_extport() [all …]
|
D | aic79xx_pci.c | 517 struct seeprom_config *sc; in ahd_check_extport() local 522 sc = ahd->seep_config; in ahd_check_extport() 535 start_addr = ((2 * sizeof(*sc)) in ahd_check_extport() 552 start_addr = (sizeof(*sc) / 2) * (ahd->channel - 'A'); in ahd_check_extport() 554 error = ahd_read_seeprom(ahd, (uint16_t *)sc, in ahd_check_extport() 555 start_addr, sizeof(*sc)/2, in ahd_check_extport() 562 have_seeprom = ahd_verify_cksum(sc); in ahd_check_extport() 603 sc_data = (uint16_t *)sc; in ahd_check_extport() 606 have_seeprom = ahd_verify_cksum(sc); in ahd_check_extport() 619 sc_data = (uint16_t *)sc; in ahd_check_extport() [all …]
|
D | aic7xxx_93cx6.c | 305 ahc_verify_cksum(struct seeprom_config *sc) in ahc_verify_cksum() argument 312 maxaddr = (sizeof(*sc)/2) - 1; in ahc_verify_cksum() 314 scarray = (uint16_t *)sc; in ahc_verify_cksum() 319 || (checksum & 0xFFFF) != sc->checksum) { in ahc_verify_cksum()
|
/linux-4.4.14/arch/h8300/kernel/ |
D | signal.c | 132 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 137 err |= __put_user(regs->er0, &sc->sc_er0); in setup_sigcontext() 138 err |= __put_user(regs->er1, &sc->sc_er1); in setup_sigcontext() 139 err |= __put_user(regs->er2, &sc->sc_er2); in setup_sigcontext() 140 err |= __put_user(regs->er3, &sc->sc_er3); in setup_sigcontext() 141 err |= __put_user(regs->er4, &sc->sc_er4); in setup_sigcontext() 142 err |= __put_user(regs->er5, &sc->sc_er5); in setup_sigcontext() 143 err |= __put_user(regs->er6, &sc->sc_er6); in setup_sigcontext() 144 err |= __put_user(rdusp(), &sc->sc_usp); in setup_sigcontext() 145 err |= __put_user(regs->pc, &sc->sc_pc); in setup_sigcontext() [all …]
|
/linux-4.4.14/arch/sh/kernel/ |
D | signal_64.c | 130 struct sigcontext sc; member 145 restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext_fpu() argument 150 err |= __get_user (fpvalid, &sc->sc_fpvalid); in restore_sigcontext_fpu() 160 err |= __copy_from_user(¤t->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu() 167 setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext_fpu() argument 173 err |= __put_user(fpvalid, &sc->sc_fpvalid); in setup_sigcontext_fpu() 185 err |= __copy_to_user(&sc->sc_fpregs[0], ¤t->thread.xstate->hardfpu, in setup_sigcontext_fpu() 193 restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext_fpu() argument 198 setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext_fpu() argument 205 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, long long *r2_p) in restore_sigcontext() argument [all …]
|
D | signal_32.c | 63 struct sigcontext sc; member 76 static inline int restore_sigcontext_fpu(struct sigcontext __user *sc) in restore_sigcontext_fpu() argument 84 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu() 88 static inline int save_sigcontext_fpu(struct sigcontext __user *sc, in save_sigcontext_fpu() argument 97 return __put_user(0, &sc->sc_ownedfp); in save_sigcontext_fpu() 99 if (__put_user(1, &sc->sc_ownedfp)) in save_sigcontext_fpu() 108 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu() 114 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p) in restore_sigcontext() argument 118 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() 140 err |= __get_user (owned_fp, &sc->sc_ownedfp); in restore_sigcontext() [all …]
|
/linux-4.4.14/drivers/staging/android/ |
D | lowmemorykiller.c | 71 struct shrink_control *sc) in lowmem_count() argument 79 static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc) in lowmem_scan() argument 108 sc->nr_to_scan, sc->gfp_mask, other_free, in lowmem_scan() 113 sc->nr_to_scan, sc->gfp_mask); in lowmem_scan() 178 sc->nr_to_scan, sc->gfp_mask, rem); in lowmem_scan()
|
D | ashmem.c | 435 ashmem_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_scan() argument 441 if (!(sc->gfp_mask & __GFP_FS)) in ashmem_shrink_scan() 456 if (--sc->nr_to_scan <= 0) in ashmem_shrink_scan() 464 ashmem_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in ashmem_shrink_count() argument 783 struct shrink_control sc = { in ashmem_ioctl() local 787 ret = ashmem_shrink_count(&ashmem_shrinker, &sc); in ashmem_ioctl() 788 ashmem_shrink_scan(&ashmem_shrinker, &sc); in ashmem_ioctl()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 355 iser_set_dif_domain(struct scsi_cmnd *sc, struct ib_sig_attrs *sig_attrs, in iser_set_dif_domain() argument 359 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 360 domain->sig.dif.ref_tag = scsi_prot_ref_tag(sc); in iser_set_dif_domain() 368 if (sc->prot_flags & SCSI_PROT_REF_INCREMENT) in iser_set_dif_domain() 373 iser_set_sig_attrs(struct scsi_cmnd *sc, struct ib_sig_attrs *sig_attrs) in iser_set_sig_attrs() argument 375 switch (scsi_get_prot_op(sc)) { in iser_set_sig_attrs() 379 iser_set_dif_domain(sc, sig_attrs, &sig_attrs->wire); in iser_set_sig_attrs() 385 iser_set_dif_domain(sc, sig_attrs, &sig_attrs->mem); in iser_set_sig_attrs() 386 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 391 iser_set_dif_domain(sc, sig_attrs, &sig_attrs->wire); in iser_set_sig_attrs() [all …]
|
D | iser_initiator.c | 64 if (scsi_prot_sg_count(iser_task->sc)) { in iser_prepare_read_cmd() 118 if (scsi_prot_sg_count(iser_task->sc)) { in iser_prepare_write_cmd() 378 struct scsi_cmnd *sc = task->sc; in iser_send_command() local 396 if (scsi_sg_count(sc)) { /* using a scatter list */ in iser_send_command() 397 data_buf->sg = scsi_sglist(sc); in iser_send_command() 398 data_buf->size = scsi_sg_count(sc); in iser_send_command() 400 data_buf->data_len = scsi_bufflen(sc); in iser_send_command() 402 if (scsi_prot_sg_count(sc)) { in iser_send_command() 403 prot_buf->sg = scsi_prot_sglist(sc); in iser_send_command() 404 prot_buf->size = scsi_prot_sg_count(sc); in iser_send_command() [all …]
|
D | iscsi_iser.c | 190 const bool mgmt_task = !task->sc && !in_interrupt(); in iser_initialize_task_headers() 246 if (!task->sc) in iscsi_iser_task_init() 251 iser_task->sc = task->sc; in iscsi_iser_task_init() 328 if (!task->sc) in iscsi_iser_task_xmit() 331 if (task->sc->sc_data_direction == DMA_TO_DEVICE) { in iscsi_iser_task_xmit() 332 BUG_ON(scsi_bufflen(task->sc) == 0); in iscsi_iser_task_xmit() 335 task->itt, scsi_bufflen(task->sc), in iscsi_iser_task_xmit() 384 if (!task->sc) in iscsi_iser_cleanup_task()
|
/linux-4.4.14/include/linux/ |
D | list_lru.h | 113 struct shrink_control *sc) in list_lru_shrink_count() argument 115 return list_lru_count_one(lru, sc->nid, sc->memcg); in list_lru_shrink_count() 167 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk() argument 170 return list_lru_walk_one(lru, sc->nid, sc->memcg, isolate, cb_arg, in list_lru_shrink_walk() 171 &sc->nr_to_scan); in list_lru_shrink_walk()
|
D | shrinker.h | 51 struct shrink_control *sc); 53 struct shrink_control *sc);
|
D | usb.h | 931 #define USB_DEVICE_INFO(cl, sc, pr) \ argument 934 .bDeviceSubClass = (sc), \ 946 #define USB_INTERFACE_INFO(cl, sc, pr) \ argument 949 .bInterfaceSubClass = (sc), \ 966 #define USB_DEVICE_AND_INTERFACE_INFO(vend, prod, cl, sc, pr) \ argument 972 .bInterfaceSubClass = (sc), \ 988 #define USB_VENDOR_AND_INTERFACE_INFO(vend, cl, sc, pr) \ argument 993 .bInterfaceSubClass = (sc), \
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 143 struct gsc_scaler sc; member 615 struct gsc_scaler *sc = &ctx->sc; in gsc_src_set_size() local 651 DRM_DEBUG_KMS("width[%d]range[%d]\n", pos->w, sc->range); in gsc_src_set_size() 654 if (sc->range) in gsc_src_set_size() 659 if (sc->range) in gsc_src_set_size() 915 static int gsc_set_prescaler(struct gsc_context *ctx, struct gsc_scaler *sc, in gsc_set_prescaler() argument 934 ret = gsc_get_ratio_shift(src_w, dst_w, &sc->pre_hratio); in gsc_set_prescaler() 940 ret = gsc_get_ratio_shift(src_h, dst_h, &sc->pre_vratio); in gsc_set_prescaler() 947 sc->pre_hratio, sc->pre_vratio); in gsc_set_prescaler() 949 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler() [all …]
|
D | exynos_drm_fimc.c | 165 struct fimc_scaler sc; member 942 static int fimc_set_prescaler(struct fimc_context *ctx, struct fimc_scaler *sc, in fimc_set_prescaler() argument 988 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler() 989 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 990 sc->up_h = (dst_w >= src_w) ? true : false; in fimc_set_prescaler() 991 sc->up_v = (dst_h >= src_h) ? true : false; in fimc_set_prescaler() 993 sc->hratio, sc->vratio, sc->up_h, sc->up_v); in fimc_set_prescaler() 1010 static void fimc_set_scaler(struct fimc_context *ctx, struct fimc_scaler *sc) in fimc_set_scaler() argument 1015 sc->range, sc->bypass, sc->up_h, sc->up_v); in fimc_set_scaler() 1017 sc->hratio, sc->vratio); in fimc_set_scaler() [all …]
|
/linux-4.4.14/arch/x86/um/ |
D | signal.c | 156 struct sigcontext sc; in copy_sc_from_user() local 162 err = copy_from_user(&sc, from, sizeof(sc)); in copy_sc_from_user() 166 #define GETREG(regno, regname) regs->regs.gp[HOST_##regno] = sc.regname in copy_sc_from_user() 209 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user() 214 err = convert_fxsr_from_user(&fpx, (void *)sc.fpstate); in copy_sc_from_user() 230 err = copy_from_user(&fp, (void *)sc.fpstate, in copy_sc_from_user() 250 struct sigcontext sc; in copy_sc_to_user() local 253 memset(&sc, 0, sizeof(struct sigcontext)); in copy_sc_to_user() 255 #define PUTREG(regno, regname) sc.regname = regs->regs.gp[HOST_##regno] in copy_sc_to_user() 282 sc.cr2 = fi->cr2; in copy_sc_to_user() [all …]
|
/linux-4.4.14/include/media/ |
D | msp3400.h | 140 #define MSP_INPUT(sc, t, main_aux_src, sc_i2s_src) \ argument 141 (MSP_SCART_TO_DSP(sc) | \ 150 #define MSP_OUTPUT(sc) \ argument 151 (MSP_SC_TO_SCART1(sc) | \ 152 MSP_SC_TO_SCART2(sc))
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | signal.c | 49 struct sigcontext sc; member 64 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext() argument 77 if (__copy_from_user(regs, sc, sizeof(struct pt_regs))) in restore_sigcontext() 89 err |= __get_user(old_usp, &sc->usp); in restore_sigcontext() 120 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn() 128 if (restore_sigcontext(regs, &frame->sc)) in sys_sigreturn() 178 static int setup_sigcontext(struct sigcontext __user *sc, in setup_sigcontext() argument 186 err |= __copy_to_user(sc, regs, sizeof(struct pt_regs)); in setup_sigcontext() 195 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext() 197 err |= __put_user(usp, &sc->usp); in setup_sigcontext() [all …]
|
D | kgdb.c | 375 const char *sc; in gdb_cris_strlen() local 377 for (sc = s; *sc != '\0'; sc++) in gdb_cris_strlen() 379 return (sc - s); in gdb_cris_strlen()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | signal.c | 38 struct sigcontext __user *sc, long *_d0) in restore_sigcontext() argument 48 #define COPY(x) err |= __get_user(regs->x, &sc->x) in restore_sigcontext() 68 err |= __get_user(tmpflags, &sc->epsw); in restore_sigcontext() 76 err |= __get_user(buf, &sc->fpucontext); in restore_sigcontext() 84 err |= __get_user(*_d0, &sc->d0); in restore_sigcontext() 103 if (__get_user(set.sig[0], &frame->sc.oldmask)) in sys_sigreturn() 113 if (restore_sigcontext(current_frame(), &frame->sc, &d0)) in sys_sigreturn() 156 static int setup_sigcontext(struct sigcontext __user *sc, in setup_sigcontext() argument 163 #define COPY(x) err |= __put_user(regs->x, &sc->x) in setup_sigcontext() 178 err |= __put_user(tmp ? fpuctx : NULL, &sc->fpucontext); in setup_sigcontext() [all …]
|
D | sigframe.h | 17 struct sigcontext sc; member
|
/linux-4.4.14/arch/frv/kernel/ |
D | signal.c | 43 struct sigcontext sc; member 59 static int restore_sigcontext(struct sigcontext __user *sc, int *_gr8) in restore_sigcontext() argument 69 if (copy_from_user(user, &sc->sc_context, sizeof(sc->sc_context))) in restore_sigcontext() 93 if (__get_user(set.sig[0], &frame->sc.sc_oldmask)) in sys_sigreturn() 102 if (restore_sigcontext(&frame->sc, &gr8)) in sys_sigreturn() 140 static int setup_sigcontext(struct sigcontext __user *sc, unsigned long mask) in setup_sigcontext() argument 144 if (copy_to_user(&sc->sc_context, current->thread.user, sizeof(sc->sc_context)) != 0) in setup_sigcontext() 148 if (__put_user(mask, &sc->sc_oldmask) < 0) in setup_sigcontext() 187 if (setup_sigcontext(&frame->sc, set->sig[0])) in setup_frame()
|
/linux-4.4.14/arch/metag/kernel/ |
D | signal.c | 46 struct sigcontext __user *sc) in restore_sigcontext() argument 54 &sc->regs); in restore_sigcontext() 58 &sc->cb); in restore_sigcontext() 62 &sc->rp); in restore_sigcontext() 102 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 108 &sc->regs); in setup_sigcontext() 113 &sc->cb); in setup_sigcontext() 117 &sc->rp); in setup_sigcontext() 135 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | signal.c | 44 struct sigcontext __user *sc) in restore_sigcontext() argument 56 err |= __copy_from_user(regs, sc->regs.gpr, 32 * sizeof(unsigned long)); in restore_sigcontext() 57 err |= __copy_from_user(®s->pc, &sc->regs.pc, sizeof(unsigned long)); in restore_sigcontext() 58 err |= __copy_from_user(®s->sr, &sc->regs.sr, sizeof(unsigned long)); in restore_sigcontext() 110 static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in setup_sigcontext() argument 118 err |= __copy_to_user(sc->regs.gpr, regs, 32 * sizeof(unsigned long)); in setup_sigcontext() 119 err |= __copy_to_user(&sc->regs.pc, ®s->pc, sizeof(unsigned long)); in setup_sigcontext() 120 err |= __copy_to_user(&sc->regs.sr, ®s->sr, sizeof(unsigned long)); in setup_sigcontext()
|
/linux-4.4.14/fs/gfs2/ |
D | super.c | 451 void gfs2_statfs_change_in(struct gfs2_statfs_change_host *sc, const void *buf) in gfs2_statfs_change_in() argument 455 sc->sc_total = be64_to_cpu(str->sc_total); in gfs2_statfs_change_in() 456 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in() 457 sc->sc_dinodes = be64_to_cpu(str->sc_dinodes); in gfs2_statfs_change_in() 460 static void gfs2_statfs_change_out(const struct gfs2_statfs_change_host *sc, void *buf) in gfs2_statfs_change_out() argument 464 str->sc_total = cpu_to_be64(sc->sc_total); in gfs2_statfs_change_out() 465 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out() 466 str->sc_dinodes = cpu_to_be64(sc->sc_dinodes); in gfs2_statfs_change_out() 1050 struct gfs2_statfs_change_host *sc) in statfs_slow_fill() argument 1053 sc->sc_total += rgd->rd_data; in statfs_slow_fill() [all …]
|
/linux-4.4.14/arch/x86/boot/ |
D | string.c | 130 const char *sc; in strlen() local 132 for (sc = s; *sc != '\0'; ++sc) in strlen() 134 return sc - s; in strlen()
|
/linux-4.4.14/arch/mips/mm/ |
D | Makefile | 27 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o 28 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o 29 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o 30 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o 31 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o
|
/linux-4.4.14/crypto/ |
D | twofish_common.c | 500 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 508 ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \ 516 ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \ 593 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in __twofish_setkey() local 610 CALC_S (sa, sb, sc, sd, 0, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey() 611 CALC_S (sa, sb, sc, sd, 1, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey() 612 CALC_S (sa, sb, sc, sd, 2, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey() 613 CALC_S (sa, sb, sc, sd, 3, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey() 614 CALC_S (sa, sb, sc, sd, 4, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey() 615 CALC_S (sa, sb, sc, sd, 5, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey() [all …]
|
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 91 u16 pkt_len, sc; in fs_enet_rx_napi() local 106 while (((sc = CBDR_SC(bdp)) & BD_ENET_RX_EMPTY) == 0) { in fs_enet_rx_napi() 113 if ((sc & BD_ENET_RX_LAST) == 0) in fs_enet_rx_napi() 119 if (sc & (BD_ENET_RX_LG | BD_ENET_RX_SH | BD_ENET_RX_CL | in fs_enet_rx_napi() 123 if (sc & (BD_ENET_RX_LG | BD_ENET_RX_SH)) in fs_enet_rx_napi() 126 if (sc & (BD_ENET_RX_NO | BD_ENET_RX_CL)) in fs_enet_rx_napi() 129 if (sc & BD_ENET_RX_CR) in fs_enet_rx_napi() 132 if (sc & BD_ENET_RX_OV) in fs_enet_rx_napi() 189 CBDW_SC(bdp, (sc & ~BD_ENET_RX_STATS) | BD_ENET_RX_EMPTY); in fs_enet_rx_napi() 194 if ((sc & BD_ENET_RX_WRAP) == 0) in fs_enet_rx_napi() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | signal.c | 37 struct sigcontext sc; member 55 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext() argument 68 if (__copy_from_user(regs, sc, sizeof(struct pt_regs))) in restore_sigcontext() 78 err |= __get_user(old_usp, &sc->usp); in restore_sigcontext() 108 if (__get_user(set.sig[0], &frame->sc.oldmask) || in sys_sigreturn() 116 if (restore_sigcontext(regs, &frame->sc)) in sys_sigreturn() 171 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 184 err |= __copy_to_user(sc, regs, sizeof(struct pt_regs)); in setup_sigcontext() 186 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext() 187 err |= __put_user(usp, &sc->usp); in setup_sigcontext() [all …]
|
/linux-4.4.14/tools/perf/ |
D | builtin-trace.c | 201 ({ struct syscall_tp *sc = evsel->priv;\ 202 perf_evsel__init_tp_uint_field(evsel, &sc->name, #name); }) 217 ({ struct syscall_tp *sc = evsel->priv;\ 218 perf_evsel__init_tp_ptr_field(evsel, &sc->name, #name); }) 1660 static int syscall__set_arg_fmts(struct syscall *sc) in syscall__set_arg_fmts() argument 1665 sc->arg_scnprintf = calloc(sc->nr_args, sizeof(void *)); in syscall__set_arg_fmts() 1666 if (sc->arg_scnprintf == NULL) in syscall__set_arg_fmts() 1669 if (sc->fmt) in syscall__set_arg_fmts() 1670 sc->arg_parm = sc->fmt->arg_parm; in syscall__set_arg_fmts() 1672 for (field = sc->args; field; field = field->next) { in syscall__set_arg_fmts() [all …]
|
/linux-4.4.14/drivers/net/ |
D | eql.c | 267 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *sc); 268 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *sc); 484 slave_config_t sc; in eql_g_slave_cfg() local 487 if (copy_from_user(&sc, scp, sizeof (slave_config_t))) in eql_g_slave_cfg() 490 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_g_slave_cfg() 500 sc.priority = slave->priority; in eql_g_slave_cfg() 506 if (!ret && copy_to_user(scp, &sc, sizeof (slave_config_t))) in eql_g_slave_cfg() 517 slave_config_t sc; in eql_s_slave_cfg() local 520 if (copy_from_user(&sc, scp, sizeof (slave_config_t))) in eql_s_slave_cfg() 523 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_s_slave_cfg() [all …]
|
/linux-4.4.14/arch/powerpc/boot/ |
D | cpm-serial.c | 65 u16 sc; /* Status and Control */ member 147 rbdf->sc = 0xa000; in cpm_serial_open() 152 tbdf->sc = 0x2000; in cpm_serial_open() 167 while (tbdf->sc & 0x8000) in cpm_serial_putc() 174 tbdf->sc |= 0x8000; in cpm_serial_putc() 180 return !(rbdf->sc & 0x8000); in cpm_serial_tstc() 193 rbdf->sc |= 0x8000; in cpm_serial_getc()
|
D | stdio.c | 17 const char *sc; in strnlen() local 19 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen() 21 return sc - s; in strnlen()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-reg.c | 237 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_prescaler() local 240 shfactor = 10 - (sc->hfactor + sc->vfactor); in fimc_hw_set_prescaler() 243 cfg |= (sc->pre_hratio << 16) | sc->pre_vratio; in fimc_hw_set_prescaler() 246 cfg = (sc->pre_dst_width << 16) | sc->pre_dst_height; in fimc_hw_set_prescaler() 253 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_scaler() local 269 if (!sc->enabled) in fimc_hw_set_scaler() 272 if (sc->scaleup_h) in fimc_hw_set_scaler() 275 if (sc->scaleup_v) in fimc_hw_set_scaler() 278 if (sc->copy_mode) in fimc_hw_set_scaler() 318 struct fimc_scaler *sc = &ctx->scaler; in fimc_hw_set_mainscaler() local [all …]
|
D | fimc-core.c | 253 struct fimc_scaler *sc = &ctx->scaler; in fimc_set_scaler_info() local 277 sc->real_width = sx; in fimc_set_scaler_info() 278 sc->real_height = sy; in fimc_set_scaler_info() 280 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info() 284 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info() 288 sc->pre_dst_width = sx / sc->pre_hratio; in fimc_set_scaler_info() 289 sc->pre_dst_height = sy / sc->pre_vratio; in fimc_set_scaler_info() 292 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info() 293 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info() 295 sc->main_hratio = (sx << 8) / (tx << sc->hfactor); in fimc_set_scaler_info() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/ |
D | allwinner,sun67i-sc-nmi.txt | 6 - compatible : should be "allwinner,sun7i-a20-sc-nmi" or 7 "allwinner,sun6i-a31-sc-nmi" 20 sc-nmi-intc@01c00030 { 21 compatible = "allwinner,sun7i-a20-sc-nmi";
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv50.c | 160 const struct nvkm_enum *en, *re, *cl, *sc; in nv50_fb_intr() local 195 if (cl && cl->data) sc = nvkm_enum_find(cl->data, st3); in nv50_fb_intr() 196 else if (en && en->data) sc = nvkm_enum_find(en->data, st3); in nv50_fb_intr() 197 else sc = NULL; in nv50_fb_intr() 208 st2, cl ? cl->name : "", st3, sc ? sc->name : "", in nv50_fb_intr()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | string.c | 61 const char *sc = s; in strlen() local 63 while (*sc != '\0') in strlen() 64 sc++; in strlen() 65 return sc - s; in strlen()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | signal.c | 137 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext() local 141 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() 151 err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4); in setup_sigcontext() 152 err |= __put_user(0, &sc->sc_xtregs); in setup_sigcontext() 168 err |= __put_user(err ? NULL : &frame->xtregs, &sc->sc_xtregs); in setup_sigcontext() 176 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in restore_sigcontext() local 181 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() 201 err |= __get_user(ps, &sc->sc_ps); in restore_sigcontext() 210 err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4); in restore_sigcontext()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | string.h | 10 const char *sc = s; in strnlen() local 19 : "+a" (sc), "+d" (count)); in strnlen() 20 return sc - s; in strnlen()
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 53 static void sas_end_task(struct scsi_cmnd *sc, struct sas_task *task) in sas_end_task() argument 72 scsi_set_resid(sc, ts->residual); in sas_end_task() 73 if (scsi_bufflen(sc) - scsi_get_resid(sc) < sc->underflow) in sas_end_task() 103 memcpy(sc->sense_buffer, ts->buf, in sas_end_task() 113 sc->result = (hs << 16) | stat; in sas_end_task() 114 ASSIGN_SAS_TASK(sc, NULL); in sas_end_task() 120 struct scsi_cmnd *sc = task->uldd_task; in sas_scsi_task_done() local 129 ASSIGN_SAS_TASK(sc, NULL); in sas_scsi_task_done() 138 if (unlikely(!sc)) { in sas_scsi_task_done() 144 sas_end_task(sc, task); in sas_scsi_task_done() [all …]
|
/linux-4.4.14/lib/ |
D | string.c | 479 const char *sc; in strlen() local 481 for (sc = s; *sc != '\0'; ++sc) in strlen() 483 return sc - s; in strlen() 496 const char *sc; in strnlen() local 498 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen() 500 return sc - s; in strnlen()
|
/linux-4.4.14/fs/ |
D | super.c | 56 struct shrink_control *sc) in super_cache_scan() argument 71 if (!(sc->gfp_mask & __GFP_FS)) in super_cache_scan() 78 fs_objects = sb->s_op->nr_cached_objects(sb, sc); in super_cache_scan() 80 inodes = list_lru_shrink_count(&sb->s_inode_lru, sc); in super_cache_scan() 81 dentries = list_lru_shrink_count(&sb->s_dentry_lru, sc); in super_cache_scan() 87 dentries = mult_frac(sc->nr_to_scan, dentries, total_objects); in super_cache_scan() 88 inodes = mult_frac(sc->nr_to_scan, inodes, total_objects); in super_cache_scan() 89 fs_objects = mult_frac(sc->nr_to_scan, fs_objects, total_objects); in super_cache_scan() 98 sc->nr_to_scan = dentries + 1; in super_cache_scan() 99 freed = prune_dcache_sb(sb, sc); in super_cache_scan() [all …]
|
D | internal.h | 115 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc); 132 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
|
/linux-4.4.14/net/tipc/ |
D | addr.c | 72 u32 addr_domain(struct net *net, u32 sc) in addr_domain() argument 76 if (likely(sc == TIPC_NODE_SCOPE)) in addr_domain() 78 if (sc == TIPC_CLUSTER_SCOPE) in addr_domain()
|
D | addr.h | 70 u32 addr_domain(struct net *net, u32 sc);
|
/linux-4.4.14/tools/testing/selftests/powerpc/switch_endian/ |
D | switch_endian_test.S | 64 sc 77 sc 80 sc
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_bulk.c | 222 struct shrink_control *sc) in enc_pools_shrink_count() argument 244 struct shrink_control *sc) in enc_pools_shrink_scan() argument 247 sc->nr_to_scan = min_t(unsigned long, sc->nr_to_scan, in enc_pools_shrink_scan() 249 if (sc->nr_to_scan > 0) { in enc_pools_shrink_scan() 250 enc_pools_release_free_pages(sc->nr_to_scan); in enc_pools_shrink_scan() 252 (long)sc->nr_to_scan, page_pools.epp_free_pages); in enc_pools_shrink_scan() 271 return sc->nr_to_scan; in enc_pools_shrink_scan()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | signal.h | 26 extern int protected_save_fp_context(void __user *sc); 27 extern int protected_restore_fp_context(void __user *sc);
|
/linux-4.4.14/arch/alpha/boot/ |
D | stdio.c | 14 const char *sc; in strnlen() local 16 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen() 18 return sc - s; in strnlen()
|
/linux-4.4.14/arch/s390/kernel/ |
D | signal.c | 64 struct sigcontext sc; member 222 if (__copy_from_user(&set.sig, &frame->sc.oldmask, _SIGMASK_COPY_SIZE)) in SYSCALL_DEFINE0() 289 struct sigcontext sc; in setup_frame() local 311 memcpy(&sc.oldmask, &set->sig, _SIGMASK_COPY_SIZE); in setup_frame() 312 sc.sregs = (_sigregs __user __force *) &frame->sregs; in setup_frame() 313 if (__copy_to_user(&frame->sc, &sc, sizeof(frame->sc))) in setup_frame() 353 regs->gprs[3] = (unsigned long) &frame->sc; in setup_frame()
|
D | compat_signal.c | 36 struct sigcontext32 sc; member 300 if (__copy_from_user(&cset.sig, &frame->sc.oldmask, _SIGMASK_COPY_SIZE32)) in COMPAT_SYSCALL_DEFINE0() 375 struct sigcontext32 sc; in setup_frame32() local 397 sigset_to_sigset32(set->sig, sc.oldmask); in setup_frame32() 398 sc.sregs = (__u32)(unsigned long __force) &frame->sregs; in setup_frame32() 399 if (__copy_to_user(&frame->sc, &sc, sizeof(frame->sc))) in setup_frame32() 440 regs->gprs[3] = (__force __u64) &frame->sc; in setup_frame32()
|
/linux-4.4.14/drivers/isdn/sc/ |
D | Makefile | 5 obj-$(CONFIG_ISDN_DRV_SC) += sc.o 9 sc-y := shmem.o init.o packet.o command.o event.o \
|
D | Kconfig | 7 To build it, choose M here: the module will be called sc. 8 See <file:Documentation/isdn/README.sc> for more information.
|
/linux-4.4.14/arch/m32r/kernel/ |
D | signal.c | 45 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, in restore_sigcontext() argument 53 #define COPY(x) err |= __get_user(regs->x, &sc->sc_##x) in restore_sigcontext() 83 err |= __get_user(*r0_p, &sc->sc_r0); in restore_sigcontext() 122 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 127 #define COPY(x) err |= __put_user(regs->x, &sc->sc_##x) in setup_sigcontext() 156 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_dbf.c | 402 void zfcp_dbf_scsi(char *tag, struct scsi_cmnd *sc, struct zfcp_fsf_req *fsf) in zfcp_dbf_scsi() argument 405 (struct zfcp_adapter *) sc->device->host->hostdata[0]; in zfcp_dbf_scsi() 417 rec->scsi_result = sc->result; in zfcp_dbf_scsi() 418 rec->scsi_retries = sc->retries; in zfcp_dbf_scsi() 419 rec->scsi_allowed = sc->allowed; in zfcp_dbf_scsi() 420 rec->scsi_id = sc->device->id; in zfcp_dbf_scsi() 422 rec->scsi_lun = (u32)sc->device->lun; in zfcp_dbf_scsi() 423 rec->host_scribble = (unsigned long)sc->host_scribble; in zfcp_dbf_scsi() 425 memcpy(rec->scsi_opcode, sc->cmnd, in zfcp_dbf_scsi() 426 min((int)sc->cmd_len, ZFCP_DBF_SCSI_OPCODE)); in zfcp_dbf_scsi() [all …]
|
/linux-4.4.14/tools/testing/selftests/powerpc/tm/ |
D | tm-syscall-asm.S | 9 sc 21 sc
|
/linux-4.4.14/kernel/trace/ |
D | trace_kprobe.c | 93 unsigned long update_symbol_cache(struct symbol_cache *sc) in update_symbol_cache() argument 95 sc->addr = (unsigned long)kallsyms_lookup_name(sc->symbol); in update_symbol_cache() 97 if (sc->addr) in update_symbol_cache() 98 sc->addr += sc->offset; in update_symbol_cache() 100 return sc->addr; in update_symbol_cache() 103 void free_symbol_cache(struct symbol_cache *sc) in free_symbol_cache() argument 105 kfree(sc->symbol); in free_symbol_cache() 106 kfree(sc); in free_symbol_cache() 111 struct symbol_cache *sc; in alloc_symbol_cache() local 116 sc = kzalloc(sizeof(struct symbol_cache), GFP_KERNEL); in alloc_symbol_cache() [all …]
|
D | trace_probe.h | 234 unsigned long update_symbol_cache(struct symbol_cache *sc); 235 void free_symbol_cache(struct symbol_cache *sc); 248 static inline unsigned long __used update_symbol_cache(struct symbol_cache *sc) in update_symbol_cache() argument 253 static inline void __used free_symbol_cache(struct symbol_cache *sc) in free_symbol_cache() argument
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_shrinker.c | 207 i915_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_count() argument 236 i915_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_scan() argument 248 sc->nr_to_scan, in i915_gem_shrinker_scan() 252 if (freed < sc->nr_to_scan) in i915_gem_shrinker_scan() 254 sc->nr_to_scan - freed, in i915_gem_shrinker_scan()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | sighandling.h | 16 int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc); 17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 87 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc); 147 lpfc_cmd_blksize(struct scsi_cmnd *sc) in lpfc_cmd_blksize() argument 149 return sc->device->sector_size; in lpfc_cmd_blksize() 155 lpfc_cmd_protect(struct scsi_cmnd *sc, int flag) in lpfc_cmd_protect() argument 161 lpfc_cmd_guard_csum(struct scsi_cmnd *sc) in lpfc_cmd_guard_csum() argument 163 if (lpfc_prot_group_type(NULL, sc) == LPFC_PG_TYPE_NO_DIF) in lpfc_cmd_guard_csum() 165 if (scsi_host_get_guard(sc->device->host) == SHOST_DIX_GUARD_IP) in lpfc_cmd_guard_csum() 1292 lpfc_bg_err_inject(struct lpfc_hba *phba, struct scsi_cmnd *sc, in lpfc_bg_err_inject() argument 1300 uint32_t op = scsi_get_prot_op(sc); in lpfc_bg_err_inject() 1310 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject() [all …]
|
/linux-4.4.14/include/scsi/ |
D | libiscsi.h | 129 struct scsi_cmnd *sc; /* associated SCSI cmd*/ member 381 extern int iscsi_eh_abort(struct scsi_cmnd *sc); 382 extern int iscsi_eh_recover_target(struct scsi_cmnd *sc); 383 extern int iscsi_eh_session_reset(struct scsi_cmnd *sc); 384 extern int iscsi_eh_device_reset(struct scsi_cmnd *sc); 385 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | signal.c | 48 struct sigcontext sc; member 60 struct sigcontext __user *sc, int *rval_p) in restore_sigcontext() argument 64 #define COPY(x) {err |= __get_user(regs->x, &sc->regs.x); } in restore_sigcontext() 120 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 125 #define COPY(x) {err |= __put_user(regs->x, &sc->regs.x); } in setup_sigcontext() 139 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | signal.c | 41 rt_restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *pr0) in rt_restore_sigcontext() argument 49 #define RESTORE(x) err |= __get_user(regs->x, &sc->sc_##x) in rt_restore_sigcontext() 56 err |= __get_user(usp, &sc->sc_usp); in rt_restore_sigcontext() 108 static inline int rt_setup_sigcontext(struct sigcontext *sc, struct pt_regs *regs) in rt_setup_sigcontext() argument 112 #define SETUP(x) err |= __put_user(regs->x, &sc->sc_##x) in rt_setup_sigcontext() 118 err |= __put_user(rdusp(), &sc->sc_usp); in rt_setup_sigcontext()
|
/linux-4.4.14/sound/pci/lola/ |
D | lola_clock.c | 195 struct lola_sample_clock *sc; in lola_init_clock_widget() local 196 sc = &chip->clock.sample_clock[idx_list]; in lola_init_clock_widget() 197 sc->type = type; in lola_init_clock_widget() 198 sc->format = format; in lola_init_clock_widget() 199 sc->freq = freq; in lola_init_clock_widget()
|
/linux-4.4.14/fs/f2fs/ |
D | shrinker.c | 39 struct shrink_control *sc) in f2fs_shrink_count() argument 75 struct shrink_control *sc) in f2fs_shrink_scan() argument 77 unsigned long nr = sc->nr_to_scan; in f2fs_shrink_scan()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 60 struct scatterlist *sc; in asd_map_scatterlist() local 97 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist() 100 sg->bus_addr = cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist() 101 sg->size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist() 106 for_each_sg(task->scatter, sc, 2, i) { in asd_map_scatterlist() 108 cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist() 109 sg_arr[i].size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist() 118 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist() 120 cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist() 121 sg_arr[i].size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist()
|
/linux-4.4.14/arch/parisc/lib/ |
D | memset.c | 28 memset (void *dstpp, int sc, size_t len) in memset() argument 30 unsigned int c = sc; in memset()
|
/linux-4.4.14/arch/c6x/kernel/ |
D | signal.c | 38 struct sigcontext __user *sc) in restore_sigcontext() argument 43 #define COPY(x) (err |= __get_user(regs->x, &sc->sc_##x)) in restore_sigcontext() 100 static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument 105 err |= __put_user(mask, &sc->sc_mask); in setup_sigcontext() 108 #define COPY(x) (err |= __put_user(regs->x, &sc->sc_##x)) in setup_sigcontext()
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-regs.c | 349 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_prescaler() local 352 cfg = GSC_PRESC_SHFACTOR(sc->pre_shfactor); in gsc_hw_set_prescaler() 353 cfg |= GSC_PRESC_H_RATIO(sc->pre_hratio); in gsc_hw_set_prescaler() 354 cfg |= GSC_PRESC_V_RATIO(sc->pre_vratio); in gsc_hw_set_prescaler() 361 struct gsc_scaler *sc = &ctx->scaler; in gsc_hw_set_mainscaler() local 364 cfg = GSC_MAIN_H_RATIO_VALUE(sc->main_hratio); in gsc_hw_set_mainscaler() 367 cfg = GSC_MAIN_V_RATIO_VALUE(sc->main_vratio); in gsc_hw_set_mainscaler()
|
D | gsc-core.c | 637 struct gsc_scaler *sc = &ctx->scaler; in gsc_set_scaler_info() local 668 tx, &sc->pre_hratio); in gsc_set_scaler_info() 675 ty, &sc->pre_vratio); in gsc_set_scaler_info() 681 gsc_check_src_scale_info(variant, s_frame, &sc->pre_hratio, in gsc_set_scaler_info() 682 tx, ty, &sc->pre_vratio); in gsc_set_scaler_info() 684 gsc_get_prescaler_shfactor(sc->pre_hratio, sc->pre_vratio, in gsc_set_scaler_info() 685 &sc->pre_shfactor); in gsc_set_scaler_info() 687 sc->main_hratio = (s_frame->crop.width << 16) / tx; in gsc_set_scaler_info() 688 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info() 693 sc->pre_shfactor, sc->pre_hratio); in gsc_set_scaler_info() [all …]
|
/linux-4.4.14/arch/avr32/kernel/ |
D | signal.c | 32 restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc) in restore_sigcontext() argument 36 #define COPY(x) err |= __get_user(regs->x, &sc->x) in restore_sigcontext() 102 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) in setup_sigcontext() argument 106 #define COPY(x) err |= __put_user(regs->x, &sc->x) in setup_sigcontext()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_release.c | 63 int count = 0, sc = 0; in qxl_fence_wait() local 72 sc++; in qxl_fence_wait() 90 if (have_drawable_releases || sc < 4) { in qxl_fence_wait() 91 if (sc > 2) in qxl_fence_wait() 98 if (have_drawable_releases && sc > 300) { in qxl_fence_wait() 101 fence->context & ~0xf0000000, sc); in qxl_fence_wait()
|
/linux-4.4.14/fs/ubifs/ |
D | shrinker.c | 280 struct shrink_control *sc) in ubifs_shrink_count() argument 292 struct shrink_control *sc) in ubifs_shrink_scan() argument 294 unsigned long nr = sc->nr_to_scan; in ubifs_shrink_scan()
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion_heap.c | 269 struct shrink_control *sc) in ion_heap_shrink_count() argument 277 total += heap->ops->shrink(heap, sc->gfp_mask, 0); in ion_heap_shrink_count() 282 struct shrink_control *sc) in ion_heap_shrink_scan() argument 287 int to_scan = sc->nr_to_scan; in ion_heap_shrink_scan() 305 freed += heap->ops->shrink(heap, sc->gfp_mask, to_scan); in ion_heap_shrink_scan()
|
/linux-4.4.14/drivers/tty/serial/ |
D | ioc3_serial.c | 267 char sc[4]; /* status/control */ member 276 #define ring_sc u.s.sc 1125 char *sc; in do_read() local 1242 sc = &(entry->ring_sc[byte_num]); in do_read() 1245 if ((*sc & RXSB_MODEM_VALID) in do_read() 1249 && !(*sc & RXSB_DCD)) { in do_read() 1267 *sc &= ~RXSB_MODEM_VALID; in do_read() 1303 if (*sc & RXSB_MODEM_VALID) { in do_read() 1305 if ((*sc & RXSB_OVERRUN) in do_read() 1310 *sc &= ~RXSB_MODEM_VALID; in do_read() [all …]
|
D | ioc4_serial.c | 599 char sc[4]; /* status/control */ member 608 #define ring_sc u.s.sc 2075 char *sc; in do_read() local 2191 sc = &(entry->ring_sc[byte_num]); in do_read() 2194 if ((*sc & IOC4_RXSB_MODEM_VALID) in do_read() 2199 && !(*sc & IOC4_RXSB_DCD)) { in do_read() 2218 *sc &= ~IOC4_RXSB_MODEM_VALID; in do_read() 2253 if (*sc & IOC4_RXSB_MODEM_VALID) { in do_read() 2255 if ((*sc & IOC4_RXSB_OVERRUN) in do_read() 2260 *sc &= ~IOC4_RXSB_MODEM_VALID; in do_read() [all …]
|
/linux-4.4.14/drivers/usb/storage/ |
D | usual-tables.c | 45 #define UNUSUAL_VENDOR_INTF(id_vendor, cl, sc, pr, \ argument 53 .bInterfaceSubClass = (sc), \
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 145 struct scsi_cmnd *sc = cmd->scsi_cmd; in bnx2i_map_scsi_sg() local 155 BUG_ON(scsi_sg_count(sc) > ISCSI_MAX_BDS_PER_CMD); in bnx2i_map_scsi_sg() 157 sg_count = scsi_dma_map(sc); in bnx2i_map_scsi_sg() 159 scsi_for_each_sg(sc, sg, sg_count, i) { in bnx2i_map_scsi_sg() 176 BUG_ON(byte_count != scsi_bufflen(sc)); in bnx2i_map_scsi_sg() 209 struct scsi_cmnd *sc = cmd->scsi_cmd; in bnx2i_iscsi_unmap_sg_list() local 211 if (cmd->io_tbl.bd_valid && sc) { in bnx2i_iscsi_unmap_sg_list() 212 scsi_dma_unmap(sc); in bnx2i_iscsi_unmap_sg_list() 1131 static void bnx2i_cpy_scsi_cdb(struct scsi_cmnd *sc, struct bnx2i_cmd *cmd) in bnx2i_cpy_scsi_cdb() argument 1139 int_to_scsilun(sc->device->lun, (struct scsi_lun *) scsi_lun); in bnx2i_cpy_scsi_cdb() [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | signal.c | 46 struct sigcontext __user *sc) in restore_sigcontext() argument 59 err = __copy_from_user(regs, sc, sizeof(*regs)); in restore_sigcontext() 108 int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs) in setup_sigcontext() argument 110 return __copy_to_user(sc, regs, sizeof(*regs)); in setup_sigcontext()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | mISDNinfineon.c | 120 struct inf_hw *sc[3]; /* slave cards */ member 886 if (card->sc[i]) in release_card() 887 release_card(card->sc[i]); in release_card() 888 card->sc[i] = NULL; in release_card() 1113 struct inf_hw *sc; in inf_probe() local 1116 sc = kzalloc(sizeof(struct inf_hw), GFP_KERNEL); in inf_probe() 1117 if (!sc) { in inf_probe() 1122 sc->irq = card->irq; in inf_probe() 1123 sc->pdev = card->pdev; in inf_probe() 1124 sc->ci = card->ci + i; in inf_probe() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 1957 struct wmi_start_scan_cmd *sc; in ath6kl_wmi_startscan_cmd() local 1976 sc = (struct wmi_start_scan_cmd *) skb->data; in ath6kl_wmi_startscan_cmd() 1977 sc->scan_type = scan_type; in ath6kl_wmi_startscan_cmd() 1978 sc->force_fg_scan = cpu_to_le32(force_fgscan); in ath6kl_wmi_startscan_cmd() 1979 sc->is_legacy = cpu_to_le32(is_legacy); in ath6kl_wmi_startscan_cmd() 1980 sc->home_dwell_time = cpu_to_le32(home_dwell_time); in ath6kl_wmi_startscan_cmd() 1981 sc->force_scan_intvl = cpu_to_le32(force_scan_interval); in ath6kl_wmi_startscan_cmd() 1982 sc->num_ch = num_chan; in ath6kl_wmi_startscan_cmd() 1985 sc->ch_list[i] = cpu_to_le16(ch_list[i]); in ath6kl_wmi_startscan_cmd() 2006 struct wmi_begin_scan_cmd *sc; in ath6kl_wmi_beginscan_cmd() local [all …]
|
/linux-4.4.14/include/trace/events/ |
D | vmscan.h | 183 TP_PROTO(struct shrinker *shr, struct shrink_control *sc, 188 TP_ARGS(shr, sc, nr_objects_to_shrink, pgs_scanned, lru_pgs, 207 __entry->nid = sc->nid; 209 __entry->gfp_flags = sc->gfp_mask;
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_80211_rx.c | 255 u16 sc; in prism2_frag_cache_get() local 259 sc = le16_to_cpu(hdr->seq_ctrl); in prism2_frag_cache_get() 260 frag = sc & IEEE80211_SCTL_FRAG; in prism2_frag_cache_get() 261 seq = (sc & IEEE80211_SCTL_SEQ) >> 4; in prism2_frag_cache_get() 306 u16 sc; in prism2_frag_cache_invalidate() local 310 sc = le16_to_cpu(hdr->seq_ctrl); in prism2_frag_cache_invalidate() 311 seq = (sc & IEEE80211_SCTL_SEQ) >> 4; in prism2_frag_cache_invalidate() 724 u16 fc, type, stype, sc; in hostap_80211_rx() local 756 sc = le16_to_cpu(hdr->seq_ctrl); in hostap_80211_rx() 757 frag = sc & IEEE80211_SCTL_FRAG; in hostap_80211_rx() [all …]
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-regs.c | 367 struct camif_scaler *sc = &vp->scaler; in camif_hw_set_prescaler() local 372 shfactor = 10 - (sc->h_shift + sc->v_shift); in camif_hw_set_prescaler() 375 cfg |= (sc->pre_h_ratio << 16) | sc->pre_v_ratio; in camif_hw_set_prescaler() 378 cfg = (sc->pre_dst_width << 16) | sc->pre_dst_height; in camif_hw_set_prescaler()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | ipipe.h | 174 #define __ipipe_syscall_watched_p(p, sc) \ argument 175 (ipipe_notifier_enabled_p(p) || (unsigned long)sc >= NR_syscalls)
|
/linux-4.4.14/arch/m68k/atari/ |
D | atakeyb.c | 107 #define IS_SYNC_CODE(sc) ((sc) >= 0x04 && (sc) <= 0xfb) argument
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | clockdomains3xxx_data.c | 500 struct clockdomain **sc; in omap3xxx_clockdomains_init() local 517 sc = (rev == OMAP3430_REV_ES1_0) ? in omap3xxx_clockdomains_init() 520 clkdm_register_clkdms(sc); in omap3xxx_clockdomains_init()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 93 u16 sc; in libipw_frag_cache_get() local 97 sc = le16_to_cpu(hdr->seq_ctl); in libipw_frag_cache_get() 98 frag = WLAN_GET_SEQ_FRAG(sc); in libipw_frag_cache_get() 99 seq = WLAN_GET_SEQ_SEQ(sc); in libipw_frag_cache_get() 143 u16 sc; in libipw_frag_cache_invalidate() local 147 sc = le16_to_cpu(hdr->seq_ctl); in libipw_frag_cache_invalidate() 148 seq = WLAN_GET_SEQ_SEQ(sc); in libipw_frag_cache_invalidate() 338 u16 fc, type, stype, sc; in libipw_rx() local 365 sc = le16_to_cpu(hdr->seq_ctl); in libipw_rx() 366 frag = WLAN_GET_SEQ_FRAG(sc); in libipw_rx() [all …]
|
/linux-4.4.14/Documentation/isdn/ |
D | README.sc | 122 tar xzf sc-n.nn.tar.gz -C /usr/src/spellcaster 132 Make sure you read the scctrl(8) and sc(4) manual pages before continuing 133 any further. Type 'man 8 scctrl' and 'man 4 sc'. 137 To install the driver, type '/sbin/insmod sc' as root. sc(4) details options 145 "sc" into this file. 150 for more on this) and then type '/sbin/rmmod sc'. 158 If you get a message that says 'initialization of sc failed', then the 161 resources available, use the insmod options detailed in sc(4) to override 166 done with 'cat /proc/interrupts' the interrupt count for sc was 0. In the event
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 1585 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_map_sg() local 1600 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg() 1601 scsi_sg_count(sc), sc->sc_data_direction); in bnx2fc_map_sg() 1602 scsi_for_each_sg(sc, sg, sg_count, i) { in bnx2fc_map_sg() 1619 if (byte_count != scsi_bufflen(sc)) in bnx2fc_map_sg() 1621 "task_id = 0x%x\n", byte_count, scsi_bufflen(sc), in bnx2fc_map_sg() 1628 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_build_bd_list_from_sg() local 1632 if (scsi_sg_count(sc)) { in bnx2fc_build_bd_list_from_sg() 1648 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_unmap_sg_list() local 1656 if (io_req->bd_tbl->bd_valid && sc && scsi_sg_count(sc)) { in bnx2fc_unmap_sg_list() [all …]
|
/linux-4.4.14/include/linux/ceph/ |
D | libceph.h | 166 struct ceph_snap_context *sc); 167 extern void ceph_put_snap_context(struct ceph_snap_context *sc);
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1690 struct scsi_cmnd *sc = task->sc; in task_release_itt() local 1699 if (sc && in task_release_itt() 1700 (scsi_bidi_cmnd(sc) || sc->sc_data_direction == DMA_FROM_DEVICE) && in task_release_itt() 1707 struct scsi_cmnd *sc = task->sc; in task_reserve_itt() local 1718 if (sc && in task_reserve_itt() 1719 (scsi_bidi_cmnd(sc) || sc->sc_data_direction == DMA_FROM_DEVICE)) { in task_reserve_itt() 1721 scsi_in(sc)->length, in task_reserve_itt() 1722 scsi_in(sc)->table.sgl, in task_reserve_itt() 1723 scsi_in(sc)->table.nents, in task_reserve_itt() 1728 cconn->cep->csk, task, scsi_in(sc)->length, in task_reserve_itt() [all …]
|
/linux-4.4.14/drivers/isdn/ |
D | Makefile | 13 obj-$(CONFIG_ISDN_DRV_SC) += sc/
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 569 DDeessccrriippttiioonn This call is made to Venus during the initialization of 604 DDeessccrriippttiioonn This call is made to determine the ViceFid and filetype of 649 DDeessccrriippttiioonn This call returns the attributes of the file identified by 687 DDeessccrriippttiioonn The structure attr is filled with attributes to be changed 718 DDeessccrriippttiioonn Verify if access to the object identified by VFid for 759 DDeessccrriippttiioonn This upcall is invoked to request creation of a file. 816 DDeessccrriippttiioonn This call is similar to create but creates a directory. 851 DDeessccrriippttiioonn This call creates a link to the sourceFid in the directory 880 DDeessccrriippttiioonn Create a symbolic link. The link is to be placed in the 911 DDeessccrriippttiioonn Remove file named cfs_remove_in.name in directory [all …]
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 100 u16 sc = le16_to_cpu(hdr->seq_ctl); in rtllib_frag_cache_get() local 101 unsigned int frag = WLAN_GET_SEQ_FRAG(sc); in rtllib_frag_cache_get() 102 unsigned int seq = WLAN_GET_SEQ_SEQ(sc); in rtllib_frag_cache_get() 171 u16 sc = le16_to_cpu(hdr->seq_ctl); in rtllib_frag_cache_invalidate() local 172 unsigned int seq = WLAN_GET_SEQ_SEQ(sc); in rtllib_frag_cache_invalidate() 373 u16 sc = le16_to_cpu(header->seq_ctl); in is_duplicate_packet() local 374 u16 seq = WLAN_GET_SEQ_SEQ(sc); in is_duplicate_packet() 375 u16 frag = WLAN_GET_SEQ_FRAG(sc); in is_duplicate_packet() 929 u16 fc, sc; in rtllib_rx_check_duplicate() local 935 sc = le16_to_cpu(hdr->seq_ctl); in rtllib_rx_check_duplicate() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfscache.c | 67 struct shrink_control *sc); 69 struct shrink_control *sc); 271 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() argument 277 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan() argument
|