Home
last modified time | relevance | path

Searched refs:minlen (Results 1 – 25 of 86) sorted by relevance

1234

/linux/fs/jfs/
A Djfs_discard.c71 u64 start, end, minlen; in jfs_ioc_trim() local
82 minlen = range->minlen >> sb->s_blocksize_bits; in jfs_ioc_trim()
83 if (minlen == 0) in jfs_ioc_trim()
84 minlen = 1; in jfs_ioc_trim()
86 if (minlen > bmp->db_agsize || in jfs_ioc_trim()
100 trimmed += dbDiscardAG(ip, agno, minlen); in jfs_ioc_trim()
A Dioctl.c129 range.minlen = max_t(unsigned int, range.minlen, in jfs_ioctl()
/linux/fs/xfs/
A Dxfs_rtalloc.c280 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
382 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
394 if (maxlen < minlen) { in xfs_rtallocate_extent_exact()
451 if (maxlen < minlen) { in xfs_rtallocate_extent_near()
473 ASSERT(minlen != 0); in xfs_rtallocate_extent_near()
697 if (minlen > --maxlen) { in xfs_rtallocate_extent_size()
701 ASSERT(minlen != 0); in xfs_rtallocate_extent_size()
1189 ASSERT(minlen > 0 && minlen <= maxlen); in xfs_rtallocate_extent()
1199 if ((i = minlen % prod)) in xfs_rtallocate_extent()
1200 minlen += prod - i; in xfs_rtallocate_extent()
[all …]
A Dxfs_discard.c28 xfs_daddr_t minlen, in xfs_trim_extents() argument
92 if (dlen < minlen) { in xfs_trim_extents()
158 xfs_daddr_t start, end, minlen; in xfs_ioc_trim() local
178 range.minlen = max_t(u64, granularity, range.minlen); in xfs_ioc_trim()
179 minlen = BTOBB(range.minlen); in xfs_ioc_trim()
188 range.minlen > XFS_FSB_TO_B(mp, mp->m_ag_max_usable) || in xfs_ioc_trim()
202 error = xfs_trim_extents(mp, agno, start, end, minlen, in xfs_ioc_trim()
A Dxfs_filestream.c103 xfs_extlen_t minlen) in xfs_filestream_pick_ag() argument
159 if (((minlen && longest >= minlen) || in xfs_filestream_pick_ag()
160 (!minlen && pag->pagf_freeblks >= minfree)) && in xfs_filestream_pick_ag()
326 xfs_extlen_t minlen = ap->length; in xfs_filestream_new_ag() local
350 err = xfs_filestream_pick_ag(pip, startag, agp, flags, minlen); in xfs_filestream_new_ag()
/linux/tools/lib/bpf/
A Dnlattr.c49 unsigned int minlen = 0; in validate_nla() local
60 if (pt->minlen) in validate_nla()
61 minlen = pt->minlen; in validate_nla()
63 minlen = nla_attr_minlen[pt->type]; in validate_nla()
65 if (libbpf_nla_len(nla) < minlen) in validate_nla()
/linux/drivers/isdn/mISDN/
A Dhwchannel.c76 unsigned short minlen) in mISDN_initbchannel() argument
79 ch->minlen = minlen; in mISDN_initbchannel()
80 ch->next_minlen = minlen; in mISDN_initbchannel()
81 ch->init_minlen = minlen; in mISDN_initbchannel()
138 ch->minlen = ch->init_minlen; in mISDN_clear_bchannel()
188 cq->p1 = bch->minlen; in mISDN_ctrl_bchannel()
264 (bch->rx_skb->len < bch->minlen) && !force) in recv_Bchannel()
493 if (unlikely(bch->minlen != bch->next_minlen)) in bchannel_get_rxbuf()
494 bch->minlen = bch->next_minlen; in bchannel_get_rxbuf()
498 if (reqlen >= bch->minlen) { in bchannel_get_rxbuf()
[all …]
/linux/lib/
A Dnlattr.c427 minlen = min_t(int, attrlen, pt->len + 1); in validate_nla()
429 minlen = attrlen; in validate_nla()
431 if (!minlen || memchr(nla_data(nla), '\0', minlen) == NULL) { in validate_nla()
515 minlen = pt->len; in validate_nla()
517 minlen = nla_attr_minlen[pt->type]; in validate_nla()
519 if (attrlen < minlen) in validate_nla()
791 int minlen = min_t(int, count, nla_len(src)); in nla_memcpy() local
793 memcpy(dest, nla_data(src), minlen); in nla_memcpy()
794 if (count > minlen) in nla_memcpy()
795 memset(dest + minlen, 0, count - minlen); in nla_memcpy()
[all …]
/linux/net/netfilter/
A Dnft_rt.c23 u32 minlen = sizeof(struct ipv6hdr), mtu = dst_mtu(skbdst); in get_tcpmss() local
33 minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); in get_tcpmss()
37 minlen = sizeof(struct ipv6hdr) + sizeof(struct tcphdr); in get_tcpmss()
47 if (mtu <= minlen || mtu > 0xffff) in get_tcpmss()
50 return mtu - minlen; in get_tcpmss()
A Dxt_TCPMSS.c75 unsigned int minlen) in tcpmss_mangle_packet() argument
107 if (min_mtu <= minlen) { in tcpmss_mangle_packet()
112 newmss = min_mtu - minlen; in tcpmss_mangle_packet()
/linux/Documentation/admin-guide/
A Djfs.rst52 discard=minlen, discard/nodiscard(*)
58 The value of minlen specifies the minimum blockcount, when
62 The minlen value of discard overrides the minlen value given
/linux/drivers/virtio/
A Dvirtio_pci_modern_dev.c22 size_t minlen, u32 align, u32 start, u32 size, in vp_modern_map_capability() argument
45 if (length - start < minlen) { in vp_modern_map_capability()
48 length, minlen); in vp_modern_map_capability()
76 if (minlen + offset < minlen || in vp_modern_map_capability()
77 minlen + offset > pci_resource_len(dev, bar)) { in vp_modern_map_capability()
81 minlen, offset, in vp_modern_map_capability()
/linux/drivers/media/rc/img-ir/
A Dimg-ir-hw.c234 unsigned int minlen, maxlen, ft_min; in img_ir_free_timing() local
236 if (timing->minlen < 30) in img_ir_free_timing()
237 minlen = timing->minlen & -2; in img_ir_free_timing()
239 minlen = 30; in img_ir_free_timing()
250 (minlen << IMG_IR_MINLEN_SHIFT) | in img_ir_free_timing()
263 unsigned int minlen, maxlen, newminlen, newmaxlen; in img_ir_free_timing_dynamic() local
266 newminlen = filter->minlen & -2; in img_ir_free_timing_dynamic()
269 minlen = (st_ft & IMG_IR_MINLEN) >> IMG_IR_MINLEN_SHIFT; in img_ir_free_timing_dynamic()
272 if (newminlen > minlen) { in img_ir_free_timing_dynamic()
485 filter.minlen = 0; in img_ir_set_filter()
A Dimg-ir-sanyo.c104 .minlen = 42,
118 .minlen = 0, /* repeat code has no data */
A Dimg-ir-sony.c116 out->minlen = len; in img_ir_sony_filter()
153 .minlen = 12,
A Dimg-ir-hw.h82 u8 minlen; member
111 u8 minlen; member
A Dimg-ir-nec.c152 .minlen = 32,
166 .minlen = 0, /* repeat code has no data */
/linux/fs/btrfs/
A Dfree-space-cache.h135 u64 *trimmed, u64 start, u64 end, u64 minlen);
137 u64 *trimmed, u64 start, u64 end, u64 minlen,
140 u64 *trimmed, u64 start, u64 end, u64 minlen,
A Ddiscard.c444 u64 minlen = 0; in btrfs_discard_workfn() local
459 minlen = discard_minlen[discard_index]; in btrfs_discard_workfn()
476 minlen, maxlen, true); in btrfs_discard_workfn()
482 minlen, true); in btrfs_discard_workfn()
/linux/fs/xfs/libxfs/
A Dxfs_alloc.c398 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
848 if (len < args->minlen) { in xfs_alloc_cur_check()
863 if (lena < args->minlen) in xfs_alloc_cur_check()
1104 if (flen < args->minlen) { in xfs_alloc_ag_vextent_small()
1134 ASSERT(args->minlen > 0); in xfs_alloc_ag_vextent()
1258 if (tlen < args->minlen) in xfs_alloc_ag_vextent_exact()
1522 if (*len >= args->minlen) in xfs_alloc_ag_vextent_lastblock()
1528 ASSERT(*len >= args->minlen); in xfs_alloc_ag_vextent_lastblock()
1819 if (rlen < args->minlen) { in xfs_alloc_ag_vextent_size()
3187 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()
[all …]
/linux/fs/hpfs/
A Dalloc.c503 …, secno start, unsigned len, secno limit_start, secno limit_end, unsigned minlen, unsigned *result) in do_trim() argument
516 if (end - start < minlen) in do_trim()
525 int hpfs_trim_fs(struct super_block *s, u64 start, u64 end, u64 minlen, unsigned *result) in hpfs_trim_fs() argument
538 if (minlen > 0x4000) in hpfs_trim_fs()
552 err = do_trim(s, sbi->sb_dirband_start + idx * 4, len * 4, start, end, minlen, result); in hpfs_trim_fs()
573 err = do_trim(s, (start_bmp << 14) + idx, len, start, end, minlen, result); in hpfs_trim_fs()
/linux/arch/arm/boot/compressed/
A Dfdt_check_mem_start.c8 const char *property, int minlen) in get_prop() argument
18 if (!prop || len < minlen) in get_prop()
/linux/drivers/net/ethernet/cavium/thunder/
A Dnic_reg.h218 u64 minlen:16; /* Min frame size */ member
220 u64 minlen:16;
/linux/net/openvswitch/
A Dconntrack.c35 int minlen; member
1502 [OVS_CT_ATTR_COMMIT] = { .minlen = 0, .maxlen = 0 },
1504 [OVS_CT_ATTR_ZONE] = { .minlen = sizeof(u16),
1506 [OVS_CT_ATTR_MARK] = { .minlen = sizeof(struct md_mark),
1510 [OVS_CT_ATTR_HELPER] = { .minlen = 1,
1514 [OVS_CT_ATTR_NAT] = { .minlen = 0, .maxlen = INT_MAX },
1516 [OVS_CT_ATTR_EVENTMASK] = { .minlen = sizeof(u32),
1518 [OVS_CT_ATTR_TIMEOUT] = { .minlen = 1,
1531 int minlen; in parse_ct() local
1541 minlen = ovs_ct_attr_lens[type].minlen; in parse_ct()
[all …]
/linux/kernel/debug/kdb/
A Dkdb_main.c738 mp->minlen = 0; in kdb_defcmd()
1018 if (tp->minlen && (strlen(argv[0]) <= tp->minlen) && in kdb_parse()
1019 (strncmp(argv[0], tp->name, tp->minlen) == 0)) in kdb_parse()
2678 .minlen = 1,
2709 .minlen = 1,
2735 .minlen = 1,
2778 .minlen = 1,
2862 .minlen = 4,
2869 .minlen = 3,

Completed in 49 milliseconds

1234