Searched defs:maxnum (Results 1 - 2 of 2) sorted by relevance

/net/bridge/
H A Dbr_ioctl.c54 * maxnum -- maximum number of entries desired
59 unsigned long maxnum, unsigned long offset)
65 /* Clamp size to PAGE_SIZE, test maxnum to avoid overflow */
66 if (maxnum > PAGE_SIZE/sizeof(struct __fdb_entry))
67 maxnum = PAGE_SIZE/sizeof(struct __fdb_entry);
69 size = maxnum * sizeof(struct __fdb_entry);
75 num = br_fdb_fillbuf(br, buf, maxnum, offset);
58 get_fdb_entries(struct net_bridge *br, void __user *userbuf, unsigned long maxnum, unsigned long offset) argument
H A Dbr_fdb.c394 unsigned long maxnum, unsigned long skip)
400 memset(buf, 0, maxnum*sizeof(struct __fdb_entry));
405 if (num >= maxnum)
393 br_fdb_fillbuf(struct net_bridge *br, void *buf, unsigned long maxnum, unsigned long skip) argument

Completed in 57 milliseconds