Home
last modified time | relevance | path

Searched refs:attr_ptr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_ieee80211.c723 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
732 return attr_ptr; in rtw_get_wps_attr()
735 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
737 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
739 u16 attr_id = RTW_GET_BE16(attr_ptr); in rtw_get_wps_attr()
740 u16 attr_data_len = RTW_GET_BE16(attr_ptr + 2); in rtw_get_wps_attr()
744 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
746 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
751 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
769 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c720 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
729 return attr_ptr; in rtw_get_wps_attr()
733 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
735 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
737 u16 attr_id = get_unaligned_be16(attr_ptr); in rtw_get_wps_attr()
738 u16 attr_data_len = get_unaligned_be16(attr_ptr + 2); in rtw_get_wps_attr()
742 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
745 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
752 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
771 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]
/Linux-v5.15/fs/ext4/
Dsysfs.c54 short attr_ptr; member
152 .attr_ptr = ptr_##_struct##_offset, \
163 .attr_ptr = ptr_##_struct##_offset, \
194 .attr_ptr = ptr_explicit, \
347 switch (a->attr_ptr) { in calc_ptr()
396 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
415 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
464 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_store()