/Linux-v6.6/fs/udf/ |
D | truncate.c | 26 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 …]
|
D | balloc.c | 385 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 …]
|
D | symlink.c | 32 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()
|
D | directory.c | 135 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 …]
|
D | inode.c | 419 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 …]
|
D | namei.c | 279 ((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()
|
D | udfdecl.h | 92 uint32_t elen; /* Length of extent containing 'pos' */ member 166 struct kernel_lb_addr *eloc, uint32_t elen, int inc);
|
D | partition.c | 281 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/ |
D | rtw_ieee80211.c | 765 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/ |
D | crypto.c | 268 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/ |
D | test_printf.c | 46 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/ |
D | util.c | 1027 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/ |
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
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
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 | 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 | power_budget.c | 93 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/ |
D | esp4.c | 708 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/ |
D | esp6.c | 746 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/ |
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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 656 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/ |
D | talitos.c | 1095 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/ |
D | sunvnet_common.c | 1721 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()
|