/Linux-v5.4/net/ipv6/ |
D | ah6.c | 289 int extlen; in ah6_output_done() local 299 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output_done() 300 if (extlen) in ah6_output_done() 301 extlen += sizeof(*iph_ext); in ah6_output_done() 305 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done() 310 if (extlen) { in ah6_output_done() 312 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done() 314 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done() 326 int extlen; in ah6_output() local 352 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output() [all …]
|
D | exthdrs.c | 286 int extlen; in ipv6_destopt_rcv() local 298 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv() 299 if (extlen > net->ipv6.sysctl.max_dst_opts_len) in ipv6_destopt_rcv() 309 skb->transport_header += extlen; in ipv6_destopt_rcv() 825 int extlen; in ipv6_parse_hopopts() local 841 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts() 842 if (extlen > net->ipv6.sysctl.max_hbh_opts_len) in ipv6_parse_hopopts() 848 skb->transport_header += extlen; in ipv6_parse_hopopts()
|
/Linux-v5.4/fs/gfs2/ |
D | meta_io.c | 434 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument 441 BUG_ON(!extlen); in gfs2_meta_ra() 445 if (extlen > max_ra) in gfs2_meta_ra() 446 extlen = max_ra; in gfs2_meta_ra() 456 extlen--; in gfs2_meta_ra() 458 while (extlen) { in gfs2_meta_ra() 467 extlen--; in gfs2_meta_ra()
|
D | rgrp.c | 1569 u32 extlen; in rg_mblk_search() local 1575 extlen = 1; in rg_mblk_search() 1577 extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target); in rg_mblk_search() 1578 extlen = clamp(extlen, (u32)RGRP_RSRV_MINBLKS, free_blocks); in rg_mblk_search() 1580 if ((rgd->rd_free_clone < rgd->rd_reserved) || (free_blocks < extlen)) in rg_mblk_search() 1592 ret = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &extlen, ip, true); in rg_mblk_search() 1595 rs->rs_free = extlen; in rg_mblk_search() 1673 u32 extlen = 1; in gfs2_reservation_check_and_update() local 1682 extlen = gfs2_free_extlen(rbm, minext); in gfs2_reservation_check_and_update() 1683 if (extlen <= maxext->len) in gfs2_reservation_check_and_update() [all …]
|
D | recovery.c | 39 u32 extlen; in gfs2_replay_read_block() local 42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block() 50 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
|
D | bmap.h | 54 u64 *dblock, unsigned *extlen);
|
D | dir.c | 161 u32 extlen = 0; in gfs2_dir_write_data() local 194 if (!extlen) { in gfs2_dir_write_data() 197 &dblock, &extlen); in gfs2_dir_write_data() 221 extlen--; in gfs2_dir_write_data() 275 u32 extlen = 0; in gfs2_dir_read_data() local 298 if (!extlen) { in gfs2_dir_read_data() 301 &dblock, &extlen); in gfs2_dir_read_data() 304 BUG_ON(extlen < 1); in gfs2_dir_read_data() 305 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data() 317 extlen--; in gfs2_dir_read_data()
|
D | meta_io.h | 73 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
D | quota.c | 1346 u32 extlen = 0; in gfs2_quota_init() local 1368 if (!extlen) { in gfs2_quota_init() 1370 error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); in gfs2_quota_init() 1375 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init() 1424 extlen--; in gfs2_quota_init()
|
D | bmap.c | 1330 int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsigned *extlen) in gfs2_extent_map() argument 1336 BUG_ON(!extlen); in gfs2_extent_map() 1342 *extlen = bh.b_size >> inode->i_blkbits; in gfs2_extent_map()
|
/Linux-v5.4/sound/core/seq/ |
D | seq_memory.c | 284 unsigned int extlen; in snd_seq_event_dup() local 290 extlen = 0; in snd_seq_event_dup() 292 extlen = event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_event_dup() 293 ncells = (extlen + sizeof(struct snd_seq_event) - 1) / sizeof(struct snd_seq_event); in snd_seq_event_dup() 307 int len = extlen; in snd_seq_event_dup() 313 cell->event.data.ext.len = extlen | SNDRV_SEQ_EXT_CHAINED; in snd_seq_event_dup()
|
D | seq_clientmgr.c | 1072 int extlen = event.data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_write() local 1073 if ((size_t)(extlen + len) > count) { in snd_seq_write() 1079 event.data.ext.len = extlen | SNDRV_SEQ_EXT_USRPTR; in snd_seq_write() 1082 len += extlen; /* increment data length */ in snd_seq_write()
|
/Linux-v5.4/tools/lib/subcmd/ |
D | help.c | 150 size_t extlen = strlen(ext); in has_extension() local 152 return len > extlen && !memcmp(filename + len - extlen, ext, extlen); in has_extension()
|
/Linux-v5.4/fs/fat/ |
D | namei_vfat.c | 336 int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen; in vfat_create_shortname() local 408 extlen = 0; in vfat_create_shortname() 410 for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) { in vfat_create_shortname() 416 if ((extlen + chl) > 3) { in vfat_create_shortname() 422 extlen++; in vfat_create_shortname() 424 if (extlen >= 3) { in vfat_create_shortname() 431 ext[extlen] = '\0'; in vfat_create_shortname() 445 memcpy(name_res + 8, ext, extlen); in vfat_create_shortname()
|
/Linux-v5.4/drivers/net/hyperv/ |
D | rndis_filter.c | 654 u32 extlen = sizeof(struct rndis_config_parameter_info) + in rndis_filter_set_device_mac() local 659 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_device_mac() 665 set->info_buflen = extlen; in rndis_filter_set_device_mac() 718 u32 extlen = sizeof(struct ndis_offload_params); in rndis_filter_set_offload_params() local 723 extlen = VERSION_4_OFFLOAD_SIZE; in rndis_filter_set_offload_params() 732 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_offload_params() 738 set->info_buflen = extlen; in rndis_filter_set_offload_params() 747 offload_params->header.size = extlen; in rndis_filter_set_offload_params() 773 u32 extlen = sizeof(struct ndis_recv_scale_param) + in rndis_set_rss_param_msg() local 782 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_set_rss_param_msg() [all …]
|
/Linux-v5.4/fs/ocfs2/ |
D | extent_map.c | 873 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local 936 extlen = clen; in ocfs2_seek_data_hole_offset() 937 extlen <<= cs_bits; in ocfs2_seek_data_hole_offset() 939 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset() 940 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset() 941 extoff += extlen; in ocfs2_seek_data_hole_offset()
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_refcount.c | 392 unsigned long long extlen, in xfs_refcount_merge_center_extents() argument 435 left->rc_blockcount = extlen; in xfs_refcount_merge_center_extents()
|