/kernel/linux/linux-5.10/fs/udf/ |
D | truncate.c | 30 struct kernel_lb_addr *eloc, int8_t etype, uint32_t elen, in extent_trunc() argument 34 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() 49 if (elen != nelen) { in extent_trunc() 71 uint32_t elen, nelen; in udf_truncate_tail_extent() local 92 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_truncate_tail_extent() 94 lbcount += elen; in udf_truncate_tail_extent() 103 (unsigned)elen); in udf_truncate_tail_extent() 104 nelen = elen - (lbcount - inode->i_size); in udf_truncate_tail_extent() 106 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent() 108 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1) in udf_truncate_tail_extent() [all …]
|
D | balloc.c | 366 uint32_t elen; in udf_table_free_blocks() local 390 elen = 0; in udf_table_free_blocks() 395 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks() 397 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks() 398 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks() 400 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks() 404 elen = (etype << 30) | in udf_table_free_blocks() 407 elen = (etype << 30) | in udf_table_free_blocks() 408 (elen + in udf_table_free_blocks() 413 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks() [all …]
|
D | symlink.c | 36 int elen = 0; in udf_pc_to_char() local 42 while (elen < fromlen) { in udf_pc_to_char() 43 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char() 44 elen += sizeof(struct pathComponent); in udf_pc_to_char() 52 elen += pc->lengthComponentIdent; in udf_pc_to_char() 79 elen += pc->lengthComponentIdent; in udf_pc_to_char() 80 if (elen > fromlen) in udf_pc_to_char()
|
D | directory.c | 25 struct kernel_lb_addr *eloc, uint32_t *elen, in udf_fileident_read() argument 58 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read() 66 if ((*offset << blocksize_bits) >= *elen) in udf_fileident_read() 79 if (i + *offset > (*elen >> blocksize_bits)) in udf_fileident_read() 80 i = (*elen >> blocksize_bits)-*offset; in udf_fileident_read() 116 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read() 124 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
|
D | dir.c | 57 uint32_t elen; in udf_readdir() local 100 &epos, &eloc, &elen, &offset) in udf_readdir() 106 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir() 123 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir() 124 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir() 152 &elen, &offset); in udf_readdir()
|
D | namei.c | 178 uint32_t elen; in udf_find_entry() local 193 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_find_entry() 199 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_find_entry() 222 &elen, &offset); in udf_find_entry() 344 uint32_t elen = 0; in udf_add_entry() local 380 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_add_entry() 387 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry() 406 &elen, &offset); in udf_add_entry() 451 udf_current_aext(dir, &epos, &eloc, &elen, 1); in udf_add_entry() 471 ((elen - 1) >> in udf_add_entry() [all …]
|
D | inode.c | 615 uint32_t elen; in udf_extend_file() local 639 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file() 643 elen > ((loff_t)offset + 1) << inode->i_blkbits); in udf_extend_file() 687 uint32_t elen = 0, tmpelen; in inode_getblk() local 722 lbcount += elen; in inode_getblk() 730 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk() 736 laarr[c].extLength = (etype << 30) | elen; in inode_getblk() 741 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk() 745 } while (lbcount + elen <= b_off); in inode_getblk() 760 if (elen & (inode->i_sb->s_blocksize - 1)) { in inode_getblk() [all …]
|
D | partition.c | 286 uint32_t elen; in udf_try_read_meta() local 291 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 679 static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, in rtw_ieee802_11_parse_vendor_specific() argument 689 if (elen < 4) { in rtw_ieee802_11_parse_vendor_specific() 692 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 711 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 714 if (elen < 5) { in rtw_ieee802_11_parse_vendor_specific() 716 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 723 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 727 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 731 pos[4], (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 738 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 860 static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, in rtw_ieee802_11_parse_vendor_specific() argument 869 if (elen < 4) { in rtw_ieee802_11_parse_vendor_specific() 873 (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 888 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 891 if (elen < 5) { in rtw_ieee802_11_parse_vendor_specific() 895 (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 902 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 906 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 912 pos[4], (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 919 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | test_printf.c | 39 do_test(int bufsize, const char *expect, int elen, in do_test() argument 52 if (ret != elen) { in do_test() 54 bufsize, fmt, ret, elen); in do_test() 72 written = min(bufsize-1, elen); in do_test() 94 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 100 if (elen >= BUF_SIZE) { in __test() 102 elen, fmt); in __test() 115 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test() 116 rand = 1 + prandom_u32_max(elen+1); in __test() 118 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | util.c | 1022 u8 elen = elem->datalen; in _ieee802_11_parse_elems_crc() local 1083 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_crc() 1089 if (elen + 2 < sizeof(struct ieee80211_tdls_lnkie)) { in _ieee802_11_parse_elems_crc() 1096 if (elen < sizeof(struct ieee80211_ch_switch_timing)) { in _ieee802_11_parse_elems_crc() 1104 elems->ext_capab_len = elen; in _ieee802_11_parse_elems_crc() 1108 elems->ssid_len = elen; in _ieee802_11_parse_elems_crc() 1112 elems->supp_rates_len = elen; in _ieee802_11_parse_elems_crc() 1115 if (elen >= 1) in _ieee802_11_parse_elems_crc() 1121 if (elen >= sizeof(struct ieee80211_tim_ie)) { in _ieee802_11_parse_elems_crc() 1123 elems->tim_len = elen; in _ieee802_11_parse_elems_crc() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | rammap.h | 19 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, 24 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
|
D | power_budget.h | 17 u8 elen; member
|
D | vpstate.h | 10 u8 elen; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | vpstate.c | 55 h->elen = nvbios_rd08(b, h->offset + 0x2); in nvbios_vpstate_parse() 84 offset = h->offset + h->hlen + idx * (h->elen + (h->slen * h->scount)); in nvbios_vpstate_entry()
|
D | rammap.c | 147 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) in nvbios_rammapSe() argument 150 data = data + ehdr + (idx * elen); in nvbios_rammapSe() 152 *hdr = elen; in nvbios_rammapSe() 191 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSp() argument 194 data = nvbios_rammapSe(bios, data, ever, ehdr, ecnt, elen, idx, ver, hdr); in nvbios_rammapSp()
|
D | power_budget.c | 94 budget->elen = len; in nvbios_power_budget_header() 113 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | esp6.c | 747 int alen, hlen, elen; in esp_remove_trailer() local 755 elen = skb->len - hlen; in esp_remove_trailer() 767 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 769 padlen + 2, elen - alen); in esp_remove_trailer() 932 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() local 947 if (elen <= 0) { in esp6_input() 1007 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | esp4.c | 712 int alen, hlen, elen; in esp_remove_trailer() local 720 elen = skb->len - hlen; in esp_remove_trailer() 732 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 734 padlen + 2, elen - alen); in esp_remove_trailer() 891 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() local 904 if (elen <= 0) in esp_input() 962 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | ulpevent.c | 383 int elen; in sctp_ulpevent_make_remote_error() local 387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error() 398 skb_pull(chunk->skb, elen); in sctp_ulpevent_make_remote_error() 409 skb_trim(skb, sizeof(*sre) + elen); in sctp_ulpevent_make_remote_error()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 509 u8 *pos, *end, id, elen; in ath_beacon_dtim_pending_cab() local 518 elen = *pos++; in ath_beacon_dtim_pending_cab() 519 if (pos + elen > end) in ath_beacon_dtim_pending_cab() 523 if (elen < sizeof(*tim)) in ath_beacon_dtim_pending_cab() 531 pos += elen; in ath_beacon_dtim_pending_cab()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 613 u8 id, elen; in lbs_ret_scan() local 615 elen = *pos++; in lbs_ret_scan() 617 if (elen > left) { in lbs_ret_scan() 626 ssid_len = elen; in lbs_ret_scan() 628 left -= elen; in lbs_ret_scan() 629 pos += elen; in lbs_ret_scan()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | talitos.c | 1094 unsigned int offset, int datalen, int elen, in sg_to_link_tbl_offset() argument 1097 int n_sg = elen ? sg_count + 1 : sg_count; in sg_to_link_tbl_offset() 1099 int cryptlen = datalen + elen; in sg_to_link_tbl_offset() 1146 unsigned int offset, int tbl_off, int elen, in talitos_sg_map_ext() argument 1157 to_talitos_ptr_ext_set(ptr, elen, is_sec1); in talitos_sg_map_ext() 1166 sg_count = sg_to_link_tbl_offset(src, sg_count, offset, len, elen, in talitos_sg_map_ext() 1207 int elen = 0; in ipsec_esp() local 1251 elen = authsize; in ipsec_esp() 1254 sg_count, areq->assoclen, tbl_off, elen, in ipsec_esp() 1270 elen = authsize; in ipsec_esp() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs3xdr.c | 932 int elen; /* estimated entry length in words */ in encode_entry() local 958 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry() 961 if (cd->buflen < elen) { in encode_entry() 976 if ((caddr_t)(cd->buffer + elen) < (curr_page_addr + PAGE_SIZE)) { in encode_entry()
|