Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dpersonality.h10 #define personality(pers) (pers & PER_MASK) argument
15 #define set_personality(pers) (current->personality = (pers)) argument
/kernel/linux/linux-5.10/drivers/md/
Dmd.c451 if (!mddev->pers->make_request(mddev, bio)) { in md_handle_request()
467 if (mddev == NULL || mddev->pers == NULL) { in md_submit_bio()
511 mddev->pers->quiesce(mddev, 1); in mddev_suspend()
529 mddev->pers->quiesce(mddev, 0); in mddev_resume()
834 if (mddev->pers == NULL || in mddev_unlock()
835 mddev->pers->sync_request == NULL) { in mddev_unlock()
899 struct md_personality *pers; in find_pers() local
900 list_for_each_entry(pers, &pers_list, list) { in find_pers()
901 if (level != LEVEL_NONE && pers->level == level) in find_pers()
902 return pers; in find_pers()
[all …]
Ddm-raid.c2016 if (!mddev->pers || !mddev->pers->check_reshape) in rs_check_reshape()
3294 if (rs->md.pers->start_reshape) { in raid_ctr()
3295 r = rs->md.pers->check_reshape(&rs->md); in raid_ctr()
3685 if (!mddev->pers || !mddev->pers->sync_request) in raid_message()
3792 if (!mddev->pers || !mddev->pers->hot_add_disk || !mddev->pers->hot_remove_disk) in attempt_restore_of_faulty_devices()
3821 if (mddev->pers->hot_remove_disk(mddev, r)) { in attempt_restore_of_faulty_devices()
3832 if (mddev->pers->hot_add_disk(mddev, r)) { in attempt_restore_of_faulty_devices()
3902 struct md_personality *pers = mddev->pers; in rs_start_reshape() local
3916 r = pers->check_reshape(mddev); in rs_start_reshape()
3926 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()
606 if (le64_to_cpu(msg->high) != mddev->pers->size(mddev, 0, 0)) in process_recvd_msg()
1311 ret = mddev->pers->resize(mddev, old_dev_sectors); in update_size()
Draid5-ppl.c1179 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed()
1183 if (!ret && !mddev->pers) in ppl_load_distributed()
1442 } else if (!mddev->pers && mddev->recovery_cp == 0 && in ppl_init_log()
1451 } else if (mddev->pers && ppl_conf->mismatch_count > 0) { in ppl_init_log()
Dmd-bitmap.c2136 bitmap->mddev->pers->quiesce(bitmap->mddev, 1); in md_bitmap_resize()
2255 bitmap->mddev->pers->quiesce(bitmap->mddev, 0); in md_bitmap_resize()
2285 if (mddev->pers) { in location_store()
2286 if (!mddev->pers->quiesce) { in location_store()
2303 if (mddev->pers) { in location_store()
2341 if (mddev->pers) { in location_store()
Dmd.h285 struct md_personality *pers; member
Draid5.c8590 if (mddev->pers != &raid5_personality) in raid6_takeover()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c802 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() local
804 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tlc_data()
805 pers->tx_stats[tbl->column][scale_index].success += successes; in rs_collect_tlc_data()
1090 struct iwl_mvm *mvm = lq_sta->pers.drv; in rs_get_lower_rate_in_column()
1109 struct iwl_mvm *mvm = lq_sta->pers.drv; in rs_get_lower_rate_down_column()
1466 mvm = lq_sta->pers.drv; in rs_stay_in_table()
2024 if (lq_sta->pers.dbg_fixed_txp_reduction <= TPC_MAX_REDUCTION) { in rs_tpc_perform()
2026 lq_sta->pers.dbg_fixed_txp_reduction); in rs_tpc_perform()
2027 lq_sta->lq.reduced_tpc = lq_sta->pers.dbg_fixed_txp_reduction; in rs_tpc_perform()
2028 return cur != lq_sta->pers.dbg_fixed_txp_reduction; in rs_tpc_perform()
[all …]
Drs-fw.c478 memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers)); in rs_fw_rate_init()
511 lq_sta->pers.drv = mvm; in iwl_mvm_rs_add_sta()
512 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta()
513 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta()
514 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta()
515 lq_sta->pers.last_rssi = S8_MIN; in iwl_mvm_rs_add_sta()
519 lq_sta->pers.dbg_fixed_rate = 0; in iwl_mvm_rs_add_sta()
Drs.h250 } pers; member
394 } pers; member
Ddebugfs.c431 struct iwl_mvm *mvm = lq_sta->pers.drv; in iwl_dbgfs_rs_data_read()
444 lq_sta->pers.sta_id); in iwl_dbgfs_rs_data_read()
447 lq_sta->pers.dbg_fixed_rate); in iwl_dbgfs_rs_data_read()
450 lq_sta->pers.dbg_agg_frame_count_lim); in iwl_dbgfs_rs_data_read()
Dsta.c1725 spin_lock_init(&mvm_sta->lq_sta.rs_drv.pers.lock); in iwl_mvm_add_sta()
/kernel/linux/linux-5.10/include/crypto/
Ddrbg.h258 struct drbg_string *pers, in crypto_drbg_reset_test() argument
263 return crypto_rng_reset(drng, pers->buf, pers->len); in crypto_drbg_reset_test()
/kernel/linux/linux-5.10/crypto/
Dtestmgr.h143 const unsigned char *pers; member
21751 .pers = NULL,
21791 .pers = NULL,
21825 .pers = (unsigned char *)
21868 .pers = (unsigned char *)
21909 .pers = NULL,
21949 .pers = NULL,
21983 .pers = (unsigned char *)
22026 .pers = (unsigned char *)
22058 .pers = NULL,
[all …]
Ddrbg.c1125 static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, in drbg_seed() argument
1136 if (pers && pers->len > (drbg_max_addtl(drbg))) { in drbg_seed()
1138 pers->len); in drbg_seed()
1210 if (pers && pers->buf && 0 < pers->len) { in drbg_seed()
1211 list_add_tail(&pers->list, &seedlist); in drbg_seed()
1539 static int drbg_instantiate(struct drbg_state *drbg, struct drbg_string *pers, in drbg_instantiate() argument
1584 ret = drbg_seed(drbg, pers, reseed); in drbg_instantiate()
Dtestmgr.c3659 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local
3675 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3676 ret = crypto_drbg_reset_test(drng, &pers, &test_data); in drbg_cavs_test()
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dyam.c115 int pers; /* persistence */ member
629 if ((prandom_u32() % 256) > yp->pers) in yam_arbitrate()
813 seq_printf(seq, " Persist %u\n", yp->pers); in yam_seq_show()
1023 yp->pers = yi.cfg.persist; in yam_ioctl()
1044 yi.cfg.persist = yp->pers; in yam_ioctl()
1093 yp->pers = DEFAULT_PERS; in yam_setup()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfi.h729 u16 pers; member
Dbfa_defs.h765 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()
3439 m->pers = cpu_to_be16((u16)personality); in bfa_ablk_pf_create()