sattr              91 arch/m68k/include/asm/fbio.h         struct fbsattr sattr;   
sattr              62 arch/powerpc/platforms/powernv/opal-sensor-groups.c 	struct sg_attr *sattr = container_of(attr, struct sg_attr, attr);
sattr              84 arch/powerpc/platforms/powernv/opal-sensor-groups.c 	ret = opal_sensor_group_clear(sattr->handle, token);
sattr             269 arch/sh/kernel/cpu/sh4/sq.c 	struct sq_sysfs_attr *sattr = to_sq_sysfs_attr(attr);
sattr             271 arch/sh/kernel/cpu/sh4/sq.c 	if (likely(sattr->show))
sattr             272 arch/sh/kernel/cpu/sh4/sq.c 		return sattr->show(buf);
sattr             280 arch/sh/kernel/cpu/sh4/sq.c 	struct sq_sysfs_attr *sattr = to_sq_sysfs_attr(attr);
sattr             282 arch/sh/kernel/cpu/sh4/sq.c 	if (likely(sattr->store))
sattr             283 arch/sh/kernel/cpu/sh4/sq.c 		return sattr->store(buf, count);
sattr              88 arch/sparc/include/uapi/asm/fbio.h         struct fbsattr sattr;   
sattr             328 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             334 drivers/hwmon/adt7475.c 	switch (sattr->nr) {
sattr             337 drivers/hwmon/adt7475.c 			       (data->alarms >> sattr->index) & 1);
sattr             339 drivers/hwmon/adt7475.c 		val = data->voltage[sattr->nr][sattr->index];
sattr             341 drivers/hwmon/adt7475.c 			       reg2volt(sattr->index, val, data->bypass_attn));
sattr             350 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             361 drivers/hwmon/adt7475.c 	data->voltage[sattr->nr][sattr->index] =
sattr             362 drivers/hwmon/adt7475.c 				volt2reg(sattr->index, val, data->bypass_attn);
sattr             364 drivers/hwmon/adt7475.c 	if (sattr->index < ADT7475_VOLTAGE_COUNT) {
sattr             365 drivers/hwmon/adt7475.c 		if (sattr->nr == MIN)
sattr             366 drivers/hwmon/adt7475.c 			reg = VOLTAGE_MIN_REG(sattr->index);
sattr             368 drivers/hwmon/adt7475.c 			reg = VOLTAGE_MAX_REG(sattr->index);
sattr             370 drivers/hwmon/adt7475.c 		if (sattr->nr == MIN)
sattr             377 drivers/hwmon/adt7475.c 				  data->voltage[sattr->nr][sattr->index] >> 2);
sattr             387 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             393 drivers/hwmon/adt7475.c 	switch (sattr->nr) {
sattr             396 drivers/hwmon/adt7475.c 		out = data->temp[sattr->nr][sattr->index];
sattr             397 drivers/hwmon/adt7475.c 		if (sattr->index != 1)
sattr             405 drivers/hwmon/adt7475.c 		out = reg2temp(data, data->temp[THERM][sattr->index]) -
sattr             416 drivers/hwmon/adt7475.c 		out = (s8)data->temp[sattr->nr][sattr->index];
sattr             425 drivers/hwmon/adt7475.c 		out = (data->alarms >> (sattr->index + 4)) & 1;
sattr             430 drivers/hwmon/adt7475.c 		out = !!(data->alarms & (sattr->index ? 0x8000 : 0x4000));
sattr             435 drivers/hwmon/adt7475.c 		out = reg2temp(data, data->temp[sattr->nr][sattr->index]);
sattr             444 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             460 drivers/hwmon/adt7475.c 	switch (sattr->nr) {
sattr             464 drivers/hwmon/adt7475.c 			out = data->temp[OFFSET][sattr->index] = val / 1000;
sattr             467 drivers/hwmon/adt7475.c 			out = data->temp[OFFSET][sattr->index] = val / 500;
sattr             478 drivers/hwmon/adt7475.c 		data->temp[THERM][sattr->index] =
sattr             479 drivers/hwmon/adt7475.c 			adt7475_read(TEMP_THERM_REG(sattr->index)) << 2;
sattr             482 drivers/hwmon/adt7475.c 		temp = reg2temp(data, data->temp[THERM][sattr->index]);
sattr             486 drivers/hwmon/adt7475.c 		if (sattr->index != 1) {
sattr             487 drivers/hwmon/adt7475.c 			data->temp[HYSTERSIS][sattr->index] &= 0xF0;
sattr             488 drivers/hwmon/adt7475.c 			data->temp[HYSTERSIS][sattr->index] |= (val & 0xF) << 4;
sattr             490 drivers/hwmon/adt7475.c 			data->temp[HYSTERSIS][sattr->index] &= 0x0F;
sattr             491 drivers/hwmon/adt7475.c 			data->temp[HYSTERSIS][sattr->index] |= (val & 0xF);
sattr             494 drivers/hwmon/adt7475.c 		out = data->temp[HYSTERSIS][sattr->index];
sattr             498 drivers/hwmon/adt7475.c 		data->temp[sattr->nr][sattr->index] = temp2reg(data, val);
sattr             504 drivers/hwmon/adt7475.c 		out = (u8) (data->temp[sattr->nr][sattr->index] >> 2);
sattr             507 drivers/hwmon/adt7475.c 	switch (sattr->nr) {
sattr             509 drivers/hwmon/adt7475.c 		reg = TEMP_MIN_REG(sattr->index);
sattr             512 drivers/hwmon/adt7475.c 		reg = TEMP_MAX_REG(sattr->index);
sattr             515 drivers/hwmon/adt7475.c 		reg = TEMP_OFFSET_REG(sattr->index);
sattr             518 drivers/hwmon/adt7475.c 		reg = TEMP_TMIN_REG(sattr->index);
sattr             521 drivers/hwmon/adt7475.c 		reg = TEMP_THERM_REG(sattr->index);
sattr             524 drivers/hwmon/adt7475.c 		if (sattr->index != 2)
sattr             546 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             550 drivers/hwmon/adt7475.c 	switch (sattr->index) {
sattr             573 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             583 drivers/hwmon/adt7475.c 	switch (sattr->index) {
sattr             634 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             641 drivers/hwmon/adt7475.c 	out = (data->range[sattr->index] >> 4) & 0x0F;
sattr             642 drivers/hwmon/adt7475.c 	val = reg2temp(data, data->temp[AUTOMIN][sattr->index]);
sattr             653 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             664 drivers/hwmon/adt7475.c 	data->temp[AUTOMIN][sattr->index] =
sattr             665 drivers/hwmon/adt7475.c 		adt7475_read(TEMP_TMIN_REG(sattr->index)) << 2;
sattr             666 drivers/hwmon/adt7475.c 	data->range[sattr->index] =
sattr             667 drivers/hwmon/adt7475.c 		adt7475_read(TEMP_TRANGE_REG(sattr->index));
sattr             673 drivers/hwmon/adt7475.c 	temp = reg2temp(data, data->temp[AUTOMIN][sattr->index]);
sattr             681 drivers/hwmon/adt7475.c 	data->range[sattr->index] &= ~0xF0;
sattr             682 drivers/hwmon/adt7475.c 	data->range[sattr->index] |= val << 4;
sattr             684 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index),
sattr             685 drivers/hwmon/adt7475.c 				  data->range[sattr->index]);
sattr             695 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             701 drivers/hwmon/adt7475.c 	if (sattr->nr == ALARM)
sattr             702 drivers/hwmon/adt7475.c 		out = (data->alarms >> (sattr->index + 10)) & 1;
sattr             704 drivers/hwmon/adt7475.c 		out = tach2rpm(data->tach[sattr->nr][sattr->index]);
sattr             713 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             723 drivers/hwmon/adt7475.c 	data->tach[MIN][sattr->index] = rpm2tach(val);
sattr             725 drivers/hwmon/adt7475.c 	adt7475_write_word(client, TACH_MIN_REG(sattr->index),
sattr             726 drivers/hwmon/adt7475.c 			   data->tach[MIN][sattr->index]);
sattr             736 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             741 drivers/hwmon/adt7475.c 	return sprintf(buf, "%d\n", data->pwm[sattr->nr][sattr->index]);
sattr             748 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             753 drivers/hwmon/adt7475.c 	return sprintf(buf, "%d\n", data->pwmchan[sattr->index]);
sattr             760 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             765 drivers/hwmon/adt7475.c 	return sprintf(buf, "%d\n", data->pwmctl[sattr->index]);
sattr             772 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             783 drivers/hwmon/adt7475.c 	switch (sattr->nr) {
sattr             786 drivers/hwmon/adt7475.c 		data->pwm[CONTROL][sattr->index] =
sattr             787 drivers/hwmon/adt7475.c 			adt7475_read(PWM_CONFIG_REG(sattr->index));
sattr             793 drivers/hwmon/adt7475.c 		if (((data->pwm[CONTROL][sattr->index] >> 5) & 7) != 7) {
sattr             798 drivers/hwmon/adt7475.c 		reg = PWM_REG(sattr->index);
sattr             802 drivers/hwmon/adt7475.c 		reg = PWM_MIN_REG(sattr->index);
sattr             806 drivers/hwmon/adt7475.c 		reg = PWM_MAX_REG(sattr->index);
sattr             810 drivers/hwmon/adt7475.c 	data->pwm[sattr->nr][sattr->index] = clamp_val(val, 0, 0xFF);
sattr             812 drivers/hwmon/adt7475.c 				  data->pwm[sattr->nr][sattr->index]);
sattr             821 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             824 drivers/hwmon/adt7475.c 	u8 mask = BIT(5 + sattr->index);
sattr             833 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             837 drivers/hwmon/adt7475.c 	u8 mask = BIT(5 + sattr->index);
sattr             917 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             928 drivers/hwmon/adt7475.c 	adt7475_read_pwm(client, sattr->index);
sattr             929 drivers/hwmon/adt7475.c 	r = hw_set_pwm(client, sattr->index, data->pwmctl[sattr->index], val);
sattr             941 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             952 drivers/hwmon/adt7475.c 	adt7475_read_pwm(client, sattr->index);
sattr             953 drivers/hwmon/adt7475.c 	r = hw_set_pwm(client, sattr->index, val, data->pwmchan[sattr->index]);
sattr             970 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             975 drivers/hwmon/adt7475.c 	idx = clamp_val(data->range[sattr->index] & 0xf, 0,
sattr             985 drivers/hwmon/adt7475.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             998 drivers/hwmon/adt7475.c 	data->range[sattr->index] =
sattr             999 drivers/hwmon/adt7475.c 		adt7475_read(TEMP_TRANGE_REG(sattr->index));
sattr            1000 drivers/hwmon/adt7475.c 	data->range[sattr->index] &= ~0xf;
sattr            1001 drivers/hwmon/adt7475.c 	data->range[sattr->index] |= out;
sattr            1003 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index),
sattr            1004 drivers/hwmon/adt7475.c 				  data->range[sattr->index]);
sattr             306 drivers/hwmon/da9052-hwmon.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(dattr);
sattr             309 drivers/hwmon/da9052-hwmon.c 		switch (sattr->index) {
sattr              45 drivers/hwmon/iio_hwmon.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr              47 drivers/hwmon/iio_hwmon.c 	struct iio_channel *chan = &state->channels[sattr->index];
sattr             858 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             860 drivers/hwmon/it87.c 	int index = sattr->index;
sattr             861 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr             869 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             871 drivers/hwmon/it87.c 	int index = sattr->index;
sattr             872 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr             946 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             947 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr             948 drivers/hwmon/it87.c 	int index = sattr->index;
sattr             957 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             958 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr             959 drivers/hwmon/it87.c 	int index = sattr->index;
sattr            1112 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            1113 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr            1114 drivers/hwmon/it87.c 	int index = sattr->index;
sattr            1178 drivers/hwmon/it87.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            1179 drivers/hwmon/it87.c 	int nr = sattr->nr;
sattr            1180 drivers/hwmon/it87.c 	int index = sattr->index;
sattr             655 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             657 drivers/hwmon/nct6683.c 	int nr = sattr->index;
sattr             665 drivers/hwmon/nct6683.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             667 drivers/hwmon/nct6683.c 	int index = sattr->index;
sattr             668 drivers/hwmon/nct6683.c 	int nr = sattr->nr;
sattr             713 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             716 drivers/hwmon/nct6683.c 	return sprintf(buf, "%d\n", data->rpm[sattr->index]);
sattr             723 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             724 drivers/hwmon/nct6683.c 	int nr = sattr->index;
sattr             732 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             736 drivers/hwmon/nct6683.c 		       ((data->fanin_cfg[sattr->index] >> 5) & 0x03) + 1);
sattr             785 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             787 drivers/hwmon/nct6683.c 	int nr = sattr->index;
sattr             795 drivers/hwmon/nct6683.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             797 drivers/hwmon/nct6683.c 	int index = sattr->index;
sattr             798 drivers/hwmon/nct6683.c 	int nr = sattr->nr;
sattr             806 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             808 drivers/hwmon/nct6683.c 	int nr = sattr->index;
sattr             817 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             819 drivers/hwmon/nct6683.c 	int index = sattr->index;
sattr             852 drivers/hwmon/nct6683.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             853 drivers/hwmon/nct6683.c 	int nr = sattr->index;
sattr             914 drivers/hwmon/nct6683.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             915 drivers/hwmon/nct6683.c 	int index = sattr->index;
sattr             924 drivers/hwmon/nct6683.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             926 drivers/hwmon/nct6683.c 	int index = sattr->index;
sattr            1874 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            1875 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            1876 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            1886 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            1887 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            1888 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            1907 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            1908 drivers/hwmon/nct6775.c 	int nr = data->ALARM_BITS[sattr->index];
sattr            1933 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            1942 drivers/hwmon/nct6775.c 	nr = find_temp_source(data, sattr->index, data->num_temp_alarms);
sattr            1954 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            1956 drivers/hwmon/nct6775.c 	int nr = data->BEEP_BITS[sattr->index];
sattr            1966 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            1968 drivers/hwmon/nct6775.c 	int nr = data->BEEP_BITS[sattr->index];
sattr            1993 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2003 drivers/hwmon/nct6775.c 	nr = find_temp_source(data, sattr->index, data->num_temp_beeps);
sattr            2016 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2028 drivers/hwmon/nct6775.c 	nr = find_temp_source(data, sattr->index, data->num_temp_beeps);
sattr            2092 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2093 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2102 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2103 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2114 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2115 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2125 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2126 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2218 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2219 drivers/hwmon/nct6775.c 	int p = data->fan_pulses[sattr->index];
sattr            2229 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2230 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2314 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2315 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2324 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2325 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2326 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2336 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2337 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2338 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2358 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2360 drivers/hwmon/nct6775.c 	return sprintf(buf, "%d\n", data->temp_offset[sattr->index] * 1000);
sattr            2368 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2369 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2391 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2392 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2402 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2403 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2526 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2528 drivers/hwmon/nct6775.c 	return sprintf(buf, "%d\n", data->pwm_mode[sattr->index]);
sattr            2536 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2537 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2571 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2572 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2573 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2593 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2594 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2595 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2686 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2688 drivers/hwmon/nct6775.c 	return sprintf(buf, "%d\n", data->pwm_enable[sattr->index]);
sattr            2696 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2697 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2757 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2758 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2768 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2769 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2798 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2799 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2810 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2811 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2848 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2850 drivers/hwmon/nct6775.c 	return sprintf(buf, "%d\n", data->target_temp[sattr->index] * 1000);
sattr            2858 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2859 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2881 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2882 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2894 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2895 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2919 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2920 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2921 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2931 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            2932 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            2933 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            2968 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2969 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            2996 drivers/hwmon/nct6775.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr            2997 drivers/hwmon/nct6775.c 	int nr = sattr->index;
sattr            3048 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3049 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3050 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            3060 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3061 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3062 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            3096 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3097 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3098 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            3110 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3111 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3112 drivers/hwmon/nct6775.c 	int index = sattr->index;
sattr            3132 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3134 drivers/hwmon/nct6775.c 	return sprintf(buf, "%d\n", data->auto_pwm[sattr->nr][sattr->index]);
sattr            3142 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3143 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3144 drivers/hwmon/nct6775.c 	int point = sattr->index;
sattr            3215 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3216 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3217 drivers/hwmon/nct6775.c 	int point = sattr->index;
sattr            3231 drivers/hwmon/nct6775.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr            3232 drivers/hwmon/nct6775.c 	int nr = sattr->nr;
sattr            3233 drivers/hwmon/nct6775.c 	int point = sattr->index;
sattr              69 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr              77 drivers/hwmon/nct7802.c 	return sprintf(buf, "%u\n", (mode >> (2 * sattr->index) & 3) + 2);
sattr              85 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr              92 drivers/hwmon/nct7802.c 	if (sattr->index == 2 && type != 4) /* RD3 */
sattr              97 drivers/hwmon/nct7802.c 			3 << 2 * sattr->index, (type - 2) << 2 * sattr->index);
sattr             104 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             109 drivers/hwmon/nct7802.c 	if (sattr->index > 1)
sattr             116 drivers/hwmon/nct7802.c 	return sprintf(buf, "%u\n", !(regval & (1 << sattr->index)));
sattr             157 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             161 drivers/hwmon/nct7802.c 	ret = regmap_read(data->regmap, REG_SMARTFAN_EN(sattr->index), &reg);
sattr             164 drivers/hwmon/nct7802.c 	enabled = reg >> SMARTFAN_EN_SHIFT(sattr->index) & 1;
sattr             173 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             182 drivers/hwmon/nct7802.c 	ret = regmap_update_bits(data->regmap, REG_SMARTFAN_EN(sattr->index),
sattr             183 drivers/hwmon/nct7802.c 				 1 << SMARTFAN_EN_SHIFT(sattr->index),
sattr             184 drivers/hwmon/nct7802.c 				 (val - 1) << SMARTFAN_EN_SHIFT(sattr->index));
sattr             344 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             348 drivers/hwmon/nct7802.c 	voltage = nct7802_read_voltage(data, sattr->nr, sattr->index);
sattr             358 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             360 drivers/hwmon/nct7802.c 	int index = sattr->index;
sattr             361 drivers/hwmon/nct7802.c 	int nr = sattr->nr;
sattr             376 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             403 drivers/hwmon/nct7802.c 	if (!(data->in_status & (0x10 << sattr->index))) {
sattr             404 drivers/hwmon/nct7802.c 		ret = nct7802_read_voltage(data, sattr->nr, 0);
sattr             409 drivers/hwmon/nct7802.c 		ret = nct7802_read_voltage(data, sattr->nr, 1);
sattr             414 drivers/hwmon/nct7802.c 		ret = nct7802_read_voltage(data, sattr->nr, 2);
sattr             420 drivers/hwmon/nct7802.c 			data->in_status |= (1 << sattr->index);
sattr             422 drivers/hwmon/nct7802.c 			data->in_status &= ~(1 << sattr->index);
sattr             424 drivers/hwmon/nct7802.c 		data->in_status |= 0x10 << sattr->index;
sattr             427 drivers/hwmon/nct7802.c 	ret = sprintf(buf, "%u\n", !!(data->in_status & (1 << sattr->index)));
sattr             437 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             440 drivers/hwmon/nct7802.c 	err = nct7802_read_temp(data, sattr->nr, sattr->index, &temp);
sattr             450 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             452 drivers/hwmon/nct7802.c 	int nr = sattr->nr;
sattr             469 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr             473 drivers/hwmon/nct7802.c 	speed = nct7802_read_fan(data, sattr->index);
sattr             483 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             487 drivers/hwmon/nct7802.c 	speed = nct7802_read_fan_min(data, sattr->nr, sattr->index);
sattr             498 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             507 drivers/hwmon/nct7802.c 	err = nct7802_write_fan_min(data, sattr->nr, sattr->index, val);
sattr             515 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             516 drivers/hwmon/nct7802.c 	int bit = sattr->index;
sattr             520 drivers/hwmon/nct7802.c 	ret = regmap_read(data->regmap, sattr->nr, &val);
sattr             530 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             535 drivers/hwmon/nct7802.c 	err = regmap_read(data->regmap, sattr->nr, &regval);
sattr             539 drivers/hwmon/nct7802.c 	return sprintf(buf, "%u\n", !!(regval & (1 << sattr->index)));
sattr             546 drivers/hwmon/nct7802.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             557 drivers/hwmon/nct7802.c 	err = regmap_update_bits(data->regmap, sattr->nr, 1 << sattr->index,
sattr             558 drivers/hwmon/nct7802.c 				 val ? 1 << sattr->index : 0);
sattr             231 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             237 drivers/hwmon/occ/common.c 	temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index;
sattr             239 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             267 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             273 drivers/hwmon/occ/common.c 	temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index;
sattr             275 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             318 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             324 drivers/hwmon/occ/common.c 	freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index;
sattr             326 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             348 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             354 drivers/hwmon/occ/common.c 	freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index;
sattr             356 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             378 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             384 drivers/hwmon/occ/common.c 	power = ((struct power_sensor_1 *)sensors->power.data) + sattr->index;
sattr             386 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             425 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             431 drivers/hwmon/occ/common.c 	power = ((struct power_sensor_2 *)sensors->power.data) + sattr->index;
sattr             433 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             464 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             470 drivers/hwmon/occ/common.c 	power = ((struct power_sensor_a0 *)sensors->power.data) + sattr->index;
sattr             472 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             544 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             550 drivers/hwmon/occ/common.c 	caps = ((struct caps_sensor_2 *)sensors->caps.data) + sattr->index;
sattr             552 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             594 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             600 drivers/hwmon/occ/common.c 	caps = ((struct caps_sensor_3 *)sensors->caps.data) + sattr->index;
sattr             602 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr             662 drivers/hwmon/occ/common.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             669 drivers/hwmon/occ/common.c 		sattr->index;
sattr             671 drivers/hwmon/occ/common.c 	switch (sattr->nr) {
sattr              30 drivers/hwmon/occ/sysfs.c 	struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr);
sattr              38 drivers/hwmon/occ/sysfs.c 	switch (sattr->index) {
sattr             293 drivers/infiniband/hw/hfi1/sysfs.c 	struct hfi1_sc2vl_attr *sattr =
sattr             299 drivers/infiniband/hw/hfi1/sysfs.c 	return sprintf(buf, "%u\n", *((u8 *)dd->sc2vl + sattr->sc));
sattr             398 drivers/infiniband/hw/hfi1/sysfs.c 	struct hfi1_sl2sc_attr *sattr =
sattr             404 drivers/infiniband/hw/hfi1/sysfs.c 	return sprintf(buf, "%u\n", ibp->sl_to_sc[sattr->sl]);
sattr             389 drivers/infiniband/hw/qib/qib_sysfs.c 	struct qib_sl2vl_attr *sattr =
sattr             395 drivers/infiniband/hw/qib/qib_sysfs.c 	return sprintf(buf, "%u\n", qibp->sl_to_vl[sattr->sl]);
sattr              57 drivers/misc/ds1682.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr              66 drivers/misc/ds1682.c 	rc = i2c_smbus_read_i2c_block_data(client, sattr->index, sattr->nr,
sattr              73 drivers/misc/ds1682.c 	if (sattr->index == DS1682_REG_ELAPSED) {
sattr              78 drivers/misc/ds1682.c 			rc = i2c_smbus_read_i2c_block_data(client, sattr->index,
sattr              79 drivers/misc/ds1682.c 							   sattr->nr,
sattr              94 drivers/misc/ds1682.c 	return sprintf(buf, "%llu\n", (sattr->nr == 4) ? (val * 250) : val);
sattr             100 drivers/misc/ds1682.c 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);
sattr             117 drivers/misc/ds1682.c 	if (sattr->nr == 4)
sattr             122 drivers/misc/ds1682.c 	rc = i2c_smbus_write_i2c_block_data(client, sattr->index, sattr->nr,
sattr             126 drivers/misc/ds1682.c 			sattr->index, sattr->nr);
sattr             581 fs/nfs/nfs2xdr.c 	encode_sattr(xdr, args->sattr, rpc_rqst_userns(req));
sattr             696 fs/nfs/nfs2xdr.c 	encode_sattr(xdr, args->sattr, rpc_rqst_userns(req));
sattr             763 fs/nfs/nfs2xdr.c 	encode_sattr(xdr, args->sattr, rpc_rqst_userns(req));
sattr             123 fs/nfs/nfs3proc.c 			struct iattr *sattr)
sattr             128 fs/nfs/nfs3proc.c 		.sattr		= sattr,
sattr             138 fs/nfs/nfs3proc.c 	if (sattr->ia_valid & ATTR_FILE)
sattr             139 fs/nfs/nfs3proc.c 		msg.rpc_cred = nfs_file_cred(sattr->ia_file);
sattr             145 fs/nfs/nfs3proc.c 		nfs_setattr_update_inode(inode, sattr, fattr);
sattr             304 fs/nfs/nfs3proc.c nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
sattr             322 fs/nfs/nfs3proc.c 	data->arg.create.sattr = sattr;
sattr             331 fs/nfs/nfs3proc.c 	status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
sattr             370 fs/nfs/nfs3proc.c 		if (!(sattr->ia_valid & ATTR_ATIME_SET))
sattr             371 fs/nfs/nfs3proc.c 			sattr->ia_valid |= ATTR_ATIME;
sattr             372 fs/nfs/nfs3proc.c 		if (!(sattr->ia_valid & ATTR_MTIME_SET))
sattr             373 fs/nfs/nfs3proc.c 			sattr->ia_valid |= ATTR_MTIME;
sattr             378 fs/nfs/nfs3proc.c 		status = nfs3_proc_setattr(dentry, data->res.fattr, sattr);
sattr             513 fs/nfs/nfs3proc.c 		  unsigned int len, struct iattr *sattr)
sattr             533 fs/nfs/nfs3proc.c 	data->arg.symlink.sattr = sattr;
sattr             548 fs/nfs/nfs3proc.c nfs3_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr)
sattr             561 fs/nfs/nfs3proc.c 	status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
sattr             569 fs/nfs/nfs3proc.c 	data->arg.mkdir.sattr = sattr;
sattr             679 fs/nfs/nfs3proc.c nfs3_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
sattr             694 fs/nfs/nfs3proc.c 	status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
sattr             702 fs/nfs/nfs3proc.c 	data->arg.mknod.sattr = sattr;
sattr             705 fs/nfs/nfs3proc.c 	switch (sattr->ia_mode & S_IFMT) {
sattr             858 fs/nfs/nfs3xdr.c 	encode_sattr3(xdr, args->sattr, rpc_rqst_userns(req));
sattr            1026 fs/nfs/nfs3xdr.c 		encode_sattr3(xdr, args->sattr, userns);
sattr            1061 fs/nfs/nfs3xdr.c 	encode_sattr3(xdr, args->sattr, rpc_rqst_userns(req));
sattr            1083 fs/nfs/nfs3xdr.c 	encode_sattr3(xdr, args->sattr, userns);
sattr            1126 fs/nfs/nfs3xdr.c 	encode_sattr3(xdr, args->sattr, userns);
sattr            1142 fs/nfs/nfs3xdr.c 		encode_sattr3(xdr, args->sattr, userns);
sattr              97 fs/nfs/nfs4proc.c 			    struct nfs_fattr *fattr, struct iattr *sattr,
sattr             114 fs/nfs/nfs4proc.c 	struct iattr *sattr, struct nfs4_label *label)
sattr             124 fs/nfs/nfs4proc.c 	err = security_dentry_init_security(dentry, sattr->ia_mode,
sattr             147 fs/nfs/nfs4proc.c 	struct iattr *sattr, struct nfs4_label *l)
sattr            1184 fs/nfs/nfs4proc.c 	struct iattr *sattr;
sattr            1309 fs/nfs/nfs4proc.c 		if (c->sattr != NULL && c->sattr->ia_valid != 0) {
sattr            1311 fs/nfs/nfs4proc.c 			memcpy(&p->attrs, c->sattr, sizeof(p->attrs));
sattr            2922 fs/nfs/nfs4proc.c 				struct iattr *sattr, struct nfs4_label **label)
sattr            2936 fs/nfs/nfs4proc.c 		sattr->ia_valid : 0;
sattr            2939 fs/nfs/nfs4proc.c 		if (sattr->ia_valid & ATTR_ATIME_SET)
sattr            2946 fs/nfs/nfs4proc.c 		if (sattr->ia_valid & ATTR_MTIME_SET)
sattr            3052 fs/nfs/nfs4proc.c 	struct iattr *sattr = c->sattr;
sattr            3103 fs/nfs/nfs4proc.c 		unsigned attrs = nfs4_exclusive_attrset(opendata, sattr, &label);
sattr            3109 fs/nfs/nfs4proc.c 			unsigned ia_old = sattr->ia_valid;
sattr            3111 fs/nfs/nfs4proc.c 			sattr->ia_valid = attrs;
sattr            3114 fs/nfs/nfs4proc.c 					opendata->o_res.f_attr, sattr,
sattr            3117 fs/nfs/nfs4proc.c 				nfs_setattr_update_inode(state->inode, sattr,
sattr            3121 fs/nfs/nfs4proc.c 			sattr->ia_valid = ia_old;
sattr            3151 fs/nfs/nfs4proc.c 					struct iattr *sattr,
sattr            3162 fs/nfs/nfs4proc.c 		.sattr = sattr,
sattr            3278 fs/nfs/nfs4proc.c 			   struct nfs_fattr *fattr, struct iattr *sattr,
sattr            3287 fs/nfs/nfs4proc.c 		.iap		= sattr,
sattr            3312 fs/nfs/nfs4proc.c 			if (!(sattr->ia_valid & ATTR_SIZE)) {
sattr            3321 fs/nfs/nfs4proc.c 				if (sattr->ia_valid & ATTR_OPEN)
sattr            4129 fs/nfs/nfs4proc.c 		  struct iattr *sattr)
sattr            4138 fs/nfs/nfs4proc.c 	    sattr->ia_valid & ATTR_SIZE &&
sattr            4139 fs/nfs/nfs4proc.c 	    sattr->ia_size < i_size_read(inode))
sattr            4145 fs/nfs/nfs4proc.c 	if (sattr->ia_valid & ATTR_OPEN)
sattr            4146 fs/nfs/nfs4proc.c 		sattr->ia_valid &= ~(ATTR_MTIME|ATTR_CTIME);
sattr            4149 fs/nfs/nfs4proc.c 	if ((sattr->ia_valid & ~(ATTR_FILE|ATTR_OPEN)) == 0)
sattr            4153 fs/nfs/nfs4proc.c 	if (sattr->ia_valid & ATTR_FILE) {
sattr            4155 fs/nfs/nfs4proc.c 		ctx = nfs_file_open_context(sattr->ia_file);
sattr            4165 fs/nfs/nfs4proc.c 	if ((sattr->ia_valid & (ATTR_MODE|ATTR_UID|ATTR_GID)) != 0)
sattr            4168 fs/nfs/nfs4proc.c 	status = nfs4_do_setattr(inode, cred, fattr, sattr, ctx, NULL, label);
sattr            4170 fs/nfs/nfs4proc.c 		nfs_setattr_update_inode(inode, sattr, fattr);
sattr            4451 fs/nfs/nfs4proc.c nfs4_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
sattr            4464 fs/nfs/nfs4proc.c 	ilabel = nfs4_label_init_security(dir, dentry, sattr, &l);
sattr            4467 fs/nfs/nfs4proc.c 		sattr->ia_mode &= ~current_umask();
sattr            4468 fs/nfs/nfs4proc.c 	state = nfs4_do_open(dir, ctx, flags, sattr, ilabel, NULL);
sattr            4718 fs/nfs/nfs4proc.c 		const struct qstr *name, struct iattr *sattr, u32 ftype)
sattr            4736 fs/nfs/nfs4proc.c 		data->arg.attrs = sattr;
sattr            4776 fs/nfs/nfs4proc.c 		struct page *page, unsigned int len, struct iattr *sattr,
sattr            4786 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4LNK);
sattr            4803 fs/nfs/nfs4proc.c 		struct page *page, unsigned int len, struct iattr *sattr)
sattr            4811 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
sattr            4814 fs/nfs/nfs4proc.c 		err = _nfs4_proc_symlink(dir, dentry, page, len, sattr, label);
sattr            4825 fs/nfs/nfs4proc.c 		struct iattr *sattr, struct nfs4_label *label)
sattr            4830 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4DIR);
sattr            4843 fs/nfs/nfs4proc.c 		struct iattr *sattr)
sattr            4852 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
sattr            4855 fs/nfs/nfs4proc.c 		sattr->ia_mode &= ~current_umask();
sattr            4857 fs/nfs/nfs4proc.c 		err = _nfs4_proc_mkdir(dir, dentry, sattr, label);
sattr            4923 fs/nfs/nfs4proc.c 		struct iattr *sattr, struct nfs4_label *label, dev_t rdev)
sattr            4926 fs/nfs/nfs4proc.c 	int mode = sattr->ia_mode;
sattr            4929 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4SOCK);
sattr            4958 fs/nfs/nfs4proc.c 		struct iattr *sattr, dev_t rdev)
sattr            4967 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
sattr            4970 fs/nfs/nfs4proc.c 		sattr->ia_mode &= ~current_umask();
sattr            4972 fs/nfs/nfs4proc.c 		err = _nfs4_proc_mknod(dir, dentry, sattr, label, rdev);
sattr            5829 fs/nfs/nfs4proc.c 	struct iattr sattr = {0};
sattr            5834 fs/nfs/nfs4proc.c 		.iap		= &sattr,
sattr             121 fs/nfs/proc.c  		 struct iattr *sattr)
sattr             126 fs/nfs/proc.c  		.sattr	= sattr
sattr             136 fs/nfs/proc.c  	sattr->ia_mode &= S_IALLUGO;
sattr             139 fs/nfs/proc.c  	if (sattr->ia_valid & ATTR_FILE)
sattr             140 fs/nfs/proc.c  		msg.rpc_cred = nfs_file_cred(sattr->ia_file);
sattr             144 fs/nfs/proc.c  		nfs_setattr_update_inode(inode, sattr, fattr);
sattr             206 fs/nfs/proc.c  		struct dentry *dentry, struct iattr *sattr)
sattr             216 fs/nfs/proc.c  		data->arg.sattr = sattr;
sattr             231 fs/nfs/proc.c  nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
sattr             241 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
sattr             260 fs/nfs/proc.c  nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
sattr             272 fs/nfs/proc.c  	mode = sattr->ia_mode;
sattr             274 fs/nfs/proc.c  		sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR;
sattr             275 fs/nfs/proc.c  		sattr->ia_valid &= ~ATTR_SIZE;
sattr             277 fs/nfs/proc.c  		sattr->ia_valid |= ATTR_SIZE;
sattr             278 fs/nfs/proc.c  		sattr->ia_size = new_encode_dev(rdev);/* get out your barf bag */
sattr             281 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
sattr             291 fs/nfs/proc.c  		sattr->ia_mode = mode;
sattr             390 fs/nfs/proc.c  		 unsigned int len, struct iattr *sattr)
sattr             400 fs/nfs/proc.c  		.sattr		= sattr
sattr             439 fs/nfs/proc.c  nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr)
sattr             448 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
sattr             122 fs/nfsd/xdr.h  	struct nfsd_sattrargs	sattr;
sattr             756 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             769 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             830 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             870 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             890 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             899 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             908 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr             916 include/linux/nfs_xdr.h 	struct iattr *		sattr;
sattr            1524 kernel/module.c 	struct module_sect_attr *sattr =
sattr            1527 kernel/module.c 		       (void *)sattr->address : NULL);
sattr            1543 kernel/module.c 	struct module_sect_attr *sattr;
sattr            1562 kernel/module.c 	sattr = &sect_attrs->attrs[0];
sattr            1568 kernel/module.c 		sattr->address = sec->sh_addr;
sattr            1569 kernel/module.c 		sattr->name = kstrdup(info->secstrings + sec->sh_name,
sattr            1571 kernel/module.c 		if (sattr->name == NULL)
sattr            1574 kernel/module.c 		sysfs_attr_init(&sattr->mattr.attr);
sattr            1575 kernel/module.c 		sattr->mattr.show = module_sect_show;
sattr            1576 kernel/module.c 		sattr->mattr.store = NULL;
sattr            1577 kernel/module.c 		sattr->mattr.attr.name = sattr->name;
sattr            1578 kernel/module.c 		sattr->mattr.attr.mode = S_IRUSR;
sattr            1579 kernel/module.c 		*(gattr++) = &(sattr++)->mattr.attr;
sattr             625 security/selinux/ss/services.c 	struct ebitmap *sattr, *tattr;
sattr             651 security/selinux/ss/services.c 	sattr = &policydb->type_attr_map_array[scontext->type - 1];
sattr             653 security/selinux/ss/services.c 	ebitmap_for_each_positive_bit(sattr, snode, i) {
sattr            1011 security/selinux/ss/services.c 	struct ebitmap *sattr, *tattr;
sattr            1057 security/selinux/ss/services.c 	sattr = &policydb->type_attr_map_array[scontext->type - 1];
sattr            1059 security/selinux/ss/services.c 	ebitmap_for_each_positive_bit(sattr, snode, i) {