Searched refs:vcaps (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | vas.c | 573 struct vas_caps *vcaps; in get_vas_capabilities() local 576 vcaps = &vascaps[type]; in get_vas_capabilities() 577 memset(vcaps, 0, sizeof(*vcaps)); in get_vas_capabilities() 578 INIT_LIST_HEAD(&vcaps->list); in get_vas_capabilities() 580 vcaps->feat = feat; in get_vas_capabilities() 581 caps = &vcaps->caps; in get_vas_capabilities() 631 static int reconfig_open_windows(struct vas_caps *vcaps, int creds, in reconfig_open_windows() argument 635 struct vas_cop_feat_caps *caps = &vcaps->caps; in reconfig_open_windows() 643 if (!vcaps->nr_close_wins) in reconfig_open_windows() 660 if ((vcaps->nr_close_wins > creds) && !migrate) in reconfig_open_windows() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 224 const struct vcap_info *vcap = &vctrl->vcaps[vt]; in vcap_verify_keystream_keyset() 315 tgt = vctrl->vcaps[vt].keyfield_set_typegroups; in vcap_find_keystream_typegroup_sw() 317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw() 321 res = vcap_verify_typegroups(stream, vctrl->vcaps[vt].sw_width, in vcap_find_keystream_typegroup_sw() 348 keyfield_set = vctrl->vcaps[vt].keyfield_set; in vcap_find_keystream_keysets() 349 for (idx = 0; idx < vctrl->vcaps[vt].keyfield_set_size; ++idx) { in vcap_find_keystream_keysets() 377 keyset_sw_regs = DIV_ROUND_UP(vctrl->vcaps[vt].sw_width, 32); in vcap_addr_keysets() 401 if (keyset >= vctrl->vcaps[vt].keyfield_set_size) in vcap_keyfields() 403 return vctrl->vcaps[vt].keyfield_set_map[keyset]; in vcap_keyfields() 414 if (keyset >= vctrl->vcaps[vt].keyfield_set_size) in vcap_keyfieldset() [all …]
|
H A D | vcap_api_debugfs.c | 270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info() 449 sprintf(name, "raw_%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs() 458 sprintf(name, "%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
|
H A D | vcap_api.h | 275 const struct vcap_info *vcaps; /* client supplied vcap models */ member
|
H A D | vcap_api_debugfs_kunit.c | 237 .vcaps = kunit_test_vcaps,
|
H A D | vcap_api_kunit.c | 227 .vcaps = kunit_test_vcaps,
|
/openbmc/linux/security/ |
H A D | commoncap.c | 727 struct cpu_vfs_cap_data vcaps; in get_file_caps() local 746 file->f_path.dentry, &vcaps); in get_file_caps() 756 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_debugfs.c | 223 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
|
H A D | lan966x_vcap_impl.c | 719 ctrl->vcaps = lan966x_vcaps; in lan966x_vcap_init()
|
/openbmc/linux/kernel/ |
H A D | auditsc.c | 2803 struct cpu_vfs_cap_data vcaps; in __audit_log_bprm_fcaps() local 2814 bprm->file->f_path.dentry, &vcaps); in __audit_log_bprm_fcaps() 2816 ax->fcap.permitted = vcaps.permitted; in __audit_log_bprm_fcaps() 2817 ax->fcap.inheritable = vcaps.inheritable; in __audit_log_bprm_fcaps() 2818 ax->fcap.fE = !!(vcaps.magic_etc & VFS_CAP_FLAGS_EFFECTIVE); in __audit_log_bprm_fcaps() 2819 ax->fcap.rootid = vcaps.rootid; in __audit_log_bprm_fcaps() 2820 ax->fcap_ver = (vcaps.magic_etc & VFS_CAP_REVISION_MASK) >> VFS_CAP_REVISION_SHIFT; in __audit_log_bprm_fcaps()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_debugfs.c | 449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info()
|
H A D | sparx5_vcap_impl.c | 2066 ctrl->vcaps = sparx5_vcaps; in sparx5_vcap_init()
|