Home
last modified time | relevance | path

Searched refs:pers (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/include/linux/
Dpersonality.h10 #define personality(pers) (pers & PER_MASK) argument
15 #define set_personality(pers) (current->personality = (pers)) argument
/Linux-v6.1/drivers/md/
Dmd.c419 if (!mddev->pers->make_request(mddev, bio)) { in md_handle_request()
435 if (mddev == NULL || mddev->pers == NULL) { in md_submit_bio()
477 mddev->pers->quiesce(mddev, 1); in mddev_suspend()
495 mddev->pers->quiesce(mddev, 0); in mddev_resume()
793 if (mddev->pers == NULL || in mddev_unlock()
794 mddev->pers->sync_request == NULL) { in mddev_unlock()
858 struct md_personality *pers; in find_pers() local
859 list_for_each_entry(pers, &pers_list, list) { in find_pers()
860 if (level != LEVEL_NONE && pers->level == level) in find_pers()
861 return pers; in find_pers()
[all …]
Ddm-raid.c2016 if (!mddev->pers || !mddev->pers->check_reshape) in rs_check_reshape()
3290 if (rs->md.pers->start_reshape) { in raid_ctr()
3291 r = rs->md.pers->check_reshape(&rs->md); in raid_ctr()
3720 if (!mddev->pers || !mddev->pers->sync_request) in raid_message()
3819 if (!mddev->pers || !mddev->pers->hot_add_disk || !mddev->pers->hot_remove_disk) in attempt_restore_of_faulty_devices()
3848 if (mddev->pers->hot_remove_disk(mddev, r)) { in attempt_restore_of_faulty_devices()
3859 if (mddev->pers->hot_add_disk(mddev, r)) { in attempt_restore_of_faulty_devices()
3929 struct md_personality *pers = mddev->pers; in rs_start_reshape() local
3943 r = pers->check_reshape(mddev); in rs_start_reshape()
3953 if (pers->start_reshape) { in rs_start_reshape()
[all …]
Dmd-cluster.c435 mddev->pers->quiesce(mddev, 1); in remove_suspend_info()
440 mddev->pers->quiesce(mddev, 0); in remove_suspend_info()
495 mddev->pers->quiesce(mddev, 1); in process_suspend_info()
501 mddev->pers->quiesce(mddev, 0); in process_suspend_info()
605 if (le64_to_cpu(msg->high) != mddev->pers->size(mddev, 0, 0)) in process_recvd_msg()
1309 ret = mddev->pers->resize(mddev, old_dev_sectors); in update_size()
Draid5-ppl.c1172 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1176 if (!ret && !mddev->pers) in ppl_load_distributed()
1435 } else if (!mddev->pers && mddev->recovery_cp == 0 && in ppl_init_log()
1444 } else if (mddev->pers && ppl_conf->mismatch_count > 0) { in ppl_init_log()
Dmd-bitmap.c2134 bitmap->mddev->pers->quiesce(bitmap->mddev, 1); in md_bitmap_resize()
2250 bitmap->mddev->pers->quiesce(bitmap->mddev, 0); in md_bitmap_resize()
2280 if (mddev->pers) { in location_store()
2281 if (!mddev->pers->quiesce) { in location_store()
2298 if (mddev->pers) { in location_store()
2336 if (mddev->pers) { in location_store()
Dmd.h310 struct md_personality *pers; member
Draid5.c8896 if (mddev->pers != &raid5_personality) in raid6_takeover()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c757 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() local
759 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tlc_data()
760 pers->tx_stats[tbl->column][scale_index].success += successes; in rs_collect_tlc_data()
1042 struct iwl_mvm *mvm = lq_sta->pers.drv; in rs_get_lower_rate_in_column()
1061 struct iwl_mvm *mvm = lq_sta->pers.drv; in rs_get_lower_rate_down_column()
1418 mvm = lq_sta->pers.drv; in rs_stay_in_table()
1975 if (lq_sta->pers.dbg_fixed_txp_reduction <= TPC_MAX_REDUCTION) { in rs_tpc_perform()
1977 lq_sta->pers.dbg_fixed_txp_reduction); in rs_tpc_perform()
1978 lq_sta->lq.reduced_tpc = lq_sta->pers.dbg_fixed_txp_reduction; in rs_tpc_perform()
1979 return cur != lq_sta->pers.dbg_fixed_txp_reduction; in rs_tpc_perform()
[all …]
Drs-fw.c442 memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers)); in rs_fw_rate_init()
523 lq_sta->pers.drv = mvm; in iwl_mvm_rs_add_sta()
524 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
525 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta()
526 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta()
527 lq_sta->pers.last_rssi = S8_MIN; in iwl_mvm_rs_add_sta()
531 lq_sta->pers.dbg_fixed_rate = 0; in iwl_mvm_rs_add_sta()
Drs.h233 } pers; member
377 } pers; member
Ddebugfs.c378 struct iwl_mvm *mvm = lq_sta->pers.drv; in iwl_dbgfs_rs_data_read()
391 lq_sta->pers.sta_id); in iwl_dbgfs_rs_data_read()
394 lq_sta->pers.dbg_fixed_rate); in iwl_dbgfs_rs_data_read()
397 lq_sta->pers.dbg_agg_frame_count_lim); in iwl_dbgfs_rs_data_read()
Dsta.c1749 spin_lock_init(&mvm_sta->lq_sta.rs_drv.pers.lock); in iwl_mvm_add_sta()
/Linux-v6.1/include/crypto/
Ddrbg.h259 struct drbg_string *pers, in crypto_drbg_reset_test() argument
264 return crypto_rng_reset(drng, pers->buf, pers->len); in crypto_drbg_reset_test()
/Linux-v6.1/crypto/
Dtestmgr.h145 const unsigned char *pers; member
23038 .pers = NULL,
23078 .pers = NULL,
23112 .pers = (unsigned char *)
23155 .pers = (unsigned char *)
23196 .pers = NULL,
23236 .pers = NULL,
23270 .pers = (unsigned char *)
23313 .pers = (unsigned char *)
23345 .pers = NULL,
[all …]
Ddrbg.c1148 static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, in drbg_seed() argument
1159 if (pers && pers->len > (drbg_max_addtl(drbg))) { in drbg_seed()
1161 pers->len); in drbg_seed()
1236 if (pers && pers->buf && 0 < pers->len) { in drbg_seed()
1237 list_add_tail(&pers->list, &seedlist); in drbg_seed()
1574 static int drbg_instantiate(struct drbg_state *drbg, struct drbg_string *pers, in drbg_instantiate() argument
1612 ret = drbg_seed(drbg, pers, reseed); in drbg_instantiate()
Dtestmgr.c3724 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local
3740 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3741 ret = crypto_drbg_reset_test(drng, &pers, &test_data); in drbg_cavs_test()
/Linux-v6.1/drivers/net/hamradio/
Dyam.c115 int pers; /* persistence */ member
629 if (get_random_u8() > yp->pers) in yam_arbitrate()
813 seq_printf(seq, " Persist %u\n", yp->pers); in yam_seq_show()
1022 yp->pers = yi.cfg.persist; in yam_siocdevprivate()
1043 yi.cfg.persist = yp->pers; in yam_siocdevprivate()
1092 yp->pers = DEFAULT_PERS; in yam_setup()
/Linux-v6.1/drivers/scsi/bfa/
Dbfa_defs.h765 u16 pers; member
Dbfi.h729 u16 pers; member
Dbfa_ioc.c3264 be16 = cfg_inst->pf_cfg[j].pers; in bfa_ablk_config_swap()
3265 cfg_inst->pf_cfg[j].pers = be16_to_cpu(be16); in bfa_ablk_config_swap()
3440 m->pers = cpu_to_be16((u16)personality); in bfa_ablk_pf_create()