Home
last modified time | relevance | path

Searched refs:cd (Results 1 – 10 of 10) sorted by relevance

/net/sunrpc/
Dcache.c214 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall() argument
216 if (cd->cache_upcall) in cache_make_upcall()
217 return cd->cache_upcall(cd, h); in cache_make_upcall()
218 return sunrpc_cache_pipe_upcall(cd, h); in cache_make_upcall()
363 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail() argument
365 spin_lock_init(&cd->hash_lock); in sunrpc_init_cache_detail()
366 INIT_LIST_HEAD(&cd->queue); in sunrpc_init_cache_detail()
368 cd->nextcheck = 0; in sunrpc_init_cache_detail()
369 cd->entries = 0; in sunrpc_init_cache_detail()
370 atomic_set(&cd->writers, 0); in sunrpc_init_cache_detail()
[all …]
Dsvcauth_unix.c151 static void ip_map_request(struct cache_detail *cd, in ip_map_request() argument
168 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr);
169 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, t…
171 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse() argument
204 if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) in ip_map_parse()
238 ipmp = __ip_map_lookup(cd, class, &sin6.sin6_addr); in ip_map_parse()
240 err = __ip_map_update(cd, ipmp, in ip_map_parse()
254 struct cache_detail *cd, in ip_map_show() argument
283 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, in __ip_map_lookup() argument
291 ch = sunrpc_cache_lookup_rcu(cd, &ip.h, in __ip_map_lookup()
[all …]
Drpc_pipe.c1109 umode_t umode, struct cache_detail *cd) in rpc_create_cache_dir() argument
1112 rpc_cachedir_populate, cd); in rpc_create_cache_dir()
/net/sunrpc/auth_gss/
Dsvcauth_gss.c83 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
84 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
184 static void rsi_request(struct cache_detail *cd, in rsi_request() argument
195 static int rsi_parse(struct cache_detail *cd, in rsi_parse() argument
224 rsip = rsi_lookup(cd, &rsii); in rsi_parse()
266 rsip = rsi_update(cd, &rsii, rsip); in rsi_parse()
271 cache_put(&rsip->h, cd); in rsi_parse()
290 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) in rsi_lookup() argument
295 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); in rsi_lookup()
302 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old) in rsi_update() argument
[all …]
/net/bluetooth/bnep/
Dsock.c56 struct bnep_conndel_req cd; in do_bnep_sock_ioctl() local
95 if (copy_from_user(&cd, argp, sizeof(cd))) in do_bnep_sock_ioctl()
98 return bnep_del_connection(&cd); in do_bnep_sock_ioctl()
/net/bluetooth/cmtp/
Dsock.c69 struct cmtp_conndel_req cd; in do_cmtp_sock_ioctl() local
107 if (copy_from_user(&cd, argp, sizeof(cd))) in do_cmtp_sock_ioctl()
110 return cmtp_del_connection(&cd); in do_cmtp_sock_ioctl()
/net/bluetooth/hidp/
Dsock.c52 struct hidp_conndel_req cd; in do_hidp_sock_ioctl() local
93 if (copy_from_user(&cd, argp, sizeof(cd))) in do_hidp_sock_ioctl()
96 return hidp_connection_del(&cd); in do_hidp_sock_ioctl()
/net/dsa/
Ddsa2.c776 struct dsa_chip_data *cd) in dsa_switch_parse_ports() argument
786 name = cd->port_names[i]; in dsa_switch_parse_ports()
787 dev = cd->netdev[i]; in dsa_switch_parse_ports()
806 static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) in dsa_switch_parse() argument
808 ds->cd = cd; in dsa_switch_parse()
818 return dsa_switch_parse_ports(ds, cd); in dsa_switch_parse()
Dslave.c606 if (ds->cd && ds->cd->eeprom_len) in dsa_slave_get_eeprom_len()
607 return ds->cd->eeprom_len; in dsa_slave_get_eeprom_len()
/net/bridge/
Dbr_sysfs_br.c22 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd))) argument