/linux/fs/udf/ |
A D | truncate.c | 49 if (elen != nelen) { in extent_trunc() 71 uint32_t elen, nelen; in udf_truncate_tail_extent() local 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() 125 uint32_t elen; in udf_discard_prealloc() local 147 lbcount += elen; in udf_discard_prealloc() 151 lbcount -= elen; in udf_discard_prealloc() 243 &elen, 0)) != -1) { in udf_truncate_extents() 266 if (elen) in udf_truncate_extents() [all …]
|
A D | balloc.c | 366 uint32_t elen; in udf_table_free_blocks() local 390 elen = 0; 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() 422 elen = (etype << 30) | in udf_table_free_blocks() 426 elen = (etype << 30) | in udf_table_free_blocks() 427 (elen + in udf_table_free_blocks() 482 elen -= sb->s_blocksize; in udf_table_free_blocks() 486 if (elen) in udf_table_free_blocks() [all …]
|
A 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()
|
A D | namei.c | 177 uint32_t elen; in udf_find_entry() local 221 &elen, &offset); in udf_find_entry() 343 uint32_t elen = 0; in udf_add_entry() local 405 &elen, &offset); in udf_add_entry() 470 ((elen - 1) >> in udf_add_entry() 477 elen = (elen + sb->s_blocksize - 1) & ~(sb->s_blocksize - 1); in udf_add_entry() 732 uint32_t elen; in empty_dir() local 766 &elen, &offset); in empty_dir() 891 int eoffset, elen = 0; in udf_symlink() local 963 elen += sizeof(struct pathComponent); in udf_symlink() [all …]
|
A 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()
|
A D | dir.c | 56 uint32_t elen; in udf_readdir() local 99 &epos, &eloc, &elen, &offset) in udf_readdir() 105 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir() 122 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir() 123 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir() 151 &elen, &offset); in udf_readdir()
|
A D | inode.c | 632 uint32_t elen; in udf_extend_file() local 697 uint32_t elen = 0, tmpelen; in inode_getblk() local 732 lbcount += elen; in inode_getblk() 1056 if (elen > numalloc) { in udf_prealloc_extents() 1062 numalloc -= elen; in udf_prealloc_extents() 2256 uint32_t elen; in udf_delete_aext() local 2286 elen = 0; in udf_delete_aext() 2329 return (elen >> 30); in udf_delete_aext() 2347 *elen = 0; in inode_bmap() 2355 lbcount += *elen; in inode_bmap() [all …]
|
A 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/drivers/staging/r8188eu/core/ |
A D | rtw_ieee80211.c | 656 if (elen < 4) { in rtw_ieee802_11_parse_vendor_specific() 659 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 677 if (elen < 5) { in rtw_ieee802_11_parse_vendor_specific() 679 (unsigned long)elen); in rtw_ieee802_11_parse_vendor_specific() 749 u8 id, elen; in rtw_ieee802_11_parse_elems() local 752 elen = *pos++; in rtw_ieee802_11_parse_elems() 755 if (elen > left) { in rtw_ieee802_11_parse_elems() 786 elems->tim_len = elen; in rtw_ieee802_11_parse_elems() 845 id, elen); in rtw_ieee802_11_parse_elems() 848 left -= elen; in rtw_ieee802_11_parse_elems() [all …]
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_ieee80211.c | 801 if (elen < 4) in rtw_ieee802_11_parse_vendor_specific() 817 if (elen < 5) in rtw_ieee802_11_parse_vendor_specific() 824 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 881 u8 id, elen; in rtw_ieee802_11_parse_elems() local 884 elen = *pos++; in rtw_ieee802_11_parse_elems() 887 if (elen > left) in rtw_ieee802_11_parse_elems() 893 elems->ssid_len = elen; in rtw_ieee802_11_parse_elems() 913 elems->tim_len = elen; in rtw_ieee802_11_parse_elems() 951 elems->mdie_len = elen; in rtw_ieee802_11_parse_elems() 986 left -= elen; in rtw_ieee802_11_parse_elems() [all …]
|
/linux/lib/ |
A D | test_printf.c | 41 do_test(int bufsize, const char *expect, int elen, in do_test() argument 54 if (ret != elen) { in do_test() 56 bufsize, fmt, ret, elen); in do_test() 74 written = min(bufsize-1, elen); in do_test() 96 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 102 if (elen >= BUF_SIZE) { in __test() 104 elen, fmt); in __test() 118 rand = 1 + prandom_u32_max(elen+1); in __test() 120 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() 121 failed_tests += do_test(0, expect, elen, fmt, ap); in __test() [all …]
|
/linux/net/mac80211/ |
A D | util.c | 1108 if (elen >= 1) in _ieee802_11_parse_elems_crc() 1142 elems->rsn_len = elen; in _ieee802_11_parse_elems_crc() 1145 if (elen >= 1) in _ieee802_11_parse_elems_crc() 1182 if (elen > 0) { in _ieee802_11_parse_elems_crc() 1205 if (elen >= 2) in _ieee802_11_parse_elems_crc() 1248 if (elen < in _ieee802_11_parse_elems_crc() 1274 pos, elen); in _ieee802_11_parse_elems_crc() 1288 if (elen != 1) { in _ieee802_11_parse_elems_crc() 1300 if (elen < 4) { in _ieee802_11_parse_elems_crc() 1309 if (elen != 6) { in _ieee802_11_parse_elems_crc() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A 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()
|
A 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()
|
A 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/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
A 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,
|
A D | power_budget.h | 17 u8 elen; member
|
A D | vpstate.h | 10 u8 elen; member
|
/linux/net/ipv6/ |
A D | esp6.c | 743 int alen, hlen, elen; in esp_remove_trailer() local 751 elen = skb->len - hlen; in esp_remove_trailer() 763 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 765 padlen + 2, elen - alen); in esp_remove_trailer() 929 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() local 944 if (elen <= 0) { in esp6_input() 1004 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
|
/linux/net/ipv4/ |
A D | esp4.c | 706 int alen, hlen, elen; in esp_remove_trailer() local 714 elen = skb->len - hlen; in esp_remove_trailer() 726 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 728 padlen + 2, elen - alen); in esp_remove_trailer() 885 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() local 898 if (elen <= 0) in esp_input() 956 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
|
/linux/net/sctp/ |
A 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/drivers/net/wireless/ath/ath9k/ |
A 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/drivers/net/wireless/marvell/libertas/ |
A 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()
|
/linux/drivers/crypto/ |
A 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() 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() 1273 elen = 0; in ipsec_esp() [all …]
|
/linux/drivers/net/ethernet/sun/ |
A D | sunvnet_common.c | 1720 unsigned long len, elen; in vnet_port_alloc_tx_ring() local 1726 elen = sizeof(struct vio_net_desc) + in vnet_port_alloc_tx_ring() 1729 elen += sizeof(struct vio_net_dext); in vnet_port_alloc_tx_ring() 1730 len = VNET_TX_RING_SIZE * elen; in vnet_port_alloc_tx_ring() 1744 dr->entry_size = elen; in vnet_port_alloc_tx_ring()
|