Home
last modified time | relevance | path

Searched refs:rdcp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c45 static void build_dir_entry_list(struct autofs_rddir_cache *rdcp,
50 static int autofs_rddir_cache_delete(struct autofs_rddir_cache *rdcp);
51 static int create_dirents(struct autofs_rddir_cache *rdcp, ulong_t offset,
66 struct autofs_rddir_cache *rdcp = NULL; in do_readdir() local
83 error = autofs_rddir_cache_lookup(rda->rda_map, &rdcp); in do_readdir()
87 error = autofs_rddir_cache_lookup(rda->rda_map, &rdcp); in do_readdir()
96 OFFSET_BUCKET_SIZE, &rdcp); in do_readdir()
104 assert(rdcp != NULL); in do_readdir()
105 assert(rdcp->in_use); in do_readdir()
107 if (!rdcp->full) { in do_readdir()
[all …]
H A Dautod_lookup.c54 struct autofs_rddir_cache *rdcp; in do_lookup1() local
70 err = autofs_rddir_cache_lookup(mapname, &rdcp); in do_lookup1()
71 if (!err && rdcp->full) { in do_lookup1()
80 if (rw_tryrdlock(&rdcp->rwlock) == 0) { in do_lookup1()
81 found = (rddir_entry_lookup(key, rdcp->entp) != NULL); in do_lookup1()
82 rw_unlock(&rdcp->rwlock); in do_lookup1()
91 mutex_lock(&rdcp->lock); in do_lookup1()
92 rdcp->in_use--; in do_lookup1()
93 assert(rdcp->in_use >= 0); in do_lookup1()
94 mutex_unlock(&rdcp->lock); in do_lookup1()
/illumos-gate/usr/src/uts/common/sys/
H A Dsunndi.h389 ndi_dc_allochdl(void *iocarg, struct devctl_iocdata **rdcp);
/illumos-gate/usr/src/uts/common/os/
H A Dsunndi.c312 ndi_dc_allochdl(void *iocarg, struct devctl_iocdata **rdcp) in ndi_dc_allochdl() argument
317 ASSERT(rdcp != NULL); in ndi_dc_allochdl()
409 *rdcp = dcp; in ndi_dc_allochdl()