/linux/net/mac80211/ |
H A D | parse.c | 381 if (elen >= 1) in _ieee802_11_parse_elems_full() 420 if (elen >= 1) in _ieee802_11_parse_elems_full() 472 if (elen > 0) { in _ieee802_11_parse_elems_full() 497 if (elen >= 2) in _ieee802_11_parse_elems_full() 546 if (elen < in _ieee802_11_parse_elems_full() 584 pos, elen); in _ieee802_11_parse_elems_full() 598 pos, elen); in _ieee802_11_parse_elems_full() 612 pos, elen); in _ieee802_11_parse_elems_full() 623 if (elen != 1) { in _ieee802_11_parse_elems_full() 636 if (elen < 4) { in _ieee802_11_parse_elems_full() [all …]
|
/linux/fs/udf/ |
H A D | truncate.c | 45 if (elen != nelen) { in extent_trunc() 67 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() 128 uint32_t elen; in udf_discard_prealloc() local 157 lbcount += elen; in udf_discard_prealloc() 161 lbcount -= elen; in udf_discard_prealloc() 164 DIV_ROUND_UP(elen, bsize)); in udf_discard_prealloc() 241 &elen, &etype, 0)) > 0) { in udf_truncate_extents() 264 if (elen) in udf_truncate_extents() [all …]
|
H A D | balloc.c | 368 uint32_t elen; in udf_table_free_blocks() local 383 elen = 0; in udf_table_free_blocks() 401 elen = (etype << 30) | in udf_table_free_blocks() 404 elen = (etype << 30) | in udf_table_free_blocks() 405 (elen + in udf_table_free_blocks() 419 elen = (etype << 30) | in udf_table_free_blocks() 423 elen = (etype << 30) | in udf_table_free_blocks() 424 (elen + in udf_table_free_blocks() 476 elen -= sb->s_blocksize; in udf_table_free_blocks() 480 if (elen) in udf_table_free_blocks() [all …]
|
H A 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()
|
H A D | directory.c | 136 ralen = (iter->elen >> iter->dir->i_blkbits) - iter->loffset; in udf_readahead_dir() 178 &iter->elen, &etype, 1); in udf_fiiter_advance_blk() 183 iter->elen = 0; in udf_fiiter_advance_blk() 202 if (!iter->bh[0] && iter->elen) { in udf_fiiter_load_bhs() 254 iter->elen = 0; in udf_fiiter_init() 270 &iter->eloc, &iter->elen, &iter->loffset, &etype); in udf_fiiter_init() 443 int diff = new_elen - iter->elen; in udf_fiiter_update_elen() 446 if (!iter->elen) in udf_fiiter_update_elen() 448 iter->elen = new_elen; in udf_fiiter_update_elen() 465 uint32_t old_elen = iter->elen; in udf_fiiter_append_blk() [all …]
|
H A D | inode.c | 416 uint32_t elen; in udf_map_block() local 646 uint32_t elen; in udf_extend_file() local 722 uint32_t elen = 0, tmpelen; in inode_getblk() local 756 lbcount += elen; in inode_getblk() 1083 if (elen > numalloc) { in udf_prealloc_extents() 1089 numalloc -= elen; in udf_prealloc_extents() 2330 uint32_t elen; in udf_delete_aext() local 2369 elen = 0; in udf_delete_aext() 2412 return (elen >> 30); in udf_delete_aext() 2433 *elen = 0; in inode_bmap() [all …]
|
H A D | udfdecl.h | 92 uint32_t elen; /* Length of extent containing 'pos' */ member 162 uint32_t *elen, sector_t *offset, int8_t *etype); 167 struct kernel_lb_addr *eloc, uint32_t elen, int inc); 174 struct kernel_lb_addr *eloc, uint32_t *elen, 177 struct kernel_lb_addr *eloc, uint32_t *elen,
|
H A D | namei.c | 275 ((iter->elen - 1) >> dir->i_blkbits); in udf_fiiter_add_entry() 293 ((iter->elen - 1) >> dir->i_blkbits); in udf_fiiter_add_entry() 313 udf_fiiter_update_elen(iter, iter->elen - in udf_fiiter_add_entry() 573 int eoffset, elen = 0; in udf_symlink() local 653 elen += sizeof(struct pathComponent); in udf_symlink() 659 if (elen + sizeof(struct pathComponent) > eoffset) in udf_symlink() 662 pc = (struct pathComponent *)(ea + elen); in udf_symlink() 688 if (elen + sizeof(struct pathComponent) + namelen > in udf_symlink() 697 elen += sizeof(struct pathComponent) + pc->lengthComponentIdent; in udf_symlink() 707 inode->i_size = elen; in udf_symlink()
|
H A D | partition.c | 281 uint32_t elen; in udf_try_read_meta() local 288 err = inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset, &etype); in udf_try_read_meta()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 775 if (elen < 4) in rtw_ieee802_11_parse_vendor_specific() 791 if (elen < 5) in rtw_ieee802_11_parse_vendor_specific() 798 elems->wme_len = elen; in rtw_ieee802_11_parse_vendor_specific() 855 u8 id, elen; in rtw_ieee802_11_parse_elems() local 858 elen = *pos++; in rtw_ieee802_11_parse_elems() 861 if (elen > left) in rtw_ieee802_11_parse_elems() 867 elems->ssid_len = elen; in rtw_ieee802_11_parse_elems() 887 elems->tim_len = elen; in rtw_ieee802_11_parse_elems() 925 elems->mdie_len = elen; in rtw_ieee802_11_parse_elems() 960 left -= elen; in rtw_ieee802_11_parse_elems() [all …]
|
/linux/fs/ceph/ |
H A D | crypto.c | 271 int elen; in ceph_encode_encrypted_dname() local 290 elen = d_name->len; in ceph_encode_encrypted_dname() 301 elen = -ENAMETOOLONG; in ceph_encode_encrypted_dname() 309 elen = -ENOMEM; in ceph_encode_encrypted_dname() 315 elen = ret; in ceph_encode_encrypted_dname() 334 elen = ceph_base64_encode(cryptbuf, len, buf); in ceph_encode_encrypted_dname() 338 WARN_ON(elen > 240); in ceph_encode_encrypted_dname() 339 if ((elen > 0) && (dir != parent)) { in ceph_encode_encrypted_dname() 343 elen, buf, dir->i_ino); in ceph_encode_encrypted_dname() 344 memcpy(buf, tmp_buf, elen); in ceph_encode_encrypted_dname() [all …]
|
/linux/lib/ |
H A 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() 128 rand = get_random_u32_inclusive(1, elen + 1); in __test() 130 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() 131 failed_tests += do_test(0, expect, elen, fmt, ap); in __test() [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H 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,
|
H A D | power_budget.h | 17 u8 elen; member
|
H A D | vpstate.h | 10 u8 elen; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H 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()
|
H 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()
|
H A 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/net/ipv4/ |
H A D | esp4.c | 707 int alen, hlen, elen; in esp_remove_trailer() local 715 elen = skb->len - hlen; in esp_remove_trailer() 722 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 724 padlen + 2, elen - alen); in esp_remove_trailer() 882 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() local 895 if (elen <= 0) in esp_input() 953 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
|
/linux/net/ipv6/ |
H A D | esp6.c | 739 int alen, hlen, elen; in esp_remove_trailer() local 747 elen = skb->len - hlen; in esp_remove_trailer() 754 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 756 padlen + 2, elen - alen); in esp_remove_trailer() 920 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() local 935 if (elen <= 0) { in esp6_input() 995 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
|
/linux/net/sctp/ |
H 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/ |
H 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/ |
H A 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/drivers/crypto/ |
H 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/ |
H A 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()
|