| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | power_supply_hwmon.c | 21 static int power_supply_hwmon_in_to_property(u32 attr) in power_supply_hwmon_in_to_property() 37 static int power_supply_hwmon_curr_to_property(u32 attr) in power_supply_hwmon_curr_to_property() 51 static int power_supply_hwmon_temp_to_property(u32 attr, int channel) in power_supply_hwmon_temp_to_property() 85 power_supply_hwmon_to_property(enum hwmon_sensor_types type, in power_supply_hwmon_to_property() 86 u32 attr, int channel) in power_supply_hwmon_to_property() 100 static bool power_supply_hwmon_is_a_label(enum hwmon_sensor_types type, in power_supply_hwmon_is_a_label() 101 u32 attr) in power_supply_hwmon_is_a_label() 123 enum hwmon_sensor_types type, int channel) in power_supply_hwmon_has_input() 139 static bool power_supply_hwmon_is_writable(enum hwmon_sensor_types type, in power_supply_hwmon_is_writable() 140 u32 attr) in power_supply_hwmon_is_writable() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | power_supply_hwmon.c | 21 static int power_supply_hwmon_in_to_property(u32 attr) in power_supply_hwmon_in_to_property() 37 static int power_supply_hwmon_curr_to_property(u32 attr) in power_supply_hwmon_curr_to_property() 51 static int power_supply_hwmon_temp_to_property(u32 attr, int channel) in power_supply_hwmon_temp_to_property() 85 power_supply_hwmon_to_property(enum hwmon_sensor_types type, in power_supply_hwmon_to_property() 86 u32 attr, int channel) in power_supply_hwmon_to_property() 100 static bool power_supply_hwmon_is_a_label(enum hwmon_sensor_types type, in power_supply_hwmon_is_a_label() 101 u32 attr) in power_supply_hwmon_is_a_label() 123 enum hwmon_sensor_types type, int channel) in power_supply_hwmon_has_input() 139 static bool power_supply_hwmon_is_writable(enum hwmon_sensor_types type, in power_supply_hwmon_is_writable() 140 u32 attr) in power_supply_hwmon_is_writable() [all …]
|
| /kernel/linux/linux-6.6/drivers/vfio/mdev/ |
| D | mdev_sysfs.c | 18 struct attribute attr; member 34 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() local 35 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_show() local 47 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() local 48 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_store() local 62 struct mdev_type_attribute *attr, const char *buf, in create_store() 90 struct mdev_type_attribute *attr, char *buf) in device_api_show() 97 struct mdev_type_attribute *attr, char *buf) in name_show() 106 struct mdev_type_attribute *attr, in available_instances_show() 119 struct mdev_type_attribute *attr, in description_show() [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
| D | hwmon.c | 17 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw() 57 static u32 fixup_attr_legacy_fw(u32 attr) in fixup_attr_legacy_fw() 64 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw() 70 static u32 fixup_attr_legacy_fw(u32 attr) in fixup_attr_legacy_fw() 77 static u32 adjust_hwmon_flags(struct hl_device *hdev, enum hwmon_sensor_types type, u32 cpucp_flags) in adjust_hwmon_flags() 155 enum hwmon_sensor_types type; in hl_build_hwmon_channel_info() local 242 static int hl_read(struct device *dev, enum hwmon_sensor_types type, in hl_read() 243 u32 attr, int channel, long *val) in hl_read() 396 static int hl_write(struct device *dev, enum hwmon_sensor_types type, in hl_write() 397 u32 attr, int channel, long val) in hl_write() [all …]
|
| /kernel/uniproton/src/osal/posix/ |
| D | prt_posix_mutex.c | 20 #define PTHREAD_MUTEX_TYPE_ISVALID(type) ((type) >= PTHREAD_MUTEX_NORMAL && (type) <= PTHREAD_MUTEX… argument 25 U8 type; member 50 int pthread_mutexattr_init(pthread_mutexattr_t *attr) in pthread_mutexattr_init() 62 int pthread_mutexattr_destroy(pthread_mutexattr_t *attr) in pthread_mutexattr_destroy() 78 int PRT_PthreadMutexInit(prt_pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) in PRT_PthreadMutexInit() 123 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) in pthread_mutex_init() 280 int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type) 295 int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) 355 int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int ceiling) 363 int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *__restrict attr, int *ceiling) [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | iscsi_boot_sysfs.c | 24 struct attribute attr; member 25 int type; member 33 struct attribute *attr, char *buf) in iscsi_boot_show_attribute() 108 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible() 191 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible() 266 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible() 315 struct attribute *attr, int i) in iscsi_boot_acpitbl_attr_is_visible() 341 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj() 342 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_kobj() 404 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | iscsi_boot_sysfs.c | 24 struct attribute attr; member 25 int type; member 33 struct attribute *attr, char *buf) in iscsi_boot_show_attribute() 108 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible() 191 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible() 266 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible() 315 struct attribute *attr, int i) in iscsi_boot_acpitbl_attr_is_visible() 341 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj() 342 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_kobj() 404 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
| D | hwmon.c | 24 enum hwmon_sensor_types type; in hl_build_hwmon_channel_info() local 111 static int hl_read(struct device *dev, enum hwmon_sensor_types type, in hl_read() 112 u32 attr, int channel, long *val) in hl_read() 190 static int hl_write(struct device *dev, enum hwmon_sensor_types type, in hl_write() 191 u32 attr, int channel, long val) in hl_write() 243 static umode_t hl_is_visible(const void *data, enum hwmon_sensor_types type, in hl_is_visible() 244 u32 attr, int channel) in hl_is_visible() 312 int sensor_index, u32 attr, long *value) in hl_get_temperature() 338 int sensor_index, u32 attr, long value) in hl_set_temperature() 363 int sensor_index, u32 attr, long *value) in hl_get_voltage() [all …]
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| D | bpf.c | 62 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf() 68 static inline int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size) in sys_bpf_prog_load() 81 union bpf_attr attr; in bpf_create_map_xattr() local 161 union bpf_attr attr; in bpf_create_map_in_map_node() local 221 union bpf_attr attr; in bpf_load_program_xattr() local 329 int bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_load_program() 348 int bpf_verify_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_verify_program() 353 union bpf_attr attr; in bpf_verify_program() local 373 union bpf_attr attr; in bpf_map_update_elem() local 386 union bpf_attr attr; in bpf_map_lookup_elem() local [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
| D | rxe_av.c | 10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av() 17 int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr) in rxe_av_chk_attr() 21 int type; in rxe_av_chk_attr() local 45 struct rdma_ah_attr *attr) in rxe_av_from_attr() 58 void rxe_av_to_attr(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_to_attr() 74 void rxe_av_fill_ip_info(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_fill_ip_info() 78 int type; in rxe_av_fill_ip_info() local
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | net_namespace.c | 13 enum bpf_attach_type type; member 28 static void netns_bpf_attach_type_unneed(enum netns_bpf_attach_type type) in netns_bpf_attach_type_unneed() 41 static void netns_bpf_attach_type_need(enum netns_bpf_attach_type type) in netns_bpf_attach_type_need() 56 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach() 65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 105 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local 169 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_update_prog() local 245 static int __netns_bpf_prog_query(const union bpf_attr *attr, in __netns_bpf_prog_query() [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | net_namespace.c | 14 enum bpf_attach_type type; member 29 static void netns_bpf_attach_type_unneed(enum netns_bpf_attach_type type) in netns_bpf_attach_type_unneed() 42 static void netns_bpf_attach_type_need(enum netns_bpf_attach_type type) in netns_bpf_attach_type_need() 57 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach() 66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 90 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 106 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local 170 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_update_prog() local 246 static int __netns_bpf_prog_query(const union bpf_attr *attr, in __netns_bpf_prog_query() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
| D | vgic-kvm-device.c | 56 int kvm_vgic_addr(struct kvm *kvm, unsigned long type, u64 *addr, bool write) in kvm_vgic_addr() 156 struct kvm_device_attr *attr) in vgic_set_common_attr() 164 unsigned long type = (unsigned long)attr->attr; in vgic_set_common_attr() local 219 struct kvm_device_attr *attr) in vgic_get_common_attr() 227 unsigned long type = (unsigned long)attr->attr; in vgic_get_common_attr() local 252 static int vgic_create(struct kvm_device *dev, u32 type) in vgic_create() 262 int kvm_register_vgic_device(unsigned long type) in kvm_register_vgic_device() 284 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v2_parse_attr() 348 struct kvm_device_attr *attr, in vgic_v2_attr_regs_access() 393 struct kvm_device_attr *attr) in vgic_v2_set_attr() [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/ |
| D | rxe_av.c | 10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av() 17 static int chk_attr(void *obj, struct rdma_ah_attr *attr, bool obj_is_ah) in chk_attr() 24 int type; in chk_attr() local 63 int rxe_av_chk_attr(struct rxe_qp *qp, struct rdma_ah_attr *attr) in rxe_av_chk_attr() 68 int rxe_ah_chk_attr(struct rxe_ah *ah, struct rdma_ah_attr *attr) in rxe_ah_chk_attr() 74 struct rdma_ah_attr *attr) in rxe_av_from_attr() 87 void rxe_av_to_attr(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_to_attr() 103 void rxe_av_fill_ip_info(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_fill_ip_info() 107 int type; in rxe_av_fill_ip_info() local
|
| /kernel/linux/linux-5.10/net/802/ |
| D | garp.c | 137 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp() 138 const void *data, u8 len, u8 type) in garp_attr_cmp() 148 const void *data, u8 len, u8 type) in garp_attr_lookup() 151 struct garp_attr *attr; in garp_attr_lookup() local 168 const void *data, u8 len, u8 type) in garp_attr_create() 171 struct garp_attr *attr; in garp_attr_create() local 200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() 209 struct garp_attr *attr; in garp_attr_destroy_all() local 288 const struct garp_attr *attr, in garp_pdu_append_attr() 324 struct garp_attr *attr, enum garp_event event) in garp_attr_event() [all …]
|
| /kernel/linux/linux-6.6/net/802/ |
| D | garp.c | 137 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp() 138 const void *data, u8 len, u8 type) in garp_attr_cmp() 148 const void *data, u8 len, u8 type) in garp_attr_lookup() 151 struct garp_attr *attr; in garp_attr_lookup() local 168 const void *data, u8 len, u8 type) in garp_attr_create() 171 struct garp_attr *attr; in garp_attr_create() local 200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() 209 struct garp_attr *attr; in garp_attr_destroy_all() local 288 const struct garp_attr *attr, in garp_pdu_append_attr() 324 struct garp_attr *attr, enum garp_event event) in garp_attr_event() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| D | opal-dump.c | 24 uint32_t type; member 31 struct attribute attr; member 40 struct dump_attribute *attr, in dump_id_show() 46 static const char* dump_type_to_string(uint32_t type) in dump_type_to_string() 57 struct dump_attribute *attr, in dump_type_show() 66 struct dump_attribute *attr, in dump_ack_show() 87 struct dump_attribute *attr, in dump_ack_store() 114 struct dump_attribute *attr, in init_dump_show() 120 static int64_t dump_fips_init(uint8_t type) in dump_fips_init() 132 struct dump_attribute *attr, in init_dump_store() [all …]
|
| D | opal-elog.c | 24 uint64_t type; member 31 struct attribute attr; member 40 struct elog_attribute *attr, in elog_id_show() 46 static const char *elog_type_to_string(uint64_t type) in elog_type_to_string() 55 struct elog_attribute *attr, in elog_type_show() 64 struct elog_attribute *attr, in elog_ack_show() 71 struct elog_attribute *attr, in elog_ack_store() 96 struct attribute *attr, in elog_attr_show() 112 struct attribute *attr, in elog_attr_store() 187 static void create_elog_obj(uint64_t id, size_t size, uint64_t type) in create_elog_obj() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| D | opal-dump.c | 24 uint32_t type; member 31 struct attribute attr; member 40 struct dump_attribute *attr, in dump_id_show() 46 static const char* dump_type_to_string(uint32_t type) in dump_type_to_string() 57 struct dump_attribute *attr, in dump_type_show() 66 struct dump_attribute *attr, in dump_ack_show() 87 struct dump_attribute *attr, in dump_ack_store() 114 struct dump_attribute *attr, in init_dump_show() 120 static int64_t dump_fips_init(uint8_t type) in dump_fips_init() 132 struct dump_attribute *attr, in init_dump_store() [all …]
|
| D | opal-elog.c | 24 uint64_t type; member 31 struct attribute attr; member 40 struct elog_attribute *attr, in elog_id_show() 46 static const char *elog_type_to_string(uint64_t type) in elog_type_to_string() 55 struct elog_attribute *attr, in elog_type_show() 64 struct elog_attribute *attr, in elog_ack_show() 71 struct elog_attribute *attr, in elog_ack_store() 96 struct attribute *attr, in elog_attr_show() 112 struct attribute *attr, in elog_attr_store() 188 static void create_elog_obj(uint64_t id, size_t size, uint64_t type) in create_elog_obj() [all …]
|
| /kernel/linux/linux-5.10/drivers/vfio/mdev/ |
| D | mdev_sysfs.c | 24 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() local 25 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_show() local 37 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() local 38 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_store() local 81 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_release() local 95 struct mdev_type *type; in add_mdev_supported_type() local 148 static void remove_mdev_supported_type(struct mdev_type *type) in remove_mdev_supported_type() 163 struct mdev_type *type; in add_mdev_supported_type_groups() local 185 struct mdev_type *type, *tmp; in parent_remove_sysfs_files() local 225 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store() [all …]
|
| /kernel/linux/linux-6.6/tools/net/ynl/generated/ |
| D | devlink-user.c | 164 const struct nlattr *attr; in devlink_dl_info_version_parse() local 167 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_info_version_parse() local 206 const struct nlattr *attr; in devlink_dl_reload_stats_entry_parse() local 209 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_stats_entry_parse() local 241 const struct nlattr *attr; in devlink_dl_reload_act_stats_parse() local 251 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_act_stats_parse() local 290 const struct nlattr *attr; in devlink_dl_reload_act_info_parse() local 300 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_act_info_parse() local 344 const struct nlattr *attr; in devlink_dl_reload_stats_parse() local 354 unsigned int type = mnl_attr_get_type(attr); in devlink_dl_reload_stats_parse() local [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_hwmon.c | 17 static int nfp_hwmon_sensor_id(enum hwmon_sensor_types type, int channel) in nfp_hwmon_sensor_id() 27 nfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_read() 31 enum hwmon_sensor_types type; in nfp_hwmon_read() member 32 u32 attr; in nfp_hwmon_read() member 66 nfp_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_is_visible()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_hwmon.c | 17 static int nfp_hwmon_sensor_id(enum hwmon_sensor_types type, int channel) in nfp_hwmon_sensor_id() 27 nfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_read() 31 enum hwmon_sensor_types type; in nfp_hwmon_read() member 32 u32 attr; in nfp_hwmon_read() member 66 nfp_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_is_visible()
|
| /kernel/linux/linux-6.6/tools/lib/bpf/ |
| D | bpf.c | 72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf() 78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd() 87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load() 114 union bpf_attr attr; in probe_memcg_account() local 173 union bpf_attr attr; in bpf_map_create() local 241 union bpf_attr attr; in bpf_prog_load() local 384 union bpf_attr attr; in bpf_map_update_elem() local 400 union bpf_attr attr; in bpf_map_lookup_elem() local 415 union bpf_attr attr; in bpf_map_lookup_elem_flags() local 431 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local [all …]
|