Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/lightnvm/
Dpblk-init.c220 dst->sec_len = src->sec_len; in pblk_set_addrf_12()
223 dst->pln_offset = dst->sec_len; in pblk_set_addrf_12()
229 dst->sec_mask = ((1ULL << dst->sec_len) - 1) << dst->sec_offset; in pblk_set_addrf_12()
247 adst->sec_len = src->sec_len; in pblk_set_addrf_20()
250 adst->ch_offset = adst->sec_len; in pblk_set_addrf_20()
254 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.4/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()
1025 ppaf->sec_offset, ppaf->sec_len); in nvm_dev_attr_show_ppaf()
/Linux-v5.4/include/linux/
Dlightnvm.h196 u8 sec_len; member
217 u8 sec_len; member
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c1146 char sec_len; in rtw_wx_set_scan() local
1159 sec_len = *(pos++); len -= 1; in rtw_wx_set_scan()
1160 if (sec_len > 0 && sec_len <= len) { in rtw_wx_set_scan()
1161 ssid[ssid_index].ssid_length = sec_len; in rtw_wx_set_scan()
1165 pos += sec_len; in rtw_wx_set_scan()
1166 len -= sec_len; in rtw_wx_set_scan()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c3479 unsigned int sec_len; in stmmac_rx() local
3498 sec_len = 0; in stmmac_rx()
3568 sec_len = len; in stmmac_rx()
3570 sec_len = sec_len - hlen; in stmmac_rx()
3610 if (sec_len > 0) { in stmmac_rx()
3612 sec_len, DMA_FROM_DEVICE); in stmmac_rx()
3614 buf->sec_page, 0, sec_len, in stmmac_rx()
3617 len += sec_len; in stmmac_rx()
/Linux-v5.4/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.4/net/ceph/
Dmessenger.c2298 unsigned int sec_len, u32 *crc) in read_partial_message_section() argument
2304 while (section->iov_len < sec_len) { in read_partial_message_section()
2306 left = sec_len - section->iov_len; in read_partial_message_section()
2313 if (section->iov_len == sec_len) in read_partial_message_section()