Home
last modified time | relevance | path

Searched refs:mops (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dmdesc.c71 struct mdesc_mem_ops *mops; member
169 struct mdesc_mem_ops *mops) in mdesc_alloc() argument
171 struct mdesc_handle *hp = mops->alloc(mdesc_size); in mdesc_alloc()
174 hp->mops = mops; in mdesc_alloc()
181 hp->mops->free(hp); in mdesc_free()
210 hp->mops->free(hp); in mdesc_release()
Dldc.c139 const struct ldc_mode_ops *mops; member
1085 const struct ldc_mode_ops *mops; in ldc_alloc() local
1102 mops = &raw_ops; in ldc_alloc()
1107 mops = &nonraw_ops; in ldc_alloc()
1112 mops = &stream_ops; in ldc_alloc()
1147 lp->mops = mops; in ldc_alloc()
1850 err = lp->mops->write(lp, buf, size); in ldc_write()
1874 err = lp->mops->read(lp, buf, size); in ldc_read()