Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_ieee80211.c576 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
585 return attr_ptr; in rtw_get_wps_attr()
588 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
590 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
592 u16 attr_id = RTW_GET_BE16(attr_ptr); in rtw_get_wps_attr()
593 u16 attr_data_len = RTW_GET_BE16(attr_ptr + 2); in rtw_get_wps_attr()
597 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
599 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
604 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
621 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c694 u8 *attr_ptr = NULL; in rtw_get_wps_attr() local
703 return attr_ptr; in rtw_get_wps_attr()
707 attr_ptr = wps_ie + 6; /* goto first attr */ in rtw_get_wps_attr()
709 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
711 u16 attr_id = get_unaligned_be16(attr_ptr); in rtw_get_wps_attr()
712 u16 attr_data_len = get_unaligned_be16(attr_ptr + 2); in rtw_get_wps_attr()
716 target_attr_ptr = attr_ptr; in rtw_get_wps_attr()
719 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
726 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr()
744 u8 *attr_ptr; in rtw_get_wps_attr_content() local
[all …]
/linux-6.1.9/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, \
349 switch (a->attr_ptr) { in calc_ptr()
398 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
417 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_show()
466 if (a->attr_ptr == ptr_ext4_super_block_offset) in ext4_attr_store()