#ifndef IOOPS_H #define IOOPS_H #include extern int open_or_die(const char *file, int flags); extern int open_or_die_m(const char *file, int flags, mode_t mode); extern int dup_or_die(int oldfd); extern void dup2_or_die(int oldfd, int newfd); extern void create_or_die(const char *file, mode_t mode); extern int tun_open_or_die(const char *name, int type); extern void pipe_or_die(int pipefd[2], int flags); extern ssize_t read_or_die(int fd, void *buf, size_t count); extern ssize_t write_or_die(int fd, const void *buf, size_t count); extern int read_blob_or_die(const char *file, void *blob, size_t count); extern int write_blob_or_die(const char *file, const void *blob, size_t count); #endif /* IOOPS_H */ lass='logo' rowspan='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2016-11-23 19:40:59 +0000
committerDoug Ledford <dledford@redhat.com>2016-12-03 14:20:42 -0500
commit9eefa953f475897636f9290d833e45009d58a55d (patch)
tree2ec4bee56db7964b5e9bfda351781e596ca9555f /Documentation/devicetree
parente37a79e5d4cac3831fac3d4afbf2461f56b4b7bd (diff)
IB/hns: Add the interface for querying QP1
In old code, It only added the interface for querying non-specific QP. This patch mainly adds an interface for querying QP1. Signed-off-by: Lijun Ou <oulijun@huawei.com> Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation/devicetree')