Home
last modified time | relevance | path

Searched +defs:user +defs:attr (Results 1 – 24 of 24) sorted by relevance

/linux/arch/arm64/kvm/
H A Dpvtime.c76 struct kvm_device_attr *attr) in kvm_arm_pvtime_set_attr()
78 u64 __user *user = (u64 __user *)attr->addr; in kvm_arm_pvtime_set_attr() local
108 struct kvm_device_attr *attr) in kvm_arm_pvtime_get_attr()
110 u64 __user *user = (u64 __user *)attr->addr; in kvm_arm_pvtime_get_attr() local
125 struct kvm_device_attr *attr) in kvm_arm_pvtime_has_attr()
/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c206 struct ipmi_user *user; member
623 struct ipmi_user *user = container_of(ref, struct ipmi_user, refcount); in free_ipmi_user() local
632 static void release_ipmi_user(struct ipmi_user *user) in release_ipmi_user()
637 static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user) in acquire_ipmi_user()
1230 struct ipmi_user **user) in ipmi_create_user()
1343 static void _ipmi_destroy_user(struct ipmi_user *user) in _ipmi_destroy_user()
1412 void ipmi_destroy_user(struct ipmi_user *user) in ipmi_destroy_user()
1424 int ipmi_get_version(struct ipmi_user *user, in ipmi_get_version()
1446 int ipmi_set_my_address(struct ipmi_user *user, in ipmi_set_my_address()
1468 int ipmi_get_my_address(struct ipmi_user *user, in ipmi_get_my_address()
[all …]
/linux/arch/loongarch/kvm/
H A Dvcpu.c1047 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_has_attr()
1063 struct kvm_device_attr *attr) in kvm_loongarch_pvtime_has_attr()
1073 struct kvm_device_attr *attr) in kvm_loongarch_vcpu_has_attr()
1092 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_get_attr()
1117 struct kvm_device_attr *attr) in kvm_loongarch_pvtime_get_attr()
1120 u64 __user *user = (u64 __user *)attr->addr; in kvm_loongarch_pvtime_get_attr() local
1134 struct kvm_device_attr *attr) in kvm_loongarch_vcpu_get_attr()
1153 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_set_attr()
1156 u64 __user *user = (u64 __user *)attr->addr; in kvm_loongarch_cpucfg_set_attr() local
1180 struct kvm_device_attr *attr) in kvm_loongarch_pvtime_set_attr()
[all …]
/linux/drivers/hwmon/occ/
H A Dcommon.c108 u16 user; member
119 u16 user; member
230 struct device_attribute *attr, char *buf) in occ_show_temp_1()
266 struct device_attribute *attr, char *buf) in occ_show_temp_2()
317 struct device_attribute *attr, char *buf) in occ_show_temp_10()
364 struct device_attribute *attr, char *buf) in occ_show_freq_1()
394 struct device_attribute *attr, char *buf) in occ_show_freq_2()
430 struct device_attribute *attr, char *buf) in occ_show_power_1()
468 struct device_attribute *attr, char *buf) in occ_show_power_2()
507 struct device_attribute *attr, char *buf) in occ_show_power_a0()
[all …]
/linux/drivers/fsi/
H A Dfsi-sbefifo.c146 static ssize_t timeout_show(struct device *dev, struct device_attribute *attr, in timeout_show()
782 static void sbefifo_release_command(struct sbefifo_user *user) in sbefifo_release_command()
793 struct sbefifo_user *user; in sbefifo_user_open() local
816 struct sbefifo_user *user = file->private_data; in sbefifo_user_read() local
871 struct sbefifo_user *user = file->private_data; in sbefifo_user_write() local
933 struct sbefifo_user *user = file->private_data; in sbefifo_user_release() local
945 static int sbefifo_cmd_timeout(struct sbefifo_user *user, void __user *argp) in sbefifo_cmd_timeout()
964 static int sbefifo_read_timeout(struct sbefifo_user *user, void __user *argp) in sbefifo_read_timeout()
985 struct sbefifo_user *user = file->private_data; in sbefifo_user_ioctl() local
/linux/drivers/video/fbdev/
H A Duvesafb.c1162 static int uvesafb_open(struct fb_info *info, int user) in uvesafb_open()
1182 static int uvesafb_release(struct fb_info *info, int user) in uvesafb_release()
1541 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_ver()
1552 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_modes()
1571 struct device_attribute *attr, char *buf) in uvesafb_show_vendor()
1586 struct device_attribute *attr, char *buf) in uvesafb_show_product_name()
1601 struct device_attribute *attr, char *buf) in uvesafb_show_product_rev()
1616 struct device_attribute *attr, char *buf) in uvesafb_show_oem_string()
1631 struct device_attribute *attr, char *buf) in uvesafb_show_nocrtc()
1640 struct device_attribute *attr, const char *buf, size_t count) in uvesafb_store_nocrtc()
H A Dsh_mobile_lcdcfb.c1186 overlay_alpha_show(struct device *dev, struct device_attribute *attr, char *buf) in overlay_alpha_show()
1195 overlay_alpha_store(struct device *dev, struct device_attribute *attr, in overlay_alpha_store()
1224 overlay_mode_show(struct device *dev, struct device_attribute *attr, char *buf) in overlay_mode_show()
1233 overlay_mode_store(struct device *dev, struct device_attribute *attr, in overlay_mode_store()
1262 overlay_position_show(struct device *dev, struct device_attribute *attr, in overlay_position_show()
1272 overlay_position_store(struct device *dev, struct device_attribute *attr, in overlay_position_store()
1304 overlay_rop3_show(struct device *dev, struct device_attribute *attr, char *buf) in overlay_rop3_show()
1313 overlay_rop3_store(struct device *dev, struct device_attribute *attr, in overlay_rop3_store()
1782 static int sh_mobile_lcdc_release(struct fb_info *info, int user) in sh_mobile_lcdc_release()
1803 static int sh_mobile_lcdc_open(struct fb_info *info, int user) in sh_mobile_lcdc_open()
/linux/drivers/video/fbdev/omap/
H A Domapfb_main.c218 static int omapfb_open(struct fb_info *info, int user) in omapfb_open()
227 static int omapfb_release(struct fb_info *info, int user) in omapfb_release()
1240 struct device_attribute *attr, char *buf) in omapfb_show_caps_num()
1259 struct device_attribute *attr, char *buf) in omapfb_show_caps_text()
1299 struct device_attribute *attr, char *buf) in omapfb_show_panel_name()
1307 struct device_attribute *attr, in omapfb_show_bklight_level()
1322 struct device_attribute *attr, in omapfb_store_bklight_level()
1342 struct device_attribute *attr, char *buf) in omapfb_show_bklight_max()
1375 struct device_attribute *attr, char *buf) in omapfb_show_ctrl_name()
/linux/drivers/infiniband/hw/cxgb4/
H A Dqp.c140 static int alloc_sq(struct c4iw_rdev *rdev, struct t4_sq *sq, int user) in alloc_sq()
205 int user = (uctx != &rdev->uctx); in create_qp() local
2378 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in c4iw_ib_modify_qp()
2448 int c4iw_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *attr, in c4iw_modify_srq()
2477 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in c4iw_ib_query_qp()
2536 int user = (uctx != &rdev->uctx); in alloc_srq_queue() local
H A Dcq.c77 int user = (uctx != &rdev->uctx); in create_cq() local
997 int c4iw_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in c4iw_create_cq()
/linux/drivers/scsi/isci/
H A Dinit.c130 static ssize_t isci_show_id(struct device *dev, struct device_attribute *attr, char *buf) in isci_show_id()
431 struct sci_user_parameters *user = &ihost->user_parameters; in sci_oem_defaults() local
/linux/kernel/sched/
H A Dsyscalls.c319 const struct sched_attr *attr) in uclamp_validate()
353 static bool uclamp_reset(const struct sched_attr *attr, in uclamp_reset()
379 const struct sched_attr *attr) in __setscheduler_uclamp()
422 const struct sched_attr *attr) in uclamp_validate()
427 const struct sched_attr *attr) { } in __setscheduler_uclamp()
436 const struct sched_attr *attr, in user_check_sched_setscheduler()
494 const struct sched_attr *attr, in __sched_setscheduler()
495 bool user, bool pi) in __sched_setscheduler()
728 struct sched_attr attr = { in _sched_setscheduler() local
764 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
[all …]
/linux/drivers/hwmon/
H A Dibmpex.c61 struct sensor_device_attribute_2 attr[PEX_NUM_SENSOR_FUNCS]; member
74 struct ipmi_user *user; member
265 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in ibmpex_show_sensor() local
H A Dibmaem.c91 struct ipmi_user *user; member
820 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_power() local
854 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_energy() local
869 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_power_period() local
881 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_set_power_period() local
962 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem2_show_temp() local
974 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem2_show_pcap_value() local
/linux/drivers/rtc/
H A Drtc-isl12022.c85 u32 attr, int channel) in isl12022_hwmon_is_visible()
120 u32 attr, int channel, long *val) in isl12022_hwmon_read()
433 u32 user, val; in isl12022_rtc_ioctl() local
/linux/net/netfilter/ipset/
H A Dip_set_core.c1044 const struct nlattr * const attr[]) in ip_set_none()
1050 const struct nlattr * const attr[]) in ip_set_create()
1228 const struct nlattr * const attr[]) in ip_set_destroy()
1307 const struct nlattr * const attr[]) in ip_set_flush()
1345 const struct nlattr * const attr[]) in ip_set_rename()
1393 const struct nlattr * const attr[]) in ip_set_swap()
1496 const struct nlattr *attr; in dump_attrs() local
1519 struct nlattr *attr = (void *)nlh + min_len; in ip_set_dump_start() local
1706 const struct nlattr * const attr[]) in ip_set_dump()
1809 const struct nlattr * const attr[], in ip_set_ad()
[all …]
/linux/drivers/misc/
H A Dfastrpc.c77 #define FASTRPC_BUILD_SCALARS(attr, method, in, out, oin, oout) \ argument
225 u32 attr; member
297 struct list_head user; member
595 struct fastrpc_user *user, u32 kernel, u32 sc, in fastrpc_context_alloc()
780 u64 len, u32 attr, struct fastrpc_map **ppmap) in fastrpc_map_attach()
872 u64 len, u32 attr, struct fastrpc_map **ppmap) in fastrpc_map_create()
2461 static void fastrpc_notify_users(struct fastrpc_user *user) in fastrpc_notify_users()
2477 struct fastrpc_user *user; in fastrpc_rpmsg_remove() local
/linux/net/dsa/
H A Duser.c586 const struct switchdev_attr *attr, in dsa_user_port_attr_set()
656 dsa_user_vlan_check_for_8021q_uppers(struct net_device *user, in dsa_user_vlan_check_for_8021q_uppers()
1967 int dsa_user_manage_vlan_filtering(struct net_device *user, in dsa_user_manage_vlan_filtering()
2057 struct net_device *user; in dsa_bridge_mtu_normalization() local
2259 struct net_device *user = other_dp->user; in dsa_user_dcbnl_ieee_global_dscp_setdel() local
2280 struct net_device *user = other_dp->user; in dsa_user_dcbnl_ieee_global_dscp_setdel() local
2698 void dsa_user_setup_tagger(struct net_device *user) in dsa_user_setup_tagger()
3122 struct net_device *user, *br; in dsa_prevent_bridging_8021q_upper() local
/linux/kernel/events/
H A Dcore.c1128 struct perf_event_attr *attr, in perf_cgroup_connect()
1233 struct perf_event_attr *attr, in perf_cgroup_connect()
1966 static inline bool has_inherit_and_sample_read(struct perf_event_attr *attr) in has_inherit_and_sample_read()
3461 struct perf_event_attr *attr) in perf_event_modify_breakpoint()
3485 struct perf_event_attr *attr) in perf_event_modify_attr()
5323 struct perf_event_attr *attr = &event->attr; in is_sb_event() local
7219 struct user_struct *user = current_user(); in perf_mmap_calc_limits() local
7253 struct user_struct *user = current_user(); in perf_mmap_account() local
7261 struct user_struct *user = rb->mmap_user; in perf_mmap_unaccount() local
8546 bool user = !event->attr.exclude_callchain_user && in perf_callchain() local
[all …]
/linux/drivers/iommu/
H A Diommu.c108 struct attribute attr; member
829 struct iommu_group_attribute *attr = to_iommu_group_attr(__attr); in iommu_group_attr_show() local
842 struct iommu_group_attribute *attr = to_iommu_group_attr(__attr); in iommu_group_attr_store() local
857 struct iommu_group_attribute *attr) in iommu_group_create_file()
863 struct iommu_group_attribute *attr) in iommu_group_remove_file()
3537 unsigned int user; in iommu_group_dma_owner_claimed() local
/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea.h166 struct h_epa_user user; /* user space accessible resource member
264 struct ehea_eq_attr attr; member
303 struct ehea_cq_attr attr; member
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c2924 struct drm_i915_gem_exec_fence __user *user; in add_fence_array() local
3074 struct i915_sched_attr attr = {}; in eb_request_add() local
/linux/include/linux/
H A Dbpf.h1726 struct user_struct *user; member
2167 static inline int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
2951 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
3181 const union bpf_attr *attr, in bpf_token_get_info_by_fd()
3489 union bpf_attr *attr) in bpf_prog_dev_bound_init()
3524 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
3546 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
3552 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()
3564 static inline int sock_map_bpf_prog_query(const union bpf_attr *attr, in sock_map_bpf_prog_query()
3570 static inline int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_link_create()
/linux/fs/smb/server/
H A Dsmb2pdu.c765 int attr = 0; in smb2_get_dos_mode() local
1423 struct ksmbd_user *user; in session_user() local
1464 struct ksmbd_user *user; in ntlm_authenticate() local