/linux/include/linux/ |
A D | personality.h | 10 #define personality(pers) (pers & PER_MASK) argument 15 #define set_personality(pers) (current->personality = (pers)) argument
|
/linux/drivers/md/ |
A D | md.c | 3974 if (!pers || !try_module_get(pers->owner)) { in level_store() 3982 if (pers == mddev->pers) { in level_store() 4024 mddev->pers = pers; in level_store() 4825 if (!mddev->pers || !mddev->pers->sync_request) in action_store() 5428 if (mddev->pers == NULL || (mddev->pers->level != 1)) in serialize_policy_show() 5454 if (mddev->pers == NULL || (mddev->pers->level != 1)) { in serialize_policy_store() 5888 if (!pers || !try_module_get(pers->owner)) { in md_run() 6034 mddev->pers = pers; in md_run() 6224 if (mddev->pers && mddev->pers->quiesce) { in __md_stop_writes() 6265 struct md_personality *pers = mddev->pers; in __md_stop() local [all …]
|
A D | dm-raid.c | 2014 if (!mddev->pers || !mddev->pers->check_reshape) in rs_check_reshape() 3292 if (rs->md.pers->start_reshape) { in raid_ctr() 3293 r = rs->md.pers->check_reshape(&rs->md); in raid_ctr() 3722 if (!mddev->pers || !mddev->pers->sync_request) in raid_message() 3820 if (!mddev->pers || !mddev->pers->hot_add_disk || !mddev->pers->hot_remove_disk) in attempt_restore_of_faulty_devices() 3849 if (mddev->pers->hot_remove_disk(mddev, r)) { in attempt_restore_of_faulty_devices() 3860 if (mddev->pers->hot_add_disk(mddev, r)) { in attempt_restore_of_faulty_devices() 3930 struct md_personality *pers = mddev->pers; in rs_start_reshape() local 3944 r = pers->check_reshape(mddev); in rs_start_reshape() 3954 if (pers->start_reshape) { in rs_start_reshape() [all …]
|
A D | md-cluster.c | 435 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()
|
A D | raid5-ppl.c | 1177 if (pplhdr && !mddev->pers && mddev->recovery_cp != MaxSector) in ppl_load_distributed() 1181 if (!ret && !mddev->pers) in ppl_load_distributed() 1440 } else if (!mddev->pers && mddev->recovery_cp == 0 && in ppl_init_log() 1449 } else if (mddev->pers && ppl_conf->mismatch_count > 0) { in ppl_init_log()
|
A D | md-bitmap.c | 2133 bitmap->mddev->pers->quiesce(bitmap->mddev, 1); in md_bitmap_resize() 2249 bitmap->mddev->pers->quiesce(bitmap->mddev, 0); in md_bitmap_resize() 2279 if (mddev->pers) { in location_store() 2280 if (!mddev->pers->quiesce) { in location_store() 2297 if (mddev->pers) { in location_store() 2335 if (mddev->pers) { in location_store()
|
A D | md.h | 285 struct md_personality *pers; member
|
A D | raid5.c | 8583 if (mddev->pers != &raid5_personality) in raid6_takeover()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | rs.c | 759 struct lq_sta_pers *pers = &mvmsta->lq_sta.rs_drv.pers; in rs_collect_tlc_data() local 1420 mvm = lq_sta->pers.drv; in rs_stay_in_table() 2616 if (lq_sta->pers.chain_signal[i] > lq_sta->pers.last_rssi) in rs_update_last_rssi() 2617 lq_sta->pers.last_rssi = lq_sta->pers.chain_signal[i]; in rs_update_last_rssi() 2721 lq_sta->pers.drv = mvm; in rs_drv_alloc_sta() 2727 lq_sta->pers.chains = 0; in rs_drv_alloc_sta() 2728 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in rs_drv_alloc_sta() 3041 if (!lq_sta->pers.drv) { in __iwl_mvm_rs_tx_status() 3726 mvm = lq_sta->pers.drv; in rs_sta_dbgfs_scale_table_write() 3759 mvm = lq_sta->pers.drv; in rs_sta_dbgfs_scale_table_read() [all …]
|
A D | rs-fw.c | 439 memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers)); in rs_fw_rate_init() 472 lq_sta->pers.drv = mvm; in iwl_mvm_rs_add_sta() 473 lq_sta->pers.sta_id = mvmsta->sta_id; in iwl_mvm_rs_add_sta() 474 lq_sta->pers.chains = 0; in iwl_mvm_rs_add_sta() 475 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta() 476 lq_sta->pers.last_rssi = S8_MIN; in iwl_mvm_rs_add_sta() 480 lq_sta->pers.dbg_fixed_rate = 0; in iwl_mvm_rs_add_sta()
|
A D | rs.h | 233 } pers; member 377 } pers; member
|
A D | debugfs.c | 377 struct iwl_mvm *mvm = lq_sta->pers.drv; in iwl_dbgfs_rs_data_read() 390 lq_sta->pers.sta_id); in iwl_dbgfs_rs_data_read() 393 lq_sta->pers.dbg_fixed_rate); in iwl_dbgfs_rs_data_read() 396 lq_sta->pers.dbg_agg_frame_count_lim); in iwl_dbgfs_rs_data_read()
|
A D | sta.c | 1679 spin_lock_init(&mvm_sta->lq_sta.rs_drv.pers.lock); in iwl_mvm_add_sta()
|
/linux/include/crypto/ |
A D | drbg.h | 254 struct drbg_string *pers, in crypto_drbg_reset_test() argument 259 return crypto_rng_reset(drng, pers->buf, pers->len); in crypto_drbg_reset_test()
|
/linux/crypto/ |
A D | testmgr.h | 21484 .pers = NULL, 21524 .pers = NULL, 21642 .pers = NULL, 21682 .pers = NULL, 21791 .pers = NULL, 21820 .pers = NULL, 21915 .pers = NULL, 21946 .pers = NULL, 22037 .pers = NULL, 22068 .pers = NULL, [all …]
|
A D | drbg.c | 1118 static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, in drbg_seed() argument 1128 if (pers && pers->len > (drbg_max_addtl(drbg))) { in drbg_seed() 1130 pers->len); in drbg_seed() 1199 if (pers && pers->buf && 0 < pers->len) { in drbg_seed() 1200 list_add_tail(&pers->list, &seedlist); in drbg_seed() 1558 static int drbg_instantiate(struct drbg_state *drbg, struct drbg_string *pers, in drbg_instantiate() argument 1603 ret = drbg_seed(drbg, pers, reseed); in drbg_instantiate()
|
A D | testmgr.c | 3644 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local 3660 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test() 3661 ret = crypto_drbg_reset_test(drng, &pers, &test_data); in drbg_cavs_test()
|
/linux/drivers/net/hamradio/ |
A D | yam.c | 115 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() 1024 yp->pers = yi.cfg.persist; in yam_siocdevprivate() 1045 yi.cfg.persist = yp->pers; in yam_siocdevprivate() 1094 yp->pers = DEFAULT_PERS; in yam_setup()
|
/linux/drivers/scsi/bfa/ |
A D | bfa_defs.h | 765 u16 pers; member
|
A D | bfi.h | 729 u16 pers; member
|
A D | bfa_ioc.c | 3264 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()
|