/Linux-v4.19/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 | 357 uint32_t elen; in udf_table_free_blocks() local 381 elen = 0; in udf_table_free_blocks() 386 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks() 388 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks() 389 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks() 391 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks() 395 elen = (etype << 30) | in udf_table_free_blocks() 398 elen = (etype << 30) | in udf_table_free_blocks() 399 (elen + in udf_table_free_blocks() 404 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 | 56 uint32_t elen; in udf_readdir() local 83 &epos, &eloc, &elen, &offset) in udf_readdir() 89 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir() 106 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir() 107 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir() 130 &elen, &offset); in udf_readdir()
|
D | namei.c | 175 uint32_t elen; in udf_find_entry() local 190 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_find_entry() 196 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_find_entry() 219 &elen, &offset); in udf_find_entry() 356 uint32_t elen = 0; in udf_add_entry() local 392 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_add_entry() 399 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry() 418 &elen, &offset); in udf_add_entry() 463 udf_current_aext(dir, &epos, &eloc, &elen, 1); in udf_add_entry() 484 ((elen - 1) >> in udf_add_entry() [all …]
|
D | inode.c | 604 uint32_t elen; in udf_extend_file() local 620 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file() 662 uint32_t elen = 0, tmpelen; in inode_getblk() local 697 lbcount += elen; in inode_getblk() 705 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk() 711 laarr[c].extLength = (etype << 30) | elen; in inode_getblk() 716 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk() 720 } while (lbcount + elen <= b_off); in inode_getblk() 735 if (elen & (inode->i_sb->s_blocksize - 1)) { in inode_getblk() 736 elen = EXT_RECORDED_ALLOCATED | 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()
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 693 static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, in rtw_ieee802_11_parse_vendor_specific() argument 702 if (elen < 4) { in rtw_ieee802_11_parse_vendor_specific() 705 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 720 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 723 if (elen < 5) { in rtw_ieee802_11_parse_vendor_specific() 725 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 732 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 736 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 740 pos[4], (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 747 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 861 static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, in rtw_ieee802_11_parse_vendor_specific() argument 870 if (elen < 4) { in rtw_ieee802_11_parse_vendor_specific() 874 (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 889 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() 892 if (elen < 5) { in rtw_ieee802_11_parse_vendor_specific() 896 (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 903 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 907 elems->wme_tspec_len = elen; in rtw_ieee802_11_parse_vendor_specific() 913 pos[4], (unsigned long) elen); in rtw_ieee802_11_parse_vendor_specific() 920 elems->wps_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific() [all …]
|
/Linux-v4.19/lib/ |
D | test_printf.c | 33 do_test(int bufsize, const char *expect, int elen, in do_test() argument 46 if (ret != elen) { in do_test() 48 bufsize, fmt, ret, elen); in do_test() 66 written = min(bufsize-1, elen); in do_test() 88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 94 if (elen >= BUF_SIZE) { in __test() 96 elen, fmt); in __test() 109 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test() 110 rand = 1 + prandom_u32_max(elen+1); in __test() 112 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() [all …]
|
/Linux-v4.19/net/mac80211/ |
D | util.c | 786 u8 id, elen; in ieee802_11_parse_elems_crc() local 790 elen = *pos++; in ieee802_11_parse_elems_crc() 793 if (elen > left) { in ieee802_11_parse_elems_crc() 839 left -= elen; in ieee802_11_parse_elems_crc() 840 pos += elen; in ieee802_11_parse_elems_crc() 847 crc = crc32_be(crc, pos - 2, elen + 2); in ieee802_11_parse_elems_crc() 853 if (elen + 2 != sizeof(struct ieee80211_tdls_lnkie)) { in ieee802_11_parse_elems_crc() 860 if (elen != sizeof(struct ieee80211_ch_switch_timing)) { in ieee802_11_parse_elems_crc() 868 elems->ext_capab_len = elen; in ieee802_11_parse_elems_crc() 872 elems->ssid_len = elen; in ieee802_11_parse_elems_crc() [all …]
|
/Linux-v4.19/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-v4.19/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()
|
/Linux-v4.19/net/ipv6/ |
D | esp6.c | 489 int alen, hlen, elen; in esp_remove_trailer() local 497 elen = skb->len - hlen; in esp_remove_trailer() 509 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 511 padlen + 2, elen - alen); in esp_remove_trailer() 609 int elen = skb->len - sizeof(*esph) - ivlen; in esp6_input() local 624 if (elen <= 0) { in esp6_input() 684 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
|
/Linux-v4.19/net/ipv4/ |
D | esp4.c | 527 int alen, hlen, elen; in esp_remove_trailer() local 535 elen = skb->len - hlen; in esp_remove_trailer() 547 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 549 padlen + 2, elen - alen); in esp_remove_trailer() 691 int elen = skb->len - sizeof(*esph) - ivlen; in esp_input() local 704 if (elen <= 0) in esp_input() 762 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
|
/Linux-v4.19/net/sctp/ |
D | ulpevent.c | 379 int elen; in sctp_ulpevent_make_remote_error() local 383 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error() 394 skb_pull(chunk->skb, elen); in sctp_ulpevent_make_remote_error() 405 skb_trim(skb, sizeof(*sre) + elen); in sctp_ulpevent_make_remote_error()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 508 u8 *pos, *end, id, elen; in ath_beacon_dtim_pending_cab() local 517 elen = *pos++; in ath_beacon_dtim_pending_cab() 518 if (pos + elen > end) in ath_beacon_dtim_pending_cab() 522 if (elen < sizeof(*tim)) in ath_beacon_dtim_pending_cab() 530 pos += elen; in ath_beacon_dtim_pending_cab()
|
/Linux-v4.19/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 609 u8 id, elen; in lbs_ret_scan() local 611 elen = *pos++; in lbs_ret_scan() 613 if (elen > left) { in lbs_ret_scan() 622 ssid_len = elen; in lbs_ret_scan() 624 left -= elen; in lbs_ret_scan() 625 pos += elen; in lbs_ret_scan()
|
/Linux-v4.19/fs/nfsd/ |
D | nfs3xdr.c | 910 int elen; /* estimated entry length in words */ in encode_entry() local 935 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry() 938 if (cd->buflen < elen) { in encode_entry() 953 if ((caddr_t)(cd->buffer + elen) < (curr_page_addr + PAGE_SIZE)) { in encode_entry()
|
/Linux-v4.19/kernel/trace/ |
D | trace_events.c | 2118 int elen; in eval_replace() local 2121 elen = snprintf(ptr, 0, "%ld", map->eval_value); in eval_replace() 2123 if (len < elen) in eval_replace() 2126 snprintf(ptr, elen + 1, "%ld", map->eval_value); in eval_replace() 2130 memmove(ptr + elen, ptr + len, rlen); in eval_replace() 2132 ptr[elen + rlen] = 0; in eval_replace() 2134 return ptr + elen; in eval_replace()
|