Home
last modified time | relevance | path

Searched refs:elen (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/fs/udf/
Dtruncate.c26 struct kernel_lb_addr *eloc, int8_t etype, uint32_t elen, in extent_trunc() argument
30 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> in extent_trunc()
45 if (elen != nelen) { in extent_trunc()
67 uint32_t elen, nelen; in udf_truncate_tail_extent() local
88 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_truncate_tail_extent()
90 lbcount += elen; in udf_truncate_tail_extent()
99 (unsigned)elen); in udf_truncate_tail_extent()
100 nelen = elen - (lbcount - inode->i_size); in udf_truncate_tail_extent()
102 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent()
104 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1) in udf_truncate_tail_extent()
[all …]
Dballoc.c385 uint32_t elen; in udf_table_free_blocks() local
409 elen = 0; in udf_table_free_blocks()
414 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
416 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks()
417 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks()
419 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks()
423 elen = (etype << 30) | in udf_table_free_blocks()
426 elen = (etype << 30) | in udf_table_free_blocks()
427 (elen + in udf_table_free_blocks()
432 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
[all …]
Dsymlink.c32 int elen = 0; in udf_pc_to_char() local
38 while (elen < fromlen) { in udf_pc_to_char()
39 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char()
40 elen += sizeof(struct pathComponent); in udf_pc_to_char()
48 elen += pc->lengthComponentIdent; in udf_pc_to_char()
75 elen += pc->lengthComponentIdent; in udf_pc_to_char()
76 if (elen > fromlen) in udf_pc_to_char()
Ddirectory.c135 if (iter->loffset + ralen > (iter->elen >> iter->dir->i_blkbits)) in udf_readahead_dir()
136 ralen = (iter->elen >> iter->dir->i_blkbits) - iter->loffset; in udf_readahead_dir()
170 if (iter->loffset < DIV_ROUND_UP(iter->elen, 1<<iter->dir->i_blkbits)) in udf_fiiter_advance_blk()
174 if (udf_next_aext(iter->dir, &iter->epos, &iter->eloc, &iter->elen, 1) in udf_fiiter_advance_blk()
177 iter->elen = 0; in udf_fiiter_advance_blk()
196 if (!iter->bh[0] && iter->elen) { in udf_fiiter_load_bhs()
247 iter->elen = 0; in udf_fiiter_init()
263 &iter->eloc, &iter->elen, &iter->loffset) != in udf_fiiter_init()
436 int diff = new_elen - iter->elen; in udf_fiiter_update_elen()
439 if (!iter->elen) in udf_fiiter_update_elen()
[all …]
Dinode.c419 uint32_t elen; in udf_map_block() local
424 if (inode_bmap(inode, map->lblk, &epos, &eloc, &elen, &offset) in udf_map_block()
638 uint32_t elen; in udf_extend_file() local
663 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file()
667 elen > ((loff_t)offset + 1) << inode->i_blkbits); in udf_extend_file()
710 uint32_t elen = 0, tmpelen; in inode_getblk() local
744 lbcount += elen; in inode_getblk()
752 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk()
758 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
763 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk()
[all …]
Dnamei.c279 ((iter->elen - 1) >> dir->i_blkbits); in udf_fiiter_add_entry()
297 ((iter->elen - 1) >> dir->i_blkbits); in udf_fiiter_add_entry()
317 udf_fiiter_update_elen(iter, iter->elen - in udf_fiiter_add_entry()
577 int eoffset, elen = 0; in udf_symlink() local
654 elen += sizeof(struct pathComponent); in udf_symlink()
660 if (elen + sizeof(struct pathComponent) > eoffset) in udf_symlink()
663 pc = (struct pathComponent *)(ea + elen); in udf_symlink()
689 if (elen + sizeof(struct pathComponent) + namelen > in udf_symlink()
698 elen += sizeof(struct pathComponent) + pc->lengthComponentIdent; in udf_symlink()
708 inode->i_size = elen; in udf_symlink()
Dudfdecl.h92 uint32_t elen; /* Length of extent containing 'pos' */ member
166 struct kernel_lb_addr *eloc, uint32_t elen, int inc);
Dpartition.c281 uint32_t elen; in udf_try_read_meta() local
286 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
/Linux-v6.6/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c765 static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, in rtw_ieee802_11_parse_vendor_specific() argument
774 if (elen < 4) in rtw_ieee802_11_parse_vendor_specific()
787 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
790 if (elen < 5) in rtw_ieee802_11_parse_vendor_specific()
797 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific()
801 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific()
810 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
821 elems->vendor_ht_cap_len = elen; in rtw_ieee802_11_parse_vendor_specific()
854 u8 id, elen; in rtw_ieee802_11_parse_elems() local
857 elen = *pos++; in rtw_ieee802_11_parse_elems()
[all …]
/Linux-v6.6/fs/ceph/
Dcrypto.c268 int elen; in ceph_encode_encrypted_dname() local
287 elen = d_name->len; in ceph_encode_encrypted_dname()
298 elen = -ENAMETOOLONG; in ceph_encode_encrypted_dname()
306 elen = -ENOMEM; in ceph_encode_encrypted_dname()
312 elen = ret; in ceph_encode_encrypted_dname()
331 elen = ceph_base64_encode(cryptbuf, len, buf); in ceph_encode_encrypted_dname()
332 dout("base64-encoded ciphertext name = %.*s\n", elen, buf); in ceph_encode_encrypted_dname()
335 WARN_ON(elen > 240); in ceph_encode_encrypted_dname()
336 if ((elen > 0) && (dir != parent)) { in ceph_encode_encrypted_dname()
339 elen = snprintf(tmp_buf, sizeof(tmp_buf), "_%.*s_%ld", in ceph_encode_encrypted_dname()
[all …]
/Linux-v6.6/lib/
Dtest_printf.c46 do_test(int bufsize, const char *expect, int elen, in do_test() argument
59 if (ret != elen) { in do_test()
61 bufsize, fmt, ret, elen); in do_test()
79 written = min(bufsize-1, elen); in do_test()
106 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
112 if (elen >= BUF_SIZE) { in __test()
114 elen, fmt); in __test()
127 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
128 rand = get_random_u32_inclusive(1, elen + 1); in __test()
130 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
[all …]
/Linux-v6.6/net/mac80211/
Dutil.c1027 u8 elen = elem->datalen; in _ieee802_11_parse_elems_full() local
1088 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1094 if (elen + 2 < sizeof(struct ieee80211_tdls_lnkie)) { in _ieee802_11_parse_elems_full()
1101 if (elen < sizeof(struct ieee80211_ch_switch_timing)) { in _ieee802_11_parse_elems_full()
1109 elems->ext_capab_len = elen; in _ieee802_11_parse_elems_full()
1113 elems->ssid_len = elen; in _ieee802_11_parse_elems_full()
1117 elems->supp_rates_len = elen; in _ieee802_11_parse_elems_full()
1120 if (elen >= 1) in _ieee802_11_parse_elems_full()
1126 if (elen >= sizeof(struct ieee80211_tim_ie)) { in _ieee802_11_parse_elems_full()
1128 elems->tim_len = elen; in _ieee802_11_parse_elems_full()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Drammap.h19 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
24 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
Dpower_budget.h17 u8 elen; member
Dvpstate.h10 u8 elen; member
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Drammap.c147 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()
Dvpstate.c55 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()
Dpower_budget.c93 budget->elen = len; in nvbios_power_budget_header()
112 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
/Linux-v6.6/net/ipv4/
Desp4.c708 int alen, hlen, elen; in esp_remove_trailer() local
716 elen = skb->len - hlen; in esp_remove_trailer()
723 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
725 padlen + 2, elen - alen); in esp_remove_trailer()
884 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() local
897 if (elen <= 0) in esp_input()
955 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
/Linux-v6.6/net/ipv6/
Desp6.c746 int alen, hlen, elen; in esp_remove_trailer() local
754 elen = skb->len - hlen; in esp_remove_trailer()
761 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
763 padlen + 2, elen - alen); in esp_remove_trailer()
928 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() local
943 if (elen <= 0) { in esp6_input()
1003 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
/Linux-v6.6/net/sctp/
Dulpevent.c383 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()
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Drecv.c509 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()
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
Dcfg.c656 u8 id, elen; in lbs_ret_scan() local
658 elen = *pos++; in lbs_ret_scan()
660 if (elen > left) { in lbs_ret_scan()
669 ssid_len = elen; in lbs_ret_scan()
671 left -= elen; in lbs_ret_scan()
672 pos += elen; in lbs_ret_scan()
/Linux-v6.6/drivers/crypto/
Dtalitos.c1095 unsigned int offset, int datalen, int elen, in sg_to_link_tbl_offset() argument
1098 int n_sg = elen ? sg_count + 1 : sg_count; in sg_to_link_tbl_offset()
1100 int cryptlen = datalen + elen; in sg_to_link_tbl_offset()
1147 unsigned int offset, int tbl_off, int elen, in talitos_sg_map_ext() argument
1158 to_talitos_ptr_ext_set(ptr, elen, is_sec1); in talitos_sg_map_ext()
1167 sg_count = sg_to_link_tbl_offset(src, sg_count, offset, len, elen, in talitos_sg_map_ext()
1208 int elen = 0; in ipsec_esp() local
1252 elen = authsize; in ipsec_esp()
1255 sg_count, areq->assoclen, tbl_off, elen, in ipsec_esp()
1271 elen = authsize; in ipsec_esp()
[all …]
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunvnet_common.c1721 unsigned long len, elen; in vnet_port_alloc_tx_ring() local
1727 elen = sizeof(struct vio_net_desc) + in vnet_port_alloc_tx_ring()
1730 elen += sizeof(struct vio_net_dext); in vnet_port_alloc_tx_ring()
1731 len = VNET_TX_RING_SIZE * elen; in vnet_port_alloc_tx_ring()
1745 dr->entry_size = elen; in vnet_port_alloc_tx_ring()

12