Home
last modified time | relevance | path

Searched refs:extlen (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
Dah6.c289 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 …]
Dexthdrs.c286 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()
1021 int extlen; in ipv6_parse_hopopts() local
1037 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts()
1038 if (extlen > net->ipv6.sysctl.max_hbh_opts_len) in ipv6_parse_hopopts()
1044 skb->transport_header += extlen; in ipv6_parse_hopopts()
/kernel/linux/linux-5.10/fs/gfs2/
Dmeta_io.c506 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument
513 BUG_ON(!extlen); in gfs2_meta_ra()
517 if (extlen > max_ra) in gfs2_meta_ra()
518 extlen = max_ra; in gfs2_meta_ra()
528 extlen--; in gfs2_meta_ra()
530 while (extlen) { in gfs2_meta_ra()
539 extlen--; in gfs2_meta_ra()
Drgrp.c1539 u32 extlen; in rg_mblk_search() local
1545 extlen = 1; in rg_mblk_search()
1547 extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target); in rg_mblk_search()
1548 extlen = clamp(extlen, (u32)RGRP_RSRV_MINBLKS, free_blocks); in rg_mblk_search()
1550 if ((rgd->rd_free_clone < rgd->rd_reserved) || (free_blocks < extlen)) in rg_mblk_search()
1562 ret = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &extlen, ip, true); in rg_mblk_search()
1565 rs->rs_free = extlen; in rg_mblk_search()
1643 u32 extlen = 1; in gfs2_reservation_check_and_update() local
1652 extlen = gfs2_free_extlen(rbm, minext); in gfs2_reservation_check_and_update()
1653 if (extlen <= maxext->len) in gfs2_reservation_check_and_update()
[all …]
Dbmap.h55 u64 *dblock, unsigned *extlen);
Drecovery.c39 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()
Ddir.c158 u32 extlen = 0; in gfs2_dir_write_data() local
191 if (!extlen) { in gfs2_dir_write_data()
194 &dblock, &extlen); in gfs2_dir_write_data()
218 extlen--; in gfs2_dir_write_data()
272 u32 extlen = 0; in gfs2_dir_read_data() local
295 if (!extlen) { in gfs2_dir_read_data()
298 &dblock, &extlen); in gfs2_dir_read_data()
301 BUG_ON(extlen < 1); in gfs2_dir_read_data()
302 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data()
314 extlen--; in gfs2_dir_read_data()
Dmeta_io.h73 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
Dquota.c1363 u32 extlen = 0; in gfs2_quota_init() local
1385 if (!extlen) { in gfs2_quota_init()
1387 error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); in gfs2_quota_init()
1392 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1441 extlen--; in gfs2_quota_init()
Dbmap.c1329 int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsigned *extlen) in gfs2_extent_map() argument
1335 BUG_ON(!extlen); in gfs2_extent_map()
1341 *extlen = bh.b_size >> inode->i_blkbits; in gfs2_extent_map()
/kernel/linux/linux-5.10/sound/core/seq/
Dseq_memory.c287 unsigned int extlen; in snd_seq_event_dup() local
293 extlen = 0; in snd_seq_event_dup()
295 extlen = event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_event_dup()
296 ncells = (extlen + sizeof(struct snd_seq_event) - 1) / sizeof(struct snd_seq_event); in snd_seq_event_dup()
310 int len = extlen; in snd_seq_event_dup()
316 cell->event.data.ext.len = extlen | SNDRV_SEQ_EXT_CHAINED; in snd_seq_event_dup()
Dseq_clientmgr.c1070 int extlen = event.data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_write() local
1071 if ((size_t)(extlen + len) > count) { in snd_seq_write()
1077 event.data.ext.len = extlen | SNDRV_SEQ_EXT_USRPTR; in snd_seq_write()
1080 len += extlen; /* increment data length */ in snd_seq_write()
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dhelp.c152 size_t extlen = strlen(ext); in has_extension() local
154 return len > extlen && !memcmp(filename + len - extlen, ext, extlen); in has_extension()
/kernel/linux/linux-5.10/fs/fat/
Dnamei_vfat.c336 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()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Drndis_filter.c716 u32 extlen = sizeof(struct rndis_config_parameter_info) + in rndis_filter_set_device_mac() local
721 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_device_mac()
727 set->info_buflen = extlen; in rndis_filter_set_device_mac()
780 u32 extlen = sizeof(struct ndis_offload_params); in rndis_filter_set_offload_params() local
785 extlen = VERSION_4_OFFLOAD_SIZE; in rndis_filter_set_offload_params()
794 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_offload_params()
800 set->info_buflen = extlen; in rndis_filter_set_offload_params()
809 offload_params->header.size = extlen; in rndis_filter_set_offload_params()
836 u32 extlen = sizeof(struct ndis_recv_scale_param) + in rndis_set_rss_param_msg() local
845 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_set_rss_param_msg()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dextent_map.c871 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local
934 extlen = clen; in ocfs2_seek_data_hole_offset()
935 extlen <<= cs_bits; in ocfs2_seek_data_hole_offset()
937 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset()
938 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset()
939 extoff += extlen; in ocfs2_seek_data_hole_offset()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_refcount.c407 unsigned long long extlen, in xfs_refcount_merge_center_extents() argument
461 left->rc_blockcount = extlen; in xfs_refcount_merge_center_extents()