Home
last modified time | relevance | path

Searched refs:maxcount (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
Dmtdoops.c220 u32 count[2], maxcount = 0xffffffff; in find_next_position() local
242 if (maxcount == 0xffffffff) { in find_next_position()
243 maxcount = count[0]; in find_next_position()
245 } else if (count[0] < 0x40000000 && maxcount > 0xc0000000) { in find_next_position()
246 maxcount = count[0]; in find_next_position()
248 } else if (count[0] > maxcount && count[0] < 0xc0000000) { in find_next_position()
249 maxcount = count[0]; in find_next_position()
251 } else if (count[0] > maxcount && count[0] > 0xc0000000 in find_next_position()
252 && maxcount > 0x80000000) { in find_next_position()
253 maxcount = count[0]; in find_next_position()
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4xdr.c1993 u32 maxcount; in nfsd4_decode_getxattr() local
1999 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_getxattr()
2000 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr()
2002 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr()
2012 u32 flags, maxcount, size; in nfsd4_decode_setxattr() local
2027 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_setxattr()
2028 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr()
2032 if (size > maxcount) in nfsd4_decode_setxattr()
2053 u32 maxcount; in nfsd4_decode_listxattrs() local
2066 maxcount = be32_to_cpup(p++); in nfsd4_decode_listxattrs()
[all …]
Dnfs4proc.c2577 u32 maxcount = 0, rlen = 0; in nfsd4_read_rsize() local
2579 maxcount = svc_max_payload(rqstp); in nfsd4_read_rsize()
2580 rlen = min(op->u.read.rd_length, maxcount); in nfsd4_read_rsize()
2587 u32 maxcount = svc_max_payload(rqstp); in nfsd4_read_plus_rsize() local
2588 u32 rlen = min(op->u.read.rd_length, maxcount); in nfsd4_read_plus_rsize()
2601 u32 maxcount = 0, rlen = 0; in nfsd4_readdir_rsize() local
2603 maxcount = svc_max_payload(rqstp); in nfsd4_readdir_rsize()
2604 rlen = min(op->u.readdir.rd_maxcount, maxcount); in nfsd4_readdir_rsize()
2730 u32 maxcount = 0, rlen = 0; in nfsd4_getdeviceinfo_rsize() local
2732 maxcount = svc_max_payload(rqstp); in nfsd4_getdeviceinfo_rsize()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw68/
Dtw68-video.c347 unsigned int maxcount; in tw68_buffer_count() local
349 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count()
350 if (count > maxcount) in tw68_buffer_count()
351 count = maxcount; in tw68_buffer_count()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-core.c195 unsigned int maxcount; in saa7134_buffer_count() local
197 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count()
198 if (count > maxcount) in saa7134_buffer_count()
199 count = maxcount; in saa7134_buffer_count()
/kernel/linux/linux-5.10/fs/nfs/
Dpnfs_dev.c138 pdev->maxcount = max_resp_sz - nfs41_maxgetdevinfo_overhead; in nfs4_get_device_info()
Dpnfs.h223 unsigned int maxcount; /* gdia_maxcount */ member
Dnfs4xdr.c1959 *p++ = cpu_to_be32(args->pdev->maxcount); /* gdia_maxcount */ in encode_getdeviceinfo()
1982 encode_uint32(xdr, args->maxcount); in encode_layoutget()
1990 args->maxcount); in encode_layoutget()
Dpnfs.c1131 lgp->args.maxcount = PNFS_LAYOUT_MAXSIZE; in pnfs_alloc_init_layoutget_args()
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis900.c1241 int i, maxcount=10; in sis630_set_eq() local
1251 for (i=0; i < maxcount; i++) { in sis630_set_eq()
/kernel/linux/linux-5.10/include/linux/
Dnfs_xdr.h257 __u32 maxcount; member