Home
last modified time | relevance | path

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

12

/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
606 struct ipmi_user *user = container_of(ref, struct ipmi_user, refcount); in free_ipmi_user() local
615 static void release_ipmi_user(struct ipmi_user *user) in release_ipmi_user()
620 static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user) in acquire_ipmi_user()
1215 struct ipmi_user **user) in ipmi_create_user()
1328 static void _ipmi_destroy_user(struct ipmi_user *user) in _ipmi_destroy_user()
1397 void ipmi_destroy_user(struct ipmi_user *user) in ipmi_destroy_user()
1409 int ipmi_get_version(struct ipmi_user *user, in ipmi_get_version()
1431 int ipmi_set_my_address(struct ipmi_user *user, in ipmi_set_my_address()
1453 int ipmi_get_my_address(struct ipmi_user *user, in ipmi_get_my_address()
[all …]
/linux/arch/loongarch/kvm/
H A Dvcpu.c995 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_has_attr()
1011 struct kvm_device_attr *attr) in kvm_loongarch_pvtime_has_attr()
1021 struct kvm_device_attr *attr) in kvm_loongarch_vcpu_has_attr()
1040 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_get_attr()
1065 struct kvm_device_attr *attr) in kvm_loongarch_pvtime_get_attr()
1068 u64 __user *user = (u64 __user *)attr->addr; in kvm_loongarch_pvtime_get_attr() local
1082 struct kvm_device_attr *attr) in kvm_loongarch_vcpu_get_attr()
1101 struct kvm_device_attr *attr) in kvm_loongarch_cpucfg_set_attr()
1104 u64 __user *user = (u64 __user *)attr->addr; in kvm_loongarch_cpucfg_set_attr() local
1128 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()
424 struct device_attribute *attr, char *buf) in occ_show_power_1()
469 struct device_attribute *attr, char *buf) in occ_show_power_2()
508 struct device_attribute *attr, char *buf) in occ_show_power_a0()
[all …]
/linux/kernel/bpf/
H A Dstackmap.c70 static struct bpf_map *stack_map_alloc(union bpf_attr *attr) in stack_map_alloc() argument
144 stack_map_get_build_id_offset(struct bpf_stack_build_id * id_offs,u32 trace_nr,bool user,bool may_fault) stack_map_get_build_id_offset() argument
234 bool user = flags & BPF_F_USER_STACK; __bpf_get_stackid() local
305 bool user = flags & BPF_F_USER_STACK; BPF_CALL_3() local
353 bool kernel, user; BPF_CALL_3() local
413 bool user = flags & BPF_F_USER_STACK; __bpf_get_stack() local
585 bool kernel, user; BPF_CALL_4() local
[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.c1165 static int uvesafb_open(struct fb_info *info, int user) in uvesafb_open()
1185 static int uvesafb_release(struct fb_info *info, int user) in uvesafb_release()
1544 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_ver()
1555 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_modes()
1574 struct device_attribute *attr, char *buf) in uvesafb_show_vendor()
1589 struct device_attribute *attr, char *buf) in uvesafb_show_product_name()
1604 struct device_attribute *attr, char *buf) in uvesafb_show_product_rev()
1619 struct device_attribute *attr, char *buf) in uvesafb_show_oem_string()
1634 struct device_attribute *attr, char *buf) in uvesafb_show_nocrtc()
1643 struct device_attribute *attr, const char *buf, size_t count) in uvesafb_store_nocrtc()
H A Dudlfb.c898 static int dlfb_ops_open(struct fb_info *info, int user) in dlfb_ops_open()
974 static int dlfb_ops_release(struct fb_info *info, int user) in dlfb_ops_release()
1467 struct device_attribute *attr, in metrics_reset_store()
1601 const struct device_attribute *attr; in dlfb_usb_probe() local
/linux/fs/
H A Dopen.c730 static inline bool setattr_vfsuid(struct iattr *attr, kuid_t kuid) in setattr_vfsuid()
745 static inline bool setattr_vfsgid(struct iattr *attr, kgid_t kgid) in setattr_vfsgid()
754 int chown_common(const struct path *path, uid_t user, gid_t group) in chown_common()
802 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat()
834 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
840 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
845 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
851 int vfs_fchown(struct file *file, uid_t user, gid_t group) in vfs_fchown()
864 int ksys_fchown(unsigned int fd, uid_t user, gid_t group) in ksys_fchown()
874 SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c68 struct ib_qp_attr attr; in flush_work_handle() local
445 bool user) in proc_rq_sge()
467 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
750 static int hns_roce_qp_has_sq(struct ib_qp_init_attr *attr) in hns_roce_qp_has_sq()
758 static int hns_roce_qp_has_rq(struct ib_qp_init_attr *attr) in hns_roce_qp_has_rq()
1349 struct ib_qp_attr *attr, int attr_mask) in check_mtu_validate()
1369 static int hns_roce_check_qp_attr(struct ib_qp *ibqp, struct ib_qp_attr *attr, in hns_roce_check_qp_attr()
1415 int hns_roce_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in hns_roce_modify_qp()
/linux/kernel/sched/
H A Dsyscalls.c339 const struct sched_attr *attr) in uclamp_validate()
373 static bool uclamp_reset(const struct sched_attr *attr, in uclamp_reset()
399 const struct sched_attr *attr) in __setscheduler_uclamp()
442 const struct sched_attr *attr) in uclamp_validate()
447 const struct sched_attr *attr) { } in __setscheduler_uclamp()
456 const struct sched_attr *attr, in user_check_sched_setscheduler()
514 const struct sched_attr *attr, in __sched_setscheduler()
515 bool user, bool pi) in __sched_setscheduler()
758 struct sched_attr attr = { in _sched_setscheduler() local
794 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
[all …]
/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/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
290 struct list_head user; member
569 struct fastrpc_user *user, u32 kernel, u32 sc, in fastrpc_context_alloc()
750 u64 len, u32 attr, struct fastrpc_map **ppmap) in fastrpc_map_attach()
843 u64 len, u32 attr, struct fastrpc_map **ppmap) in fastrpc_map_create()
2405 static void fastrpc_notify_users(struct fastrpc_user *user) in fastrpc_notify_users()
2421 struct fastrpc_user *user; in fastrpc_rpmsg_remove() local
/linux/drivers/infiniband/hw/cxgb4/
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/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()
1968 int dsa_user_manage_vlan_filtering(struct net_device *user, in dsa_user_manage_vlan_filtering()
2058 struct net_device *user; in dsa_bridge_mtu_normalization() local
2260 struct net_device *user = other_dp->user; in dsa_user_dcbnl_ieee_global_dscp_setdel() local
2281 struct net_device *user = other_dp->user; in dsa_user_dcbnl_ieee_global_dscp_setdel() local
2699 void dsa_user_setup_tagger(struct net_device *user) in dsa_user_setup_tagger()
3123 struct net_device *user, *br; in dsa_prevent_bridging_8021q_upper() local
/linux/drivers/mmc/core/
H A Dblock.c234 struct device_attribute *attr, char *buf) in power_ro_lock_show()
254 struct device_attribute *attr, const char *buf, size_t count) in power_ro_lock_store()
302 static ssize_t force_ro_show(struct device *dev, struct device_attribute *attr, in force_ro_show()
315 static ssize_t force_ro_store(struct device *dev, struct device_attribute *attr, in force_ro_store()
420 struct mmc_ioc_cmd __user *user) in mmc_blk_ioctl_copy_from_user()
717 struct mmc_ioc_multi_cmd __user *user, in mmc_blk_ioctl_multi_cmd()
/linux/fs/ntfs3/
H A Dfile.c62 u8 user[FSLABEL_MAX] = {0}; in ntfs_ioctl_set_volume_label() local
774 struct iattr *attr) in ntfs_setattr()
/linux/drivers/video/fbdev/core/
H A Dfbcon.c848 static int set_con2fb_map(int unit, int newidx, int user) in set_con2fb_map()
1574 unsigned short attr = 1; in fbcon_redraw_move() local
1658 unsigned short attr = 1; in fbcon_redraw() local
3200 struct device_attribute *attr, const char *buf, in rotate_store()
3222 struct device_attribute *attr,const char *buf, in rotate_all_store()
3244 struct device_attribute *attr,char *buf) in rotate_show()
3263 struct device_attribute *attr, char *buf) in cursor_blink_show()
3288 struct device_attribute *attr, in cursor_blink_store()
/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/include/rdma/
H A Drdma_vt.h157 bool user; member
163 struct rdma_ah_attr attr; member
/linux/kernel/events/
H A Dcore.c1028 struct perf_event_attr *attr, in perf_cgroup_connect()
1133 struct perf_event_attr *attr, in perf_cgroup_connect()
1872 static inline bool has_inherit_and_sample_read(struct perf_event_attr *attr) in has_inherit_and_sample_read()
3366 struct perf_event_attr *attr) in perf_event_modify_breakpoint()
3390 struct perf_event_attr *attr) in perf_event_modify_attr()
5185 struct perf_event_attr *attr = &event->attr; in is_sb_event() local
6939 struct user_struct *user = current_user(); in perf_mmap_calc_limits() local
6973 struct user_struct *user = current_user(); in perf_mmap_account() local
8207 bool user = !event->attr.exclude_callchain_user && in perf_callchain() local
12094 struct device_attribute *attr, in nr_addr_filters_show()
[all …]
/linux/include/linux/
H A Dbpf.h1668 struct user_struct *user; member
2056 static inline int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
2779 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
3009 const union bpf_attr *attr, in bpf_token_get_info_by_fd()
3312 union bpf_attr *attr) in bpf_prog_dev_bound_init()
3347 static inline struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
3369 static inline int sock_map_get_from_fd(const union bpf_attr *attr, in sock_map_get_from_fd()
3375 static inline int sock_map_prog_detach(const union bpf_attr *attr, in sock_map_prog_detach()
3387 static inline int sock_map_bpf_prog_query(const union bpf_attr *attr, in sock_map_bpf_prog_query()
3393 static inline int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_link_create()
/linux/drivers/scsi/qla4xxx/
H A Dql4_os.c961 struct nlattr *attr; in qla4xxx_set_chap_entry() local
2737 struct nlattr *attr; in qla4xxx_iface_set_param() local
7227 uint16_t *idx, int user) in qla4xxx_sysfs_ddb_tgt_create()
8115 struct nlattr *attr; in qla4xxx_sysfs_ddb_set_param() local

12