1RPC_FIND_OR_ALLOC_PI(9) Linux Networking RPC_FIND_OR_ALLOC_PI(9)
2
3
4
6 rpc_find_or_alloc_pipe_dir_object -
7
9 struct rpc_pipe_dir_object *
10 rpc_find_or_alloc_pipe_dir_object(struct net * net,
11 struct rpc_pipe_dir_head * pdh,
12 int (*match) (struct rpc_pipe_dir_object *, void *),
13 struct rpc_pipe_dir_object *(*alloc) (void *),
14 void * data);
15
17 net
18 pointer to struct net
19
20 pdh
21 pointer to struct rpc_pipe_dir_head
22
23 match
24 match struct rpc_pipe_dir_object to data
25
26 alloc
27 allocate a new struct rpc_pipe_dir_object
28
29 data
30 user defined data for match and alloc
31
33Kernel Hackers Manual 3.10 June 2019 RPC_FIND_OR_ALLOC_PI(9)