/linux-6.6.21/net/ipv6/ |
D | ah6.c | 286 int extlen; in ah6_output_done() local 296 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output_done() 297 if (extlen) in ah6_output_done() 298 extlen += sizeof(*iph_ext); in ah6_output_done() 302 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done() 307 if (extlen) { in ah6_output_done() 309 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done() 311 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done() 323 int extlen; in ah6_output() local 349 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output() [all …]
|
D | exthdrs.c | 303 int extlen; in ipv6_destopt_rcv() local 315 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv() 316 if (extlen > net->ipv6.sysctl.max_dst_opts_len) in ipv6_destopt_rcv() 325 skb->transport_header += extlen; in ipv6_destopt_rcv() 1039 int extlen; in ipv6_parse_hopopts() local 1055 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts() 1056 if (extlen > net->ipv6.sysctl.max_hbh_opts_len) in ipv6_parse_hopopts() 1061 skb->transport_header += extlen; in ipv6_parse_hopopts()
|
/linux-6.6.21/fs/gfs2/ |
D | meta_io.c | 516 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument 523 BUG_ON(!extlen); in gfs2_meta_ra() 527 if (extlen > max_ra) in gfs2_meta_ra() 528 extlen = max_ra; in gfs2_meta_ra() 537 extlen--; in gfs2_meta_ra() 539 while (extlen) { in gfs2_meta_ra() 545 extlen--; in gfs2_meta_ra()
|
D | bmap.h | 57 unsigned int *extlen); 59 unsigned *extlen, bool *new);
|
D | rgrp.c | 1568 u32 extlen; in rg_mblk_search() local 1583 extlen = 1; in rg_mblk_search() 1585 extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target); in rg_mblk_search() 1586 extlen = clamp(extlen, (u32)RGRP_RSRV_MINBLKS, free_blocks); in rg_mblk_search() 1588 if (free_blocks < extlen || blocks_available < extlen) in rg_mblk_search() 1600 ret = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &extlen, &ip->i_res, true); in rg_mblk_search() 1603 rs->rs_requested = extlen; in rg_mblk_search() 1681 u32 extlen = 1; in gfs2_reservation_check_and_update() local 1689 extlen = gfs2_free_extlen(rbm, minext); in gfs2_reservation_check_and_update() 1690 if (extlen <= maxext->len) in gfs2_reservation_check_and_update() [all …]
|
D | recovery.c | 38 u32 extlen; in gfs2_replay_read_block() local 41 extlen = 32; in gfs2_replay_read_block() 42 error = gfs2_get_extent(&ip->i_inode, blk, &dblock, &extlen); in gfs2_replay_read_block() 50 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
|
D | dir.c | 158 u32 extlen = 0; in gfs2_dir_write_data() local 191 if (!extlen) { in gfs2_dir_write_data() 192 extlen = 1; in gfs2_dir_write_data() 194 &extlen, &new); in gfs2_dir_write_data() 218 extlen--; in gfs2_dir_write_data() 272 u32 extlen = 0; in gfs2_dir_read_data() local 294 if (!extlen) { in gfs2_dir_read_data() 295 extlen = 32; in gfs2_dir_read_data() 297 &dblock, &extlen); in gfs2_dir_read_data() 300 BUG_ON(extlen < 1); in gfs2_dir_read_data() [all …]
|
D | meta_io.h | 75 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
D | bmap.c | 1249 unsigned int *extlen) in gfs2_get_extent() argument 1256 ret = gfs2_iomap_get(inode, lblock << blkbits, *extlen << blkbits, in gfs2_get_extent() 1264 if (len < *extlen) in gfs2_get_extent() 1265 *extlen = len; in gfs2_get_extent() 1270 unsigned int *extlen, bool *new) in gfs2_alloc_extent() argument 1277 ret = gfs2_iomap_alloc(inode, lblock << blkbits, *extlen << blkbits, in gfs2_alloc_extent() 1285 if (len < *extlen) in gfs2_alloc_extent() 1286 *extlen = len; in gfs2_alloc_extent()
|
D | quota.c | 1399 u32 extlen = 0; in gfs2_quota_init() local 1421 if (!extlen) { in gfs2_quota_init() 1422 extlen = 32; in gfs2_quota_init() 1423 error = gfs2_get_extent(&ip->i_inode, x, &dblock, &extlen); in gfs2_quota_init() 1428 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init() 1477 extlen--; in gfs2_quota_init()
|
D | log.c | 869 unsigned int extlen; in gfs2_write_log_header() local 872 extlen = 1; in gfs2_write_log_header() 873 ret = gfs2_get_extent(jd->jd_inode, lblock, &dblock, &extlen); in gfs2_write_log_header()
|
/linux-6.6.21/sound/core/seq/ |
D | seq_memory.c | 346 unsigned int extlen; in snd_seq_event_dup() local 353 extlen = 0; in snd_seq_event_dup() 355 extlen = event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_event_dup() 356 ncells = DIV_ROUND_UP(extlen, sizeof(struct snd_seq_event)); in snd_seq_event_dup() 375 int len = extlen; in snd_seq_event_dup() 381 cell->event.data.ext.len = extlen | SNDRV_SEQ_EXT_CHAINED; in snd_seq_event_dup()
|
D | seq_clientmgr.c | 1067 int extlen = ev->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in snd_seq_write() local 1068 if ((size_t)(extlen + len) > count) { in snd_seq_write() 1074 ev->data.ext.len = extlen | SNDRV_SEQ_EXT_USRPTR; in snd_seq_write() 1076 len += extlen; /* increment data length */ in snd_seq_write()
|
/linux-6.6.21/tools/lib/subcmd/ |
D | help.c | 174 size_t extlen = strlen(ext); in has_extension() local 176 return len > extlen && !memcmp(filename + len - extlen, ext, extlen); in has_extension()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | gro.c | 376 static void recompute_packet(char *buf, char *no_ext, int extlen) in recompute_packet() argument 383 memmove(buf + total_hdr_len + extlen, in recompute_packet() 386 tcphdr->doff = tcphdr->doff + (extlen / 4); in recompute_packet() 388 tcphdr->check = tcp_checksum(tcphdr, PAYLOAD_LEN + extlen); in recompute_packet() 390 iph->tot_len = htons(ntohs(iph->tot_len) + extlen); in recompute_packet() 394 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen); in recompute_packet() 691 int extlen = sizeof(struct ip6_frag); in send_fragment6() local 693 int extpkt_len = bufpkt_len + extlen; in send_fragment6() 705 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen); in send_fragment6() 709 memcpy(extpkt + tcp_offset + extlen, buf + tcp_offset, in send_fragment6()
|
/linux-6.6.21/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-6.6.21/drivers/net/hyperv/ |
D | rndis_filter.c | 810 u32 extlen = sizeof(struct rndis_config_parameter_info) + in rndis_filter_set_device_mac() local 815 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_device_mac() 821 set->info_buflen = extlen; in rndis_filter_set_device_mac() 874 u32 extlen = sizeof(struct ndis_offload_params); in rndis_filter_set_offload_params() local 879 extlen = VERSION_4_OFFLOAD_SIZE; in rndis_filter_set_offload_params() 888 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_filter_set_offload_params() 894 set->info_buflen = extlen; in rndis_filter_set_offload_params() 903 offload_params->header.size = extlen; in rndis_filter_set_offload_params() 930 u32 extlen = sizeof(struct ndis_recv_scale_param) + in rndis_set_rss_param_msg() local 939 RNDIS_MESSAGE_SIZE(struct rndis_set_request) + extlen); in rndis_set_rss_param_msg() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | extent_map.c | 869 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local 932 extlen = clen; in ocfs2_seek_data_hole_offset() 933 extlen <<= cs_bits; in ocfs2_seek_data_hole_offset() 935 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset() 936 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset() 937 extoff += extlen; in ocfs2_seek_data_hole_offset()
|
/linux-6.6.21/fs/smb/server/ |
D | smb_common.c | 498 int extlen = 0, len = 0; in ksmbd_extract_shortname() local 515 while (*p && extlen < 3) { in ksmbd_extract_shortname() 517 extension[extlen++] = toupper(*p); in ksmbd_extract_shortname() 520 extension[extlen] = '\0'; in ksmbd_extract_shortname()
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_refcount.c | 450 unsigned long long extlen, in xfs_refcount_merge_center_extents() argument 507 left->rc_blockcount = extlen; in xfs_refcount_merge_center_extents()
|