/linux/fs/jfs/ |
A D | jfs_discard.c | 71 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 D | ioctl.c | 129 range.minlen = max_t(unsigned int, range.minlen, in jfs_ioctl()
|
/linux/fs/xfs/ |
A D | xfs_rtalloc.c | 280 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 D | xfs_discard.c | 28 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 D | xfs_filestream.c | 103 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 D | nlattr.c | 49 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 D | hwchannel.c | 76 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 D | nlattr.c | 427 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 D | nft_rt.c | 23 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 D | xt_TCPMSS.c | 75 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 D | jfs.rst | 52 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 D | virtio_pci_modern_dev.c | 22 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 D | img-ir-hw.c | 234 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 D | img-ir-sanyo.c | 104 .minlen = 42, 118 .minlen = 0, /* repeat code has no data */
|
A D | img-ir-sony.c | 116 out->minlen = len; in img_ir_sony_filter() 153 .minlen = 12,
|
A D | img-ir-hw.h | 82 u8 minlen; member 111 u8 minlen; member
|
A D | img-ir-nec.c | 152 .minlen = 32, 166 .minlen = 0, /* repeat code has no data */
|
/linux/fs/btrfs/ |
A D | free-space-cache.h | 135 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 D | discard.c | 444 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 D | xfs_alloc.c | 398 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 D | alloc.c | 503 …, 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 D | fdt_check_mem_start.c | 8 const char *property, int minlen) in get_prop() argument 18 if (!prop || len < minlen) in get_prop()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nic_reg.h | 218 u64 minlen:16; /* Min frame size */ member 220 u64 minlen:16;
|
/linux/net/openvswitch/ |
A D | conntrack.c | 35 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 D | kdb_main.c | 738 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,
|