/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 61 sc->cur_survey = &sc->survey[pos]; in ath_set_channel() 537 sc->next_chan = &sc->offchannel.chan; in ath_chanctx_event() 676 sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_event() 714 sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_event() 720 sc->next_chan = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event() 749 sc->next_chan = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event() 1167 if (sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_defer_switch() 1214 if (sc->cur_chan != &sc->offchannel.chan) in ath_offchannel_channel_change() 1255 if (sc->cur_chan != sc->next_chan) { in ath_chanctx_set_next() [all …]
|
H A D | main.c | 101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); in ath_ps_full_sleep() local 204 ieee80211_queue_delayed_work(sc->hw, &sc->hw_check_work, in ath_restart_work() 207 if (AR_SREV_9340(sc->sc_ah) || AR_SREV_9330(sc->sc_ah)) in ath_restart_work() 208 ieee80211_queue_delayed_work(sc->hw, &sc->hw_pll_work, in ath_restart_work() 240 ath9k_calculate_summary_state(sc, sc->cur_chan); in ath_complete_reset() 321 sc->cur_chandef = sc->cur_chan->chandef; in ath_reset_internal() 360 an->sc = sc; in ath_node_attach() 380 struct ath_softc *sc = from_tasklet(sc, t, intr_tq); in ath9k_tasklet() local 637 ieee80211_queue_work(sc->hw, &sc->hw_reset_work); in ath9k_queue_reset() 1368 an->sc = sc; in ath9k_add_interface() [all …]
|
H A D | recv.c | 63 if (sc->rx.rxlink) in ath_rx_buf_link() 74 if (sc->rx.buf_hold) in ath_rx_buf_relink() 75 ath_rx_buf_link(sc, sc->rx.buf_hold, flush); in ath_rx_buf_relink() 77 sc->rx.buf_hold = bf; in ath_rx_buf_relink() 262 ath9k_hw_startpcureceive(sc->sc_ah, sc->cur_chan->offchannel); in ath_edma_start_recv() 291 error = ath_descdma_setup(sc, &sc->rx.rxdma, &sc->rx.rxbuf, in ath_rx_init() 424 if (AR_SREV_9550(sc->sc_ah) || AR_SREV_9531(sc->sc_ah) || in ath_calcrxfilter() 428 if (AR_SREV_9462(sc->sc_ah) || AR_SREV_9565(sc->sc_ah)) in ath_calcrxfilter() 489 ath_flushrecv(sc); in ath_stoprecv() 554 if (sc->cur_chan == &sc->offchannel.chan) in ath_rx_ps_beacon() [all …]
|
H A D | tx99.c | 25 ath_startrecv(sc); in ath9k_tx99_stop() 33 sc->tx99_skb = NULL; in ath9k_tx99_stop() 75 if (sc->tx99_vif) { in ath9k_build_tx99_skb() 121 sc->tx99_skb = ath9k_build_tx99_skb(sc); in ath9k_tx99_init() 122 if (!sc->tx99_skb) in ath9k_tx99_init() 134 ath_stoprecv(sc); in ath9k_tx99_init() 144 r = ath9k_tx99_send(sc, sc->tx99_skb, &txctl); in ath9k_tx99_init() 151 sc->tx99_power, in ath9k_tx99_init() 254 ath9k_hw_tx99_set_txpower(sc->sc_ah, sc->tx99_power); in write_file_tx99_power() 274 sc->debug.debugfs_phy, sc, in ath9k_tx99_init_debug() [all …]
|
H A D | beacon.c | 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 183 ath_draintxq(sc, cabq); in ath9k_beacon_generate() 390 struct ath_softc *sc = from_tasklet(sc, t, bcon_tasklet); in ath9k_beacon_tasklet() local 412 sc->beacon.bmisscnt++; in ath9k_beacon_tasklet() 422 if (!ath_hw_check(sc)) in ath9k_beacon_tasklet() 425 if (sc->beacon.bmisscnt < BSTUCK_THRESH * sc->nbcnvifs) { in ath9k_beacon_tasklet() 466 sc->beacon.bmisscnt); in ath9k_beacon_tasklet() 639 ath9k_beacon_stop(sc); in ath9k_beacon_config() 655 ath9k_set_beacon(sc); in ath9k_beacon_config() 687 ath9k_set_beacon(sc); in ath9k_beacon_config() [all …]
|
H A D | gpio.c | 60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin); in ath_deinit_leds() 81 ath_fill_led_pin(sc); in ath_init_leds() 87 snprintf(sc->led_name, sizeof(sc->led_name), in ath_init_leds() 89 sc->led_cdev.name = sc->led_name; in ath_init_leds() 92 ret = led_classdev_register(wiphy_dev(sc->hw->wiphy), &sc->led_cdev); in ath_init_leds() 109 ath9k_ps_wakeup(sc); in ath_is_rfkill_set() 112 ath9k_ps_restore(sc); in ath_is_rfkill_set() 196 struct ath_softc *sc = from_timer(sc, t, btcoex.period_timer); in ath_btcoex_period_timer() local 257 struct ath_softc *sc = from_timer(sc, t, btcoex.no_stomp_timer); in ath_btcoex_no_stomp_timer() local [all …]
|
H A D | init.c | 262 sc->dfs_detector->set_dfs_domain(sc->dfs_detector, in ath9k_reg_notifier() 410 sc->beacon.beaconq = ath9k_hw_beaconq_setup(sc->sc_ah); in ath9k_init_queues() 411 sc->beacon.cabq = ath_txq_setup(sc, ATH9K_TX_QUEUE_CAB, 0); in ath9k_init_queues() 414 sc->tx.uapsdq = ath_txq_setup(sc, ATH9K_TX_QUEUE_UAPSD, 0); in ath9k_init_queues() 417 sc->tx.txq_map[i] = ath_txq_setup(sc, ATH9K_TX_QUEUE_DATA, i); in ath9k_init_queues() 440 sc->spec_priv.ah = sc->sc_ah; in ath9k_init_misc() 728 sc->sc_ah = ah; in ath9k_init_softc() 732 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc() 835 ath_tx_cleanupq(sc, &sc->tx.txq[i]); in ath9k_init_softc() 1146 ath_tx_cleanupq(sc, &sc->tx.txq[i]); in ath9k_deinit_softc() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | agheader.c | 48 error = xchk_ag_init_existing(sc, agno, &sc->sa); in xchk_superblock_xref() 462 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks() 512 xchk_ag_btcur_init(sc, &sc->sa); in xchk_agf_xref() 548 xchk_buffer_recheck(sc, sc->sa.agf_bp); in xchk_agf() 556 xchk_block_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf() 561 xchk_block_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf() 660 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block() local 700 xchk_ag_btcur_init(sc, &sc->sa); in xchk_agfl_xref() 720 .sc = sc, in xchk_agfl() 855 xchk_ag_btcur_init(sc, &sc->sa); in xchk_agi_xref() [all …]
|
H A D | common.c | 81 sc->ip ? sc->ip : XFS_I(file_inode(sc->file)), in __xchk_process_error() 136 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_fblock_process_error() 673 return xfs_trans_alloc_empty(sc->mp, &sc->tp); in xchk_trans_alloc() 712 return xchk_ag_init(sc, sc->sm->sm_agno, &sc->sa); in xchk_setup_ag_btree() 884 if (!xfs_verify_ino(sc->mp, sc->sm->sm_ino)) in xchk_iget_for_scrubbing() 888 error = xchk_iget_safe(sc, sc->sm->sm_ino, &ip); in xchk_iget_for_scrubbing() 955 error = xfs_imap(pag, sc->tp, sc->sm->sm_ino, &imap, in xchk_iget_for_scrubbing() 1177 xchk_ino_set_corrupt(sc, sc->ip->i_ino); in xchk_metadata_inode_forks() 1183 xchk_ino_set_corrupt(sc, sc->ip->i_ino); in xchk_metadata_inode_forks() 1189 xchk_ino_set_corrupt(sc, sc->ip->i_ino); in xchk_metadata_inode_forks() [all …]
|
H A D | common.h | 16 struct xfs_scrub *sc, in xchk_should_terminate() argument 78 int xchk_setup_fs(struct xfs_scrub *sc); 95 xchk_setup_rtbitmap(struct xfs_scrub *sc) in xchk_setup_rtbitmap() argument 109 xchk_setup_quota(struct xfs_scrub *sc) in xchk_setup_quota() argument 127 struct xfs_scrub *sc, in xchk_ag_init_existing() argument 175 ASSERT(sc->tp == NULL); in xchk_iget_safe() 177 error = xchk_trans_alloc(sc, 0); in xchk_iget_safe() 180 error = xchk_iget(sc, inum, ipp); in xchk_iget_safe() 181 xchk_trans_cancel(sc); in xchk_iget_safe() 204 # define xchk_needs_repair(sc) (false) argument [all …]
|
H A D | inode.c | 94 if (!xfs_verify_ino(sc->mp, sc->sm->sm_ino)) in xchk_setup_inode() 98 error = xchk_iget_safe(sc, sc->sm->sm_ino, &ip); in xchk_setup_inode() 167 error = xfs_imap(pag, sc->tp, sc->sm->sm_ino, &imap, in xchk_setup_inode() 606 if (!sc->sa.fino_cur || xchk_skip_xref(sc->sm)) in xchk_inode_xref_finobt() 658 xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino); in xchk_inode_xref_bmap() 665 xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino); in xchk_inode_xref_bmap() 669 xchk_ino_xref_set_corrupt(sc, sc->ip->i_ino); in xchk_inode_xref_bmap() 701 xchk_ag_free(sc, &sc->sa); in xchk_inode_xref() 747 xchk_ino_set_corrupt(sc, sc->sm->sm_ino); in xchk_inode() 753 xchk_dinode(sc, &di, sc->ip->i_ino); in xchk_inode() [all …]
|
H A D | rmap.c | 82 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_rmapbt_xref_refc() 96 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_rmapbt_xref_refc() 139 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_check_unwritten_in_keyflags() local 277 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_mark_bitmap() local 414 cur = xfs_allocbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp, in xchk_rmapbt_walk_ag_metadata() 424 cur = xfs_allocbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp, in xchk_rmapbt_walk_ag_metadata() 449 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, sc->sa.agi_bp, in xchk_rmapbt_walk_ag_metadata() 474 sc->sa.agf_bp, sc->sa.pag); in xchk_rmapbt_walk_ag_metadata() 584 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_only_owned_by() 609 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_not_owned_by() [all …]
|
H A D | fscounters.c | 52 struct xfs_scrub *sc; member 81 struct xfs_scrub *sc) in xchk_fscount_warmup() argument 132 struct xfs_scrub *sc) in xchk_fsfreeze() argument 193 struct xfs_scrub *sc = fsc->sc; in xchk_fscounters_cleanup() local 221 if (!sc->buf) in xchk_setup_fscounters() 224 fsc = sc->buf; in xchk_setup_fscounters() 225 fsc->sc = sc; in xchk_setup_fscounters() 245 return xfs_trans_alloc_empty(sc->mp, &sc->tp); in xchk_setup_fscounters() 270 error = xchk_ag_init_existing(sc, agno, &sc->sa); in xchk_fscount_btreeblks() 285 xchk_ag_free(sc, &sc->sa); in xchk_fscount_btreeblks() [all …]
|
H A D | repair.c | 58 error = sc->ops->repair(sc); in xrep_attempt() 152 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans() 157 xfs_trans_bhold(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans() 172 xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans() 174 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans() 197 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); in xrep_defer_finish() 202 xfs_trans_bhold(sc->tp, sc->sa.agf_bp); in xrep_defer_finish() 222 xfs_trans_bhold_release(sc->tp, sc->sa.agi_bp); in xrep_defer_finish() 224 xfs_trans_bhold_release(sc->tp, sc->sa.agf_bp); in xrep_defer_finish() 658 ri.sc = sc; in xrep_find_ag_btree_roots() [all …]
|
H A D | parent.c | 24 struct xfs_scrub *sc) in xchk_setup_parent() argument 34 struct xfs_scrub *sc; member 41 struct xfs_scrub *sc, in xchk_parent_actor() argument 57 if (sc->ip->i_ino == ino) in xchk_parent_actor() 96 struct xfs_scrub *sc, in xchk_parent_validate() argument 100 .sc = sc, in xchk_parent_validate() 103 struct xfs_mount *mp = sc->mp; in xchk_parent_validate() 110 if (sc->ip == mp->m_rootip) { in xchk_parent_validate() 174 xchk_irele(sc, dp); in xchk_parent_validate() 181 struct xfs_scrub *sc) in xchk_parent() argument [all …]
|
H A D | ialloc.c | 37 return xchk_setup_ag_btree(sc, sc->flags & XCHK_TRY_HARDER); in xchk_setup_ag_iallocbt() 144 if (!sc->sa.fino_cur || xchk_skip_xref(sc->sm)) in xchk_inobt_chunk_xref_finobt() 158 if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur)) in xchk_inobt_chunk_xref_finobt() 232 if (!sc->sa.ino_cur || xchk_skip_xref(sc->sm)) in xchk_finobt_chunk_xref_inobt() 259 struct xfs_scrub *sc = bs->sc; in xchk_iallocbt_chunk() local 660 if (!sc->sa.ino_cur || !sc->sa.rmap_cur || in xchk_iallocbt_xref_rmap_btreeblks() 661 (xfs_has_finobt(sc->mp) && !sc->sa.fino_cur) || in xchk_iallocbt_xref_rmap_btreeblks() 681 xchk_btree_set_corrupt(sc, sc->sa.ino_cur, 0); in xchk_iallocbt_xref_rmap_btreeblks() 698 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_iallocbt_xref_rmap_inodes() 708 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_iallocbt_xref_rmap_inodes() [all …]
|
H A D | scrub.c | 171 xchk_ag_free(sc, &sc->sa); in xchk_teardown() 172 if (sc->tp) { in xchk_teardown() 179 if (sc->ip) { in xchk_teardown() 181 xchk_iunlock(sc, sc->ilock_flags); in xchk_teardown() 182 xchk_irele(sc, sc->ip); in xchk_teardown() 195 sc->buf_cleanup(sc->buf); in xchk_teardown() 500 if (!sc) { in xfs_scrub_metadata() 505 sc->mp = mp; in xfs_scrub_metadata() 524 error = sc->ops->setup(sc); in xfs_scrub_metadata() 534 error = sc->ops->scrub(sc); in xfs_scrub_metadata() [all …]
|
H A D | refcount.c | 278 .sc = sc, in xchk_refcountbt_xref_rmap() 290 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcountbt_xref_rmap() 308 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcountbt_xref_rmap() 389 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcountbt_xref_gaps() 485 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcount_xref_rmap() 497 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcount_xref_rmap() 505 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcount_xref_rmap() 547 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_cow_staging() 556 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_xref_is_cow_staging() 590 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_not_shared() [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | gdsc.c | 71 reg = sc->gdscr; in gdsc_check_status() 194 sc->rcdev->ops->deassert(sc->rcdev, sc->resets[i]); in gdsc_deassert_reset() 203 sc->rcdev->ops->assert(sc->rcdev, sc->resets[i]); in gdsc_assert_reset() 216 regmap_update_bits(sc->regmap, sc->cxcs[i], mask, mask); in gdsc_force_mem_on() 228 regmap_update_bits(sc->regmap, sc->cxcs[i], mask, 0); in gdsc_clear_mem_on() 233 regmap_update_bits(sc->regmap, sc->clamp_io_ctrl, in gdsc_deassert_clamp_io() 239 regmap_update_bits(sc->regmap, sc->clamp_io_ctrl, in gdsc_assert_clamp_io() 245 regmap_update_bits(sc->regmap, sc->clamp_io_ctrl, in gdsc_assert_reset_aon() 248 regmap_update_bits(sc->regmap, sc->clamp_io_ctrl, in gdsc_assert_reset_aon() 256 regmap_update_bits(sc->regmap, sc->gdscr, mask, mask); in gdsc_retain_ff_on() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-sony.c | 1019 input_set_drvdata(sc->touchpad, sc); in sony_register_touchpad() 1021 sc->touchpad->phys = sc->hdev->phys; in sony_register_touchpad() 1022 sc->touchpad->uniq = sc->hdev->uniq; in sony_register_touchpad() 1085 input_set_drvdata(sc->sensor_dev, sc); in sony_register_sensors() 1087 sc->sensor_dev->phys = sc->hdev->phys; in sony_register_sensors() 1088 sc->sensor_dev->uniq = sc->hdev->uniq; in sony_register_sensors() 1549 sc->send_output_report(sc); in sony_send_output_report() 1557 sc->send_output_report(sc); in sony_state_worker() 1768 &sc->mac_address[5], &sc->mac_address[4], &sc->mac_address[3], in sony_get_bt_devaddr() 1769 &sc->mac_address[2], &sc->mac_address[1], &sc->mac_address[0]); in sony_get_bt_devaddr() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 524 sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; in cr_group_addresses() 695 sci->sc = sc; in sc_alloc() 1124 sc = dd->send_contexts[i].sc; in pio_freeze() 1130 if (!sc || !(sc->flags & SCF_FROZEN) || sc->type == SC_USER) in pio_freeze() 1151 sc = dd->send_contexts[i].sc; in pio_kernel_unfreeze() 1152 if (!sc || !(sc->flags & SCF_FROZEN) || sc->type == SC_USER) in pio_kernel_unfreeze() 1179 sc = dd->send_contexts[i].sc; in pio_kernel_linkup() 1461 sc->fill_wrap = sc->fill_wrap - sc->credits; in sc_buffer_alloc() 2131 sc->flags, sc->sw_index, sc->hw_context, sc->group); in seqfile_dump_sci() 2133 sc->sr_size, sc->credits, sc->sr_head, sc->sr_tail); in seqfile_dump_sci() [all …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_scsi.c | 260 rqi->sc = sc; in snic_issue_scsi_req() 345 sc, snic_cmd_tag(sc), sc->cmnd[0], sc->device->lun); in snic_queuecommand() 579 sc->device->lun, sc, sc->cmnd[0], snic_cmd_tag(sc), in snic_icmnd_cmpl_handler() 922 sc = rqi->sc; in snic_itmf_cmpl_handler() 1008 sc = rqi->sc; in snic_hba_reset_cmpl_handler() 1441 sc, snic_cmd_tag(sc), CMD_FLAGS(sc)); in snic_abort_finish() 2133 sc, sc->cmnd[0], scsi_cmd_to_rq(sc), in snic_device_reset() 2167 rqi->sc = sc; in snic_device_reset() 2226 rqi->sc = sc; in snic_issue_hba_reset() 2368 sc, sc->cmnd[0], scsi_cmd_to_rq(sc), in snic_host_reset() [all …]
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | scmi_power_control.c | 121 mutex_lock(&sc->state_mtx); in scmi_reboot_notifier() 158 sc->required_transition); in scmi_request_forceful_transition() 185 sc = dwork_to_sconf(dwork); in scmi_forceful_work_func() 188 mutex_lock(&sc->state_mtx); in scmi_forceful_work_func() 229 dev_warn(sc->dev, in scmi_request_graceful_transition() 234 dev_dbg(sc->dev, in scmi_request_graceful_transition() 297 mutex_lock(&sc->state_mtx); in scmi_userspace_notifier() 299 dev_dbg(sc->dev, in scmi_userspace_notifier() 331 sc = devm_kzalloc(&sdev->dev, sizeof(*sc), GFP_KERNEL); in scmi_syspower_probe() 332 if (!sc) in scmi_syspower_probe() [all …]
|
/openbmc/linux/drivers/usb/atm/ |
H A D | ueagle-atm.c | 917 if (sc->dsp_firm == NULL && request_dsp(sc) < 0) in uea_load_page_e1() 1039 if (sc->dsp_firm == NULL && request_dsp(sc) < 0) in uea_load_page_e4() 1359 sc->stats.phy.mflags |= sc->stats.phy.flags; in uea_stat_e1() 1501 sc->stats.phy.mflags |= sc->stats.phy.flags; in uea_stat_e4() 1870 ret = sc->send_cmvs(sc); in uea_start_reset() 1896 ret = sc->stat(sc); in uea_kthread() 2004 sc->data = sc->data << 16 | sc->data >> 16; in uea_dispatch_cmv_e1() 2108 sc->schedule_load_page(sc, intr); in uea_intr() 2112 sc->dispatch_cmv(sc, intr); in uea_intr() 2169 usb_fill_int_urb(sc->urb_int, sc->usb_dev, in uea_boot() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-stripe.c | 90 struct stripe_c *sc; in stripe_ctr() local 132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr() 133 if (!sc) { in stripe_ctr() 141 sc->ti = ti; in stripe_ctr() 142 sc->stripes = stripes; in stripe_ctr() 143 sc->stripe_width = width; in stripe_ctr() 146 sc->stripes_shift = -1; in stripe_ctr() 152 kfree(sc); in stripe_ctr() 178 kfree(sc); in stripe_ctr() 184 ti->private = sc; in stripe_ctr() [all …]
|