Home
last modified time | relevance | path

Searched refs:sec_len (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/lightnvm/
Dpblk-init.c225 dst->sec_len = src->sec_len; in pblk_set_addrf_12()
228 dst->pln_offset = dst->sec_len; in pblk_set_addrf_12()
234 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in pblk_set_addrf_12()
252 adst->sec_len = src->sec_len; in pblk_set_addrf_20()
255 adst->ch_offset = adst->sec_len; in pblk_set_addrf_20()
259 adst->sec_mask = ((1ULL << adst->sec_len) - 1) << adst->sec_offset; in pblk_set_addrf_20()
Dpblk-sysfs.c131 ppaf->sec_offset, ppaf->sec_len); in pblk_sysfs_ppaf()
140 gppaf->sec_offset, gppaf->sec_len); in pblk_sysfs_ppaf()
151 ppaf->sec_offset, ppaf->sec_len); in pblk_sysfs_ppaf()
158 gppaf->sec_offset, gppaf->sec_len); in pblk_sysfs_ppaf()
/Linux-v5.10/drivers/nvme/host/
Dlightnvm.c146 __u8 sec_len; member
268 dst->sec_len = src->sec_len; in nvme_nvm_set_addr_12()
282 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_12()
381 dst->sec_len = src->lba_len; in nvme_nvm_set_addr_20()
384 dst->chk_offset = dst->sec_len; in nvme_nvm_set_addr_20()
391 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in nvme_nvm_set_addr_20()
1028 ppaf->sec_offset, ppaf->sec_len); in nvm_dev_attr_show_ppaf()
/Linux-v5.10/include/linux/
Dlightnvm.h196 u8 sec_len; member
217 u8 sec_len; member
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1133 char sec_len; in rtw_wx_set_scan() local
1146 sec_len = *(pos++); len -= 1; in rtw_wx_set_scan()
1147 if (sec_len > 0 && sec_len <= len) { in rtw_wx_set_scan()
1148 ssid[ssid_index].ssid_length = sec_len; in rtw_wx_set_scan()
1152 pos += sec_len; in rtw_wx_set_scan()
1153 len -= sec_len; in rtw_wx_set_scan()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c1336 char sec_len; in rtw_wx_set_scan() local
1352 sec_len = *(pos++); len -= 1; in rtw_wx_set_scan()
1354 if (sec_len > 0 && sec_len <= len) { in rtw_wx_set_scan()
1355 ssid[ssid_index].SsidLength = sec_len; in rtw_wx_set_scan()
1362 pos += sec_len; len -= sec_len; in rtw_wx_set_scan()
/Linux-v5.10/include/net/bluetooth/
Dmgmt.h688 __le16 sec_len; member
/Linux-v5.10/net/bluetooth/
Dmgmt.c3716 u16 sec_len = 0; in read_security_info() local
3741 sec_len = eir_append_data(rp->sec, sec_len, 0x01, &flags, 1); in read_security_info()
3747 sec_len = eir_append_le16(rp->sec, sec_len, 0x02, in read_security_info()
3750 sec_len = eir_append_le16(rp->sec, sec_len, 0x03, SMP_MAX_ENC_KEY_SIZE); in read_security_info()
3752 rp->sec_len = cpu_to_le16(sec_len); in read_security_info()
3757 rp, sizeof(*rp) + sec_len); in read_security_info()
/Linux-v5.10/net/ceph/
Dmessenger.c2289 unsigned int sec_len, u32 *crc) in read_partial_message_section() argument
2295 while (section->iov_len < sec_len) { in read_partial_message_section()
2297 left = sec_len - section->iov_len; in read_partial_message_section()
2304 if (section->iov_len == sec_len) in read_partial_message_section()