Lines Matching defs:cmapp

199 static void	sparse_cluster_push(void **cmapp, vnode_t vp, off_t EOF, int push_flag, int io_flags, int (*)(buf_t, void *), void *callback_arg);
200 static void sparse_cluster_add(void **cmapp, vnode_t vp, struct cl_extent *, off_t EOF, int (*)(buf_t, void *), void *callback_arg);
202 static kern_return_t vfs_drt_mark_pages(void **cmapp, off_t offset, u_int length, u_int *setcountp);
203 static kern_return_t vfs_drt_get_cluster(void **cmapp, off_t *offsetp, u_int *lengthp);
204 static kern_return_t vfs_drt_control(void **cmapp, int op_type);
6029 static kern_return_t vfs_drt_alloc_map(struct vfs_drt_clustermap **cmapp);
6033 static kern_return_t vfs_drt_get_index(struct vfs_drt_clustermap **cmapp,
6038 void **cmapp,
6061 vfs_drt_alloc_map(struct vfs_drt_clustermap **cmapp)
6070 if (cmapp != NULL)
6071 ocmap = *cmapp;
6162 * It's important to ensure that *cmapp always points to
6166 *cmapp = cmap;
6240 vfs_drt_get_index(struct vfs_drt_clustermap **cmapp, u_int64_t offset, int *indexp, int recursed)
6247 cmap = *cmapp;
6282 kret = vfs_drt_alloc_map(cmapp);
6285 kret = vfs_drt_get_index(cmapp, offset, indexp, 1);
6303 struct vfs_drt_clustermap *cmap, **cmapp;
6307 cmapp = (struct vfs_drt_clustermap **)private;
6308 cmap = *cmapp;
6322 kret = vfs_drt_alloc_map(cmapp);
6340 kret = vfs_drt_get_index(cmapp, offset, &index, 0);
6341 cmap = *cmapp; /* may have changed! */
6395 * cmapp
6415 vfs_drt_mark_pages(void **cmapp, off_t offset, u_int length, u_int *setcountp)
6418 return(vfs_drt_do_mark_pages(cmapp, offset, length, setcountp, 1));
6423 vfs_drt_unmark_pages(void **cmapp, off_t offset, u_int length)
6425 return(vfs_drt_do_mark_pages(cmapp, offset, length, NULL, 0));
6434 * cmapp
6450 vfs_drt_get_cluster(void **cmapp, off_t *offsetp, u_int *lengthp)
6459 if ((cmapp == NULL) || (*cmapp == NULL))
6461 cmap = *cmapp;
6491 vfs_drt_do_mark_pages(cmapp, offset, length, NULL, 0);
6513 *cmapp = NULL;
6520 vfs_drt_control(void **cmapp, int op_type)
6525 if ((cmapp == NULL) || (*cmapp == NULL))
6527 cmap = *cmapp;
6539 *cmapp = NULL;