/linux-master/net/ethtool/ |
H A D | bitset.h | 24 const struct nlattr *attr, ethnl_string_array_t names, 27 const struct nlattr *attr, ethnl_string_array_t names, 30 unsigned int nbits, const struct nlattr *attr,
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | cycles_test.c | 24 event.attr.exclude_kernel = 1; 25 event.attr.exclude_hv = 1; 26 event.attr.exclude_idle = 1;
|
H A D | no_handler_test.c | 27 event.attr.exclude_kernel = 1; 28 event.attr.exclude_hv = 1; 29 event.attr.exclude_idle = 1;
|
/linux-master/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | passobj-attributes.c | 15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, argument 41 struct kobj_attribute *attr, 72 struct kobj_attribute *attr, 105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, argument 113 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, argument 126 &po_is_pass_set.attr, 127 &po_min_pass_length.attr, 128 &po_max_pass_length.attr, 129 &po_current_password.attr, 130 &po_new_password.attr, 40 current_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 71 new_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/include/rdma/ |
H A D | ib_sysfs.h | 13 struct attribute attr; member in struct:ib_port_attribute 15 struct ib_port_attribute *attr, char *buf); 17 struct ib_port_attribute *attr, const char *buf,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | csum.c | 42 struct mlx5_flow_attr *attr) 46 return csum_offload_supported(flow->priv, attr->action, 54 struct mlx5_flow_attr *attr) 39 tc_act_can_offload_csum(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) argument 51 tc_act_parse_csum(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 201 struct vas_rx_win_attr attr; local 216 vas_init_rx_win_attr(&attr, VAS_COP_TYPE_FAULT); 218 attr.rx_fifo_size = vinst->fault_fifo_size; 219 attr.rx_fifo = __pa(vinst->fault_fifo); 226 attr.wcreds_max = vinst->fault_fifo_size / CRB_SIZE; 227 attr.lnotify_lpid = 0; 228 attr.lnotify_pid = mfspr(SPRN_PID); 229 attr.lnotify_tid = mfspr(SPRN_PID); 231 win = vas_rx_win_open(vinst->vas_id, VAS_COP_TYPE_FAULT, &attr); 241 vinst->fault_win->vas_win.winid, attr [all...] |
/linux-master/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 14 struct attribute attr; member in struct:slave_attribute 106 &slave_attr_state.attr, 107 &slave_attr_mii_status.attr, 108 &slave_attr_link_failure_count.attr, 109 &slave_attr_perm_hwaddr.attr, 110 &slave_attr_queue_id.attr, 111 &slave_attr_ad_aggregator_id.attr, 112 &slave_attr_ad_actor_oper_port_state.attr, 113 &slave_attr_ad_partner_oper_port_state.attr, 117 #define to_slave_attr(_at) container_of(_at, struct slave_attribute, attr) 119 slave_show(struct kobject *kobj, struct attribute *attr, char *buf) argument [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_spkout.c | 77 &caps_start_attribute.attr, 78 &caps_stop_attribute.attr, 79 &pitch_attribute.attr, 80 &punct_attribute.attr, 81 &rate_attribute.attr, 82 &tone_attribute.attr, 83 &vol_attribute.attr, 84 &delay_time_attribute.attr, 85 &direct_attribute.attr, 86 &full_time_attribute.attr, [all...] |
/linux-master/drivers/of/ |
H A D | kobj.c | 35 struct property *pp = container_of(bin_attr, struct property, attr); 76 sysfs_bin_attr_init(&pp->attr); 77 pp->attr.attr.name = safe_name(&np->kobj, pp->name); 78 pp->attr.attr.mode = secure ? 0400 : 0444; 79 pp->attr.size = secure ? 0 : pp->length; 80 pp->attr.read = of_node_property_read; 82 rc = sysfs_create_bin_file(&np->kobj, &pp->attr); 92 sysfs_remove_bin_file(&np->kobj, &prop->attr); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 56 struct mlx5_vport_tbl_attr *attr, 59 key->vport = attr->vport; 60 key->chain = attr->chain; 61 key->prio = attr->prio; 63 key->vport_ns = attr->vport_ns; 81 mlx5_esw_vporttbl_get(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) argument 91 esw_vport_tbl_init(esw, attr->vport_ns); 92 hkey = flow_attr_to_vport_key(esw, attr, &skey); 112 fdb = esw_vport_tbl_create(esw, ns, attr->vport_ns); 132 mlx5_esw_vporttbl_put(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) argument 55 flow_attr_to_vport_key(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr, struct mlx5_vport_key *key) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | ltc4260.c | 76 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 79 value = ltc4260_get_value(dev, attr->index); 88 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 97 fault &= attr->index; 99 regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); 125 &sensor_dev_attr_in1_input.dev_attr.attr, 126 &sensor_dev_attr_in1_min_alarm.dev_attr.attr, 127 &sensor_dev_attr_in1_max_alarm.dev_attr.attr, 128 &sensor_dev_attr_in2_input.dev_attr.attr, 129 &sensor_dev_attr_in2_alarm.dev_attr.attr, [all...] |
H A D | via686a.c | 414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 415 int nr = attr->index; 422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 423 int nr = attr->index; 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 431 int nr = attr->index; 438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 439 int nr = attr->index; 457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 458 int nr = attr 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 567 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 575 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 584 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 591 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 609 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 636 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument 645 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
H A D | ina238.c | 129 static int ina238_read_in(struct device *dev, u32 attr, int channel, argument 139 switch (attr) { 162 switch (attr) { 192 switch (attr) { 214 static int ina238_write_in(struct device *dev, u32 attr, int channel, argument 220 if (attr != hwmon_in_max && attr != hwmon_in_min) 232 switch (attr) { 248 switch (attr) { 263 static int ina238_read_current(struct device *dev, u32 attr, lon argument 286 ina238_read_power(struct device *dev, u32 attr, long *val) argument 333 ina238_write_power(struct device *dev, u32 attr, long val) argument 354 ina238_read_temp(struct device *dev, u32 attr, long *val) argument 391 ina238_write_temp(struct device *dev, u32 attr, long val) argument 406 ina238_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument 424 ina238_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument 451 ina238_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int channel) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | act_stats.c | 106 struct mlx5_flow_attr *attr; local 113 list_for_each_entry(attr, &flow->attrs, list) { 114 for (i = 0; i < attr->tc_act_cookies_count; i++) { 119 &attr->tc_act_cookies[i], 137 struct mlx5_flow_attr *attr; local 144 list_for_each_entry(attr, &flow->attrs, list) { 145 if (attr->counter) 146 curr_counter = attr->counter; 148 for (i = 0; i < attr->tc_act_cookies_count; i++) { 150 if (last_cookie == attr [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_attr_item.c | 311 /* Log an attr to the intent item. */ 316 const struct xfs_attr_intent *attr) 326 attrp->alfi_ino = attr->xattri_da_args->dp->i_ino; 327 ASSERT(!(attr->xattri_op_flags & ~XFS_ATTRI_OP_FLAGS_TYPE_MASK)); 328 attrp->alfi_op_flags = attr->xattri_op_flags; 329 attrp->alfi_value_len = attr->xattri_nameval->value.i_len; 330 attrp->alfi_name_len = attr->xattri_nameval->name.i_len; 331 ASSERT(!(attr->xattri_da_args->attr_filter & ~XFS_ATTRI_FILTER_MASK)); 332 attrp->alfi_attr_filter = attr->xattri_da_args->attr_filter; 345 struct xfs_attr_intent *attr; local 313 xfs_attr_log_item( struct xfs_trans *tp, struct xfs_attri_log_item *attrip, const struct xfs_attr_intent *attr) argument 382 xfs_attr_free_item( struct xfs_attr_intent *attr) argument 407 struct xfs_attr_intent *attr = attri_entry(item); local 450 struct xfs_attr_intent *attr = attri_entry(item); local 509 struct xfs_attr_intent *attr; local 577 struct xfs_attr_intent *attr; local [all...] |
/linux-master/drivers/iio/dummy/ |
H A D | iio_dummy_evgen.c | 134 struct device_attribute *attr, 138 struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); 169 &iio_dev_attr_poke_ev0.dev_attr.attr, 170 &iio_dev_attr_poke_ev1.dev_attr.attr, 171 &iio_dev_attr_poke_ev2.dev_attr.attr, 172 &iio_dev_attr_poke_ev3.dev_attr.attr, 173 &iio_dev_attr_poke_ev4.dev_attr.attr, 174 &iio_dev_attr_poke_ev5.dev_attr.attr, 175 &iio_dev_attr_poke_ev6.dev_attr.attr, 176 &iio_dev_attr_poke_ev7.dev_attr.attr, 133 iio_evgen_poke(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument [all...] |
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_sysfs_in.c | 20 struct device_attribute *attr, char *buf) 29 struct device_attribute *attr, char *buf) 66 struct device_attribute *attr, 118 struct device_attribute *attr, char *buf) 133 struct device_attribute *attr, 164 struct device_attribute *attr, char *buf) 175 struct device_attribute *attr, char *buf) 187 struct device_attribute *attr, char *buf) 198 struct device_attribute *attr, char *buf) 209 struct device_attribute *attr, cha 19 input_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument 28 oldi_lane_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 65 oldi_lane_width_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 117 color_mapping_show(struct device *dev, struct device_attribute *attr, char *buf) argument 132 color_mapping_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 163 link_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 174 stream_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 186 video_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 197 video_height_show(struct device *dev, struct device_attribute *attr, char *buf) argument 208 hsync_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 227 vsync_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 246 hsync_gap_length_show(struct device *dev, struct device_attribute *attr, char *buf) argument 262 hsync_gap_length_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 283 vsync_gap_length_show(struct device *dev, struct device_attribute *attr, char *buf) argument 298 vsync_gap_length_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 319 pclk_frequency_show(struct device *dev, struct device_attribute *attr, char *buf) argument 330 hsync_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 341 vsync_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 352 hback_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 363 hfront_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 374 vback_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 385 vfront_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 396 frequency_range_show(struct device *dev, struct device_attribute *attr, char *buf) argument 405 frequency_range_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 436 fpdl3_input_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 465 fpdl3_input_width_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 504 gmsl_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 535 gmsl_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 586 gmsl_stream_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument 602 gmsl_stream_id_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 632 gmsl_fec_show(struct device *dev, struct device_attribute *attr, char *buf) argument 658 gmsl_fec_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | rpadlpar_sysfs.c | 27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, argument 51 struct kobj_attribute *attr, char *buf) 57 struct kobj_attribute *attr, 81 struct kobj_attribute *attr, char *buf) 93 &add_slot_attr.attr, 94 &remove_slot_attr.attr, 50 add_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 56 remove_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument 80 remove_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
|
/linux-master/drivers/scsi/bnx2i/ |
H A D | bnx2i_sysfs.c | 33 * @attr: device attribute (unused) 40 struct device_attribute *attr, char *buf) 51 * @attr: device attribute (unused) 60 struct device_attribute *attr, 92 * @attr: device attribute (unused) 98 struct device_attribute *attr, char *buf) 109 * @attr: device attribute (unused) 116 struct device_attribute *attr, 146 &dev_attr_sq_size.attr, 147 &dev_attr_num_ccell.attr, 39 bnx2i_show_sq_info(struct device *dev, struct device_attribute *attr, char *buf) argument 59 bnx2i_set_sq_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 97 bnx2i_show_ccell_info(struct device *dev, struct device_attribute *attr, char *buf) argument 115 bnx2i_set_ccell_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/mm/damon/ |
H A D | sysfs-common.c | 34 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, argument 43 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, argument 59 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, argument 68 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, argument 96 &damon_sysfs_ul_range_min_attr.attr, 97 &damon_sysfs_ul_range_max_attr.attr,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stackid_cannot_attach.c | 8 struct perf_event_attr attr = { local 36 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, 55 attr.sample_type |= PERF_SAMPLE_CALLCHAIN; 57 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, 72 attr.exclude_callchain_kernel = 1; 74 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */,
|
/linux-master/include/linux/ |
H A D | fault-inject.h | 50 int setup_fault_attr(struct fault_attr *attr, char *str); 51 bool should_fail_ex(struct fault_attr *attr, ssize_t size, int flags); 52 bool should_fail(struct fault_attr *attr, ssize_t size); 57 struct dentry *parent, struct fault_attr *attr); 62 struct dentry *parent, struct fault_attr *attr) 72 struct fault_attr attr; member in struct:fault_config 61 fault_create_debugfs_attr(const char *name, struct dentry *parent, struct fault_attr *attr) argument
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | usb.h | 39 #define ATH10K_USB_IS_BULK_EP(attr) (((attr) & 3) == 0x02) 40 #define ATH10K_USB_IS_INT_EP(attr) (((attr) & 3) == 0x03) 41 #define ATH10K_USB_IS_ISOC_EP(attr) (((attr) & 3) == 0x01)
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core_sys.c | 20 struct device_attribute *attr, char *buf) 41 struct device_attribute *attr, char *buf) 51 struct device_attribute *attr, char *buf) 61 struct device_attribute *attr, char *buf) 85 struct device_attribute *attr, char *buf) 95 struct device_attribute *attr, char *buf) 103 struct device_attribute *attr, const char *buf, size_t count) 135 struct device_attribute *attr, char *buf) 141 struct device_attribute *attr, const char *buf, size_t count) 154 struct device_attribute *attr, cha 19 qeth_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument 40 qeth_dev_chpid_show(struct device *dev, struct device_attribute *attr, char *buf) argument 50 qeth_dev_if_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument 60 qeth_dev_card_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument 84 qeth_dev_inbuf_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument 94 qeth_dev_portno_show(struct device *dev, struct device_attribute *attr, char *buf) argument 102 qeth_dev_portno_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 134 qeth_dev_portname_show(struct device *dev, struct device_attribute *attr, char *buf) argument 140 qeth_dev_portname_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 153 qeth_dev_prioqing_show(struct device *dev, struct device_attribute *attr, char *buf) argument 175 qeth_dev_prioqing_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 240 qeth_dev_bufcnt_show(struct device *dev, struct device_attribute *attr, char *buf) argument 248 qeth_dev_bufcnt_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 276 qeth_dev_recover_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 298 qeth_dev_performance_stats_show(struct device *dev, struct device_attribute *attr, char *buf) argument 304 qeth_dev_performance_stats_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 333 qeth_dev_layer2_show(struct device *dev, struct device_attribute *attr, char *buf) argument 341 qeth_dev_layer2_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 406 qeth_dev_isolation_show(struct device *dev, struct device_attribute *attr, char *buf) argument 423 qeth_dev_isolation_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 465 qeth_dev_switch_attrs_show(struct device *dev, struct device_attribute *attr, char *buf) argument 499 qeth_hw_trap_show(struct device *dev, struct device_attribute *attr, char *buf) argument 510 qeth_hw_trap_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 573 qeth_dev_blkt_total_show(struct device *dev, struct device_attribute *attr, char *buf) argument 581 qeth_dev_blkt_total_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 593 qeth_dev_blkt_inter_show(struct device *dev, struct device_attribute *attr, char *buf) argument 601 qeth_dev_blkt_inter_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 613 qeth_dev_blkt_inter_jumbo_show(struct device *dev, struct device_attribute *attr, char *buf) argument 621 qeth_dev_blkt_inter_jumbo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |