Home
last modified time | relevance | path

Searched refs:maxnum (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/net/bridge/
Dbr_ioctl.c56 unsigned long maxnum, unsigned long offset) in get_fdb_entries() argument
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()
Dbr_fdb.c440 unsigned long maxnum, unsigned long skip) in br_fdb_fillbuf() argument
446 memset(buf, 0, maxnum*sizeof(struct __fdb_entry)); in br_fdb_fillbuf()
450 if (num >= maxnum) in br_fdb_fillbuf()
/Linux-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c509 unsigned int maxnum) in do_layout_fetch_ds_ioerr() argument
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() argument
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()
Dflexfilelayout.h204 unsigned int maxnum);
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c1577 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()