Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c613 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
622 return attr_ptr; in rtw_get_wps_attr()
625 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
627 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
629 u16 attr_id = get_unaligned_be16(attr_ptr); in rtw_get_wps_attr()
630 u16 attr_data_len = get_unaligned_be16(attr_ptr + 2); in rtw_get_wps_attr()
634 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
636 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
641 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
658 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]
/Linux-v5.10/fs/ext4/
Dsysfs.c53 short attr_ptr; member
157 .attr_ptr = ptr_##_struct##_offset, \
168 .attr_ptr = ptr_##_struct##_offset, \
199 .attr_ptr = ptr_explicit, \
342 switch (a->attr_ptr) { in calc_ptr()
387 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
406 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
455 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_store()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c787 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
796 return attr_ptr; in rtw_get_wps_attr()
800 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
802 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
804 u16 attr_id = get_unaligned_be16(attr_ptr); in rtw_get_wps_attr()
805 u16 attr_data_len = get_unaligned_be16(attr_ptr + 2); in rtw_get_wps_attr()
810 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
813 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
820 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
839 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]