• Home
  • Raw
  • Download

Lines Matching refs:new_op

166 	struct orangefs_kernel_op_s *new_op = NULL;  in orangefs_statfs()  local
178 new_op = op_alloc(ORANGEFS_VFS_OP_STATFS); in orangefs_statfs()
179 if (!new_op) in orangefs_statfs()
181 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
186 ret = service_operation(new_op, "orangefs_statfs", flags); in orangefs_statfs()
188 if (new_op->downcall.status < 0) in orangefs_statfs()
196 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs()
197 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs()
198 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs()
199 (long)new_op->downcall.resp.statfs.files_total, in orangefs_statfs()
200 (long)new_op->downcall.resp.statfs.files_avail); in orangefs_statfs()
204 buf->f_bsize = new_op->downcall.resp.statfs.block_size; in orangefs_statfs()
207 buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; in orangefs_statfs()
208 buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
209 buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
210 buf->f_files = (sector_t) new_op->downcall.resp.statfs.files_total; in orangefs_statfs()
211 buf->f_ffree = (sector_t) new_op->downcall.resp.statfs.files_avail; in orangefs_statfs()
215 op_release(new_op); in orangefs_statfs()
247 struct orangefs_kernel_op_s *new_op; in orangefs_remount() local
252 new_op = op_alloc(ORANGEFS_VFS_OP_FS_MOUNT); in orangefs_remount()
253 if (!new_op) in orangefs_remount()
255 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount()
261 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount()
268 ret = service_operation(new_op, "orangefs_remount", in orangefs_remount()
279 orangefs_sb->id = new_op->downcall.resp.fs_mount.id; in orangefs_remount()
283 op_release(new_op); in orangefs_remount()
286 new_op = op_alloc(ORANGEFS_VFS_OP_FEATURES); in orangefs_remount()
287 if (!new_op) in orangefs_remount()
289 new_op->upcall.req.features.features = 0; in orangefs_remount()
290 ret = service_operation(new_op, "orangefs_features", in orangefs_remount()
294 new_op->downcall.resp.features.features; in orangefs_remount()
297 op_release(new_op); in orangefs_remount()
480 struct orangefs_kernel_op_s *new_op; in orangefs_mount() local
492 new_op = op_alloc(ORANGEFS_VFS_OP_FS_MOUNT); in orangefs_mount()
493 if (!new_op) in orangefs_mount()
496 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount()
502 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount()
504 ret = service_operation(new_op, "orangefs_mount", 0); in orangefs_mount()
510 if (new_op->downcall.resp.fs_mount.fs_id == ORANGEFS_FS_ID_NULL) { in orangefs_mount()
520 orangefs_unmount(new_op->downcall.resp.fs_mount.id, in orangefs_mount()
521 new_op->downcall.resp.fs_mount.fs_id, devname); in orangefs_mount()
533 &new_op->downcall.resp.fs_mount, data, in orangefs_mount()
562 op_release(new_op); in orangefs_mount()
568 new_op = op_alloc(ORANGEFS_VFS_OP_FEATURES); in orangefs_mount()
569 if (!new_op) in orangefs_mount()
571 new_op->upcall.req.features.features = 0; in orangefs_mount()
572 ret = service_operation(new_op, "orangefs_features", 0); in orangefs_mount()
573 orangefs_features = new_op->downcall.resp.features.features; in orangefs_mount()
574 op_release(new_op); in orangefs_mount()
593 op_release(new_op); in orangefs_mount()