summaryrefslogtreecommitdiff
path: root/dev.h
blob: cebcee4877d5556f90ff4b541062e0d43fa7852e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef DEV_H
#define DEV_H

#include <sys/socket.h>
#include "built_in.h"

extern int device_mtu(const char *ifname);
extern int device_address(const char *ifname, int af, struct sockaddr_storage *ss);
extern int device_ifindex(const char *ifname);
extern short device_get_flags(const char *ifname);
extern void device_set_flags(const char *ifname, const short flags);
extern int device_up_and_running(char *ifname);
extern u32 device_bitrate(const char *ifname);

#endif /* DEV_H */
t type='submit' value='reload'/>
authorJungseung Lee <js07.lee@samsung.com>2016-12-12 16:46:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-12 18:55:10 -0800
commit39a0e975c37dee93fa1b8ea5f7eacd1c4c8a586e (patch)
tree34df14285ce89f83a93f6053a897bcd371dc1e15 /fs/ubifs/Kconfig
parent30f74aa0854c2d5a331b507b14fe421ba4980511 (diff)
init: reduce rootwait polling interval time to 5ms
For several devices, the rootwait time is sensitive because it directly affects booting time. The polling interval of rootwait is currently 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. [akpm@linux-foundation.org: remove used-once #define] Link: http://lkml.kernel.org/r/20161207060743.1728-1-js07.lee@samsung.com Signed-off-by: Jungseung Lee <js07.lee@samsung.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ubifs/Kconfig')