/openbmc/linux/drivers/mtd/ |
H A D | mtdoops.c | 250 u32 maxcount = 0xffffffff; in find_next_position() local 273 if (maxcount == 0xffffffff) { in find_next_position() 274 maxcount = hdr.seq; in find_next_position() 276 } else if (hdr.seq < 0x40000000 && maxcount > 0xc0000000) { in find_next_position() 277 maxcount = hdr.seq; in find_next_position() 279 } else if (hdr.seq > maxcount && hdr.seq < 0xc0000000) { in find_next_position() 280 maxcount = hdr.seq; in find_next_position() 282 } else if (hdr.seq > maxcount && hdr.seq > 0xc0000000 in find_next_position() 283 && maxcount > 0x80000000) { in find_next_position() 284 maxcount = hdr.seq; in find_next_position() [all …]
|
/openbmc/qemu/hw/hyperv/ |
H A D | hv-balloon-page_range_tree.c | 137 uint64_t maxcount) in hvb_page_range_tree_pop() argument 153 if (range->count > maxcount) { in hvb_page_range_tree_pop() 154 out->start += range->count - maxcount; in hvb_page_range_tree_pop() 155 out->count = maxcount; in hvb_page_range_tree_pop() 156 range->count -= maxcount; in hvb_page_range_tree_pop()
|
H A D | hv-balloon-page_range_tree.h | 111 uint64_t maxcount);
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4xdr.c | 2208 u32 maxcount; in nfsd4_decode_getxattr() local 2215 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_getxattr() 2216 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr() 2218 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr() 2227 u32 flags, maxcount, size; in nfsd4_decode_setxattr() local 2243 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_setxattr() 2244 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr() 2248 if (size > maxcount) in nfsd4_decode_setxattr() 2269 u32 maxcount; in nfsd4_decode_listxattrs() local 2284 if (xdr_stream_decode_u32(argp->xdr, &maxcount) < 0) in nfsd4_decode_listxattrs() [all …]
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 380 int maxcount) in fdtdec_find_aliases_for_id() argument 382 memset(node_list, '\0', sizeof(*node_list) * maxcount); in fdtdec_find_aliases_for_id() 384 return fdtdec_add_aliases_for_id(blob, name, id, node_list, maxcount); in fdtdec_find_aliases_for_id() 390 int maxcount) in fdtdec_add_aliases_for_id() argument 393 int nodes[maxcount]; in fdtdec_add_aliases_for_id() 410 for (node = count = 0; node >= 0 && count < maxcount;) { in fdtdec_add_aliases_for_id() 438 if (number < 0 || number >= maxcount) { in fdtdec_add_aliases_for_id() 482 for (i = j = 0; i < maxcount; i++) { in fdtdec_add_aliases_for_id() 484 for (; j < maxcount; j++) in fdtdec_add_aliases_for_id() 490 if (j == maxcount) in fdtdec_add_aliases_for_id()
|
/openbmc/u-boot/include/ |
H A D | fdtdec.h | 578 enum fdt_compat_id id, int *node_list, int maxcount); 601 enum fdt_compat_id id, int *node_list, int maxcount);
|
/openbmc/linux/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 347 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()
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 191 unsigned int maxcount; in saa7134_buffer_count() local 193 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count() 194 if (count > maxcount) in saa7134_buffer_count() 195 count = maxcount; in saa7134_buffer_count()
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs_dev.c | 140 pdev->maxcount = max_resp_sz - nfs41_maxgetdevinfo_overhead; in nfs4_get_device_info()
|
H A D | pnfs.h | 223 unsigned int maxcount; /* gdia_maxcount */ member
|
H A D | nfs3xdr.c | 1265 uint32_t maxcount = args->count; in encode_readdirplus3args() local 1279 *p = cpu_to_be32(maxcount); in encode_readdirplus3args()
|
H A D | nfs4xdr.c | 1609 uint32_t maxcount = readdir->count; in encode_readdir() local 1637 *p++ = cpu_to_be32(maxcount); in encode_readdir() 1987 *p++ = cpu_to_be32(args->pdev->maxcount); /* gdia_maxcount */ in encode_getdeviceinfo() 2010 encode_uint32(xdr, args->maxcount); in encode_layoutget() 2018 args->maxcount); in encode_layoutget()
|
H A D | pnfs.c | 1130 lgp->args.maxcount = PNFS_LAYOUT_MAXSIZE; in pnfs_alloc_init_layoutget_args()
|
/openbmc/linux/drivers/net/ethernet/sis/ |
H A D | sis900.c | 1248 int i, maxcount=10; in sis630_set_eq() local 1258 for (i=0; i < maxcount; i++) { in sis630_set_eq()
|
/openbmc/linux/include/linux/ |
H A D | nfs_xdr.h | 259 __u32 maxcount; member
|