Lines Matching defs:arg
142 static int checkdirs_callback(proc_t p, void * arg);
147 static int getfsstat_callback(mount_t mp, void * arg);
1547 checkdirs_callback(proc_t p, void * arg)
1549 struct cdirargs * cdrp = (struct cdirargs * )arg;
2024 sync_callback(mount_t mp, void * arg)
2031 VFS_SYNC(mp, arg ? MNT_WAIT : MNT_NOWAIT, vfs_context_current());
2116 /* uap->arg specifies a file from which to take the quotas */
2119 error = copyinstr(uap->arg, datap, MAXPATHLEN, &fnamelen);
2122 /* uap->arg is a pointer to a dqblk structure. */
2127 /* uap->arg is a pointer to a dqblk structure. */
2131 error = copyin(uap->arg, (caddr_t)&my_dqblk64, sizeof (my_dqblk64));
2137 error = copyin(uap->arg, (caddr_t)&my_dqblk, sizeof (my_dqblk));
2141 /* uap->arg is a pointer to an integer */
2159 /* uap->arg is a pointer to a dqblk structure we need to copy out to */
2164 error = copyout((caddr_t)&my_dqblk64, uap->arg, sizeof (my_dqblk64));
2167 error = copyout(datap, uap->arg, sizeof (struct dqblk));
2172 /* uap->arg is a pointer to an integer */
2174 error = copyout(datap, uap->arg, sizeof(quota_status));
2396 getfsstat_callback(mount_t mp, void * arg)
2399 struct getfsstat_struct *fstp = (struct getfsstat_struct *)arg;
2563 getfsstat64_callback(mount_t mp, void * arg)
2565 struct getfsstat_struct *fstp = (struct getfsstat_struct *)arg;
7687 void *arg;
7870 resolve_nspace_item_ext(struct vnode *vp, uint64_t op, void *arg)
7949 nspace_items[i].arg = arg;
7955 if (arg) {
7997 nspace_items[i].arg = NULL;
8223 uio_t uio = (uio_t)nspace_items[i].arg;
8405 int arg = *(uint32_t*)data;
8422 (void)sync_callback(mp, (arg & FSCTL_SYNC_WAIT) ? &arg : NULL);
8430 if (arg & FSCTL_SYNC_FULLSYNC) {
8560 nspace_items[i].arg = NULL;
8606 nspace_items[i].arg = NULL;