/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_ioctl.c | 51 * maxnum -- maximum number of entries desired 56 unsigned long maxnum, unsigned long offset) in get_fdb_entries() 62 /* Clamp size to PAGE_SIZE, test maxnum to avoid overflow */ in get_fdb_entries() 63 if (maxnum > PAGE_SIZE/sizeof(struct __fdb_entry)) in get_fdb_entries() 64 maxnum = PAGE_SIZE/sizeof(struct __fdb_entry); in get_fdb_entries() 66 size = maxnum * sizeof(struct __fdb_entry); in get_fdb_entries() 72 num = br_fdb_fillbuf(br, buf, maxnum, offset); in get_fdb_entries() 55 get_fdb_entries(struct net_bridge *br, void __user *userbuf, unsigned long maxnum, unsigned long offset) get_fdb_entries() argument
|
H A D | br_fdb.c | 458 unsigned long maxnum, unsigned long skip) in br_fdb_fillbuf() 464 memset(buf, 0, maxnum*sizeof(struct __fdb_entry)); in br_fdb_fillbuf() 468 if (num >= maxnum) in br_fdb_fillbuf() 457 br_fdb_fillbuf(struct net_bridge *br, void *buf, unsigned long maxnum, unsigned long skip) br_fdb_fillbuf() argument
|
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_ioctl.c | 52 * maxnum -- maximum number of entries desired 57 unsigned long maxnum, unsigned long offset) in get_fdb_entries() 63 /* Clamp size to PAGE_SIZE, test maxnum to avoid overflow */ in get_fdb_entries() 64 if (maxnum > PAGE_SIZE/sizeof(struct __fdb_entry)) in get_fdb_entries() 65 maxnum = PAGE_SIZE/sizeof(struct __fdb_entry); in get_fdb_entries() 67 size = maxnum * sizeof(struct __fdb_entry); in get_fdb_entries() 73 num = br_fdb_fillbuf(br, buf, maxnum, offset); in get_fdb_entries() 56 get_fdb_entries(struct net_bridge *br, void __user *userbuf, unsigned long maxnum, unsigned long offset) get_fdb_entries() argument
|
H A D | br_fdb.c | 791 unsigned long maxnum, unsigned long skip) in br_fdb_fillbuf() 797 memset(buf, 0, maxnum*sizeof(struct __fdb_entry)); in br_fdb_fillbuf() 801 if (num >= maxnum) in br_fdb_fillbuf() 790 br_fdb_fillbuf(struct net_bridge *br, void *buf, unsigned long maxnum, unsigned long skip) br_fdb_fillbuf() argument
|
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 509 unsigned int maxnum) in do_layout_fetch_ds_ioerr() 523 if (!maxnum) in do_layout_fetch_ds_ioerr() 526 maxnum--; in do_layout_fetch_ds_ioerr() 536 unsigned int maxnum) in ff_layout_fetch_ds_ioerr() 540 ret = do_layout_fetch_ds_ioerr(lo, range, head, maxnum); in ff_layout_fetch_ds_ioerr() 542 if (ret == maxnum) { in ff_layout_fetch_ds_ioerr() 506 do_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) do_layout_fetch_ds_ioerr() argument 533 ff_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) ff_layout_fetch_ds_ioerr() argument
|
H A D | flexfilelayout.h | 204 unsigned int maxnum);
|
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 511 unsigned int maxnum) in do_layout_fetch_ds_ioerr() 525 if (!maxnum) in do_layout_fetch_ds_ioerr() 528 maxnum--; in do_layout_fetch_ds_ioerr() 538 unsigned int maxnum) in ff_layout_fetch_ds_ioerr() 542 ret = do_layout_fetch_ds_ioerr(lo, range, head, maxnum); in ff_layout_fetch_ds_ioerr() 544 if (ret == maxnum) { in ff_layout_fetch_ds_ioerr() 508 do_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) do_layout_fetch_ds_ioerr() argument 535 ff_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) ff_layout_fetch_ds_ioerr() argument
|
H A D | flexfilelayout.h | 204 unsigned int maxnum);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 1581 uint32_t maxnum; in vmw_cmd_draw() local 1589 maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl); in vmw_cmd_draw() 1591 if (unlikely(cmd->body.numVertexDecls > maxnum)) { in vmw_cmd_draw() 1605 maxnum = (header->size - sizeof(cmd->body) - in vmw_cmd_draw() 1607 if (unlikely(cmd->body.numRanges > maxnum)) { in vmw_cmd_draw()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 1577 uint32_t maxnum; in vmw_cmd_draw() local 1585 maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl); in vmw_cmd_draw() 1587 if (unlikely(cmd->body.numVertexDecls > maxnum)) { in vmw_cmd_draw() 1601 maxnum = (header->size - sizeof(cmd->body) - in vmw_cmd_draw() 1603 if (unlikely(cmd->body.numRanges > maxnum)) { in vmw_cmd_draw()
|