new_op 95 drivers/acpi/acpica/acparser.h u8 *aml_op_start, union acpi_parse_object **new_op); new_op 299 drivers/acpi/acpica/psobject.c u8 *aml_op_start, union acpi_parse_object **new_op) new_op 355 drivers/acpi/acpica/psobject.c *new_op = named_op; new_op 410 drivers/acpi/acpica/psobject.c walk_state->op = *new_op = op; new_op 1258 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 op, new_op; new_op 1269 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c new_op = (op == QLCNIC_MAC_ADD || op == QLCNIC_MAC_VLAN_ADD) ? new_op 1272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c cmd->req.arg[1] |= new_op; new_op 22 fs/orangefs/dcache.c struct orangefs_kernel_op_s *new_op; new_op 28 fs/orangefs/dcache.c new_op = op_alloc(ORANGEFS_VFS_OP_LOOKUP); new_op 29 fs/orangefs/dcache.c if (!new_op) new_op 32 fs/orangefs/dcache.c new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; new_op 33 fs/orangefs/dcache.c new_op->upcall.req.lookup.parent_refn = parent->refn; new_op 34 fs/orangefs/dcache.c strncpy(new_op->upcall.req.lookup.d_name, new_op 45 fs/orangefs/dcache.c err = service_operation(new_op, "orangefs_lookup", new_op 56 fs/orangefs/dcache.c if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, new_op 69 fs/orangefs/dcache.c if (new_op->downcall.status != 0) new_op 80 fs/orangefs/dcache.c op_release(new_op); new_op 22 fs/orangefs/file.c struct orangefs_kernel_op_s *new_op; new_op 30 fs/orangefs/file.c new_op = op_alloc(ORANGEFS_VFS_OP_RA_FLUSH); new_op 31 fs/orangefs/file.c if (!new_op) new_op 33 fs/orangefs/file.c new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; new_op 35 fs/orangefs/file.c ret = service_operation(new_op, "orangefs_flush_racache", new_op 41 fs/orangefs/file.c op_release(new_op); new_op 54 fs/orangefs/file.c struct orangefs_kernel_op_s *new_op = NULL; new_op 59 fs/orangefs/file.c new_op = op_alloc(ORANGEFS_VFS_OP_FILE_IO); new_op 60 fs/orangefs/file.c if (!new_op) new_op 64 fs/orangefs/file.c new_op->upcall.req.io.readahead_size = readahead_size; new_op 65 fs/orangefs/file.c new_op->upcall.req.io.io_type = type; new_op 66 fs/orangefs/file.c new_op->upcall.req.io.refn = orangefs_inode->refn; new_op 82 fs/orangefs/file.c new_op, new_op 85 fs/orangefs/file.c new_op->uses_shared_memory = 1; new_op 86 fs/orangefs/file.c new_op->upcall.req.io.buf_index = buffer_index; new_op 87 fs/orangefs/file.c new_op->upcall.req.io.count = total_size; new_op 88 fs/orangefs/file.c new_op->upcall.req.io.offset = *offset; new_op 90 fs/orangefs/file.c new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); new_op 91 fs/orangefs/file.c new_op->upcall.gid = from_kgid(&init_user_ns, wr->gid); new_op 117 fs/orangefs/file.c llu(new_op->tag)); new_op 120 fs/orangefs/file.c ret = service_operation(new_op, new_op 135 fs/orangefs/file.c if (ret == -EAGAIN && op_state_purged(new_op)) { new_op 158 fs/orangefs/file.c switch (new_op->op_state - OP_VFS_STATE_GIVEN_UP) { new_op 184 fs/orangefs/file.c new_op->op_state); new_op 191 fs/orangefs/file.c new_op->op_state, new_op 192 fs/orangefs/file.c new_op); new_op 200 fs/orangefs/file.c if (orangefs_cancel_op_in_progress(new_op)) new_op 209 fs/orangefs/file.c if (type == ORANGEFS_IO_READ && new_op->downcall.resp.io.amt_complete) { new_op 227 fs/orangefs/file.c min(new_op->downcall.resp.io.amt_complete, new_op 230 fs/orangefs/file.c copy_amount = new_op->downcall.resp.io.amt_complete; new_op 245 fs/orangefs/file.c (int)new_op->downcall.resp.io.amt_complete); new_op 247 fs/orangefs/file.c ret = new_op->downcall.resp.io.amt_complete; new_op 265 fs/orangefs/file.c op_release(new_op); new_op 530 fs/orangefs/file.c struct orangefs_kernel_op_s *new_op = NULL; new_op 537 fs/orangefs/file.c new_op = op_alloc(ORANGEFS_VFS_OP_FSYNC); new_op 538 fs/orangefs/file.c if (!new_op) new_op 540 fs/orangefs/file.c new_op->upcall.req.fsync.refn = orangefs_inode->refn; new_op 542 fs/orangefs/file.c ret = service_operation(new_op, new_op 550 fs/orangefs/file.c op_release(new_op); new_op 798 fs/orangefs/inode.c struct orangefs_kernel_op_s *new_op; new_op 827 fs/orangefs/inode.c new_op = op_alloc(ORANGEFS_VFS_OP_TRUNCATE); new_op 828 fs/orangefs/inode.c if (!new_op) new_op 831 fs/orangefs/inode.c new_op->upcall.req.truncate.refn = orangefs_inode->refn; new_op 832 fs/orangefs/inode.c new_op->upcall.req.truncate.size = (__s64) iattr->ia_size; new_op 834 fs/orangefs/inode.c ret = service_operation(new_op, new_op 844 fs/orangefs/inode.c op_release(new_op); new_op 24 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 34 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_CREATE); new_op 35 fs/orangefs/namei.c if (!new_op) new_op 38 fs/orangefs/namei.c new_op->upcall.req.create.parent_refn = parent->refn; new_op 40 fs/orangefs/namei.c fill_default_sys_attrs(new_op->upcall.req.create.attributes, new_op 43 fs/orangefs/namei.c strncpy(new_op->upcall.req.create.d_name, new_op 46 fs/orangefs/namei.c ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); new_op 52 fs/orangefs/namei.c &new_op->downcall.resp.create.refn.khandle, new_op 53 fs/orangefs/namei.c new_op->downcall.resp.create.refn.fs_id, new_op 54 fs/orangefs/namei.c new_op, new_op 60 fs/orangefs/namei.c ref = new_op->downcall.resp.create.refn; new_op 91 fs/orangefs/namei.c op_release(new_op); new_op 108 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 126 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_LOOKUP); new_op 127 fs/orangefs/namei.c if (!new_op) new_op 130 fs/orangefs/namei.c new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; new_op 137 fs/orangefs/namei.c new_op->upcall.req.lookup.parent_refn = parent->refn; new_op 139 fs/orangefs/namei.c strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, new_op 145 fs/orangefs/namei.c new_op->upcall.req.lookup.d_name, new_op 146 fs/orangefs/namei.c &new_op->upcall.req.lookup.parent_refn.khandle, new_op 147 fs/orangefs/namei.c new_op->upcall.req.lookup.parent_refn.fs_id); new_op 149 fs/orangefs/namei.c ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); new_op 153 fs/orangefs/namei.c &new_op->downcall.resp.lookup.refn.khandle, new_op 154 fs/orangefs/namei.c new_op->downcall.resp.lookup.refn.fs_id, new_op 159 fs/orangefs/namei.c inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); new_op 167 fs/orangefs/namei.c op_release(new_op); new_op 176 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 189 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_REMOVE); new_op 190 fs/orangefs/namei.c if (!new_op) new_op 193 fs/orangefs/namei.c new_op->upcall.req.remove.parent_refn = parent->refn; new_op 194 fs/orangefs/namei.c strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, new_op 197 fs/orangefs/namei.c ret = service_operation(new_op, "orangefs_unlink", new_op 205 fs/orangefs/namei.c op_release(new_op); new_op 223 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 238 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_SYMLINK); new_op 239 fs/orangefs/namei.c if (!new_op) new_op 242 fs/orangefs/namei.c new_op->upcall.req.sym.parent_refn = parent->refn; new_op 244 fs/orangefs/namei.c fill_default_sys_attrs(new_op->upcall.req.sym.attributes, new_op 248 fs/orangefs/namei.c strncpy(new_op->upcall.req.sym.entry_name, new_op 251 fs/orangefs/namei.c strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); new_op 253 fs/orangefs/namei.c ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); new_op 257 fs/orangefs/namei.c &new_op->downcall.resp.sym.refn.khandle, new_op 258 fs/orangefs/namei.c new_op->downcall.resp.sym.refn.fs_id, ret); new_op 267 fs/orangefs/namei.c ref = new_op->downcall.resp.sym.refn; new_op 302 fs/orangefs/namei.c op_release(new_op); new_op 309 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 315 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_MKDIR); new_op 316 fs/orangefs/namei.c if (!new_op) new_op 319 fs/orangefs/namei.c new_op->upcall.req.mkdir.parent_refn = parent->refn; new_op 321 fs/orangefs/namei.c fill_default_sys_attrs(new_op->upcall.req.mkdir.attributes, new_op 324 fs/orangefs/namei.c strncpy(new_op->upcall.req.mkdir.d_name, new_op 327 fs/orangefs/namei.c ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); new_op 331 fs/orangefs/namei.c &new_op->downcall.resp.mkdir.refn.khandle, new_op 332 fs/orangefs/namei.c new_op->downcall.resp.mkdir.refn.fs_id); new_op 341 fs/orangefs/namei.c ref = new_op->downcall.resp.mkdir.refn; new_op 371 fs/orangefs/namei.c op_release(new_op); new_op 381 fs/orangefs/namei.c struct orangefs_kernel_op_s *new_op; new_op 397 fs/orangefs/namei.c new_op = op_alloc(ORANGEFS_VFS_OP_RENAME); new_op 398 fs/orangefs/namei.c if (!new_op) new_op 401 fs/orangefs/namei.c new_op->upcall.req.rename.old_parent_refn = ORANGEFS_I(old_dir)->refn; new_op 402 fs/orangefs/namei.c new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; new_op 404 fs/orangefs/namei.c strncpy(new_op->upcall.req.rename.d_old_name, new_op 407 fs/orangefs/namei.c strncpy(new_op->upcall.req.rename.d_new_name, new_op 411 fs/orangefs/namei.c ret = service_operation(new_op, new_op 422 fs/orangefs/namei.c op_release(new_op); new_op 46 fs/orangefs/orangefs-cache.c char *get_opname_string(struct orangefs_kernel_op_s *new_op) new_op 48 fs/orangefs/orangefs-cache.c if (new_op) { new_op 49 fs/orangefs/orangefs-cache.c __s32 type = new_op->upcall.type; new_op 118 fs/orangefs/orangefs-cache.c struct orangefs_kernel_op_s *new_op = NULL; new_op 120 fs/orangefs/orangefs-cache.c new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); new_op 121 fs/orangefs/orangefs-cache.c if (new_op) { new_op 122 fs/orangefs/orangefs-cache.c INIT_LIST_HEAD(&new_op->list); new_op 123 fs/orangefs/orangefs-cache.c spin_lock_init(&new_op->lock); new_op 124 fs/orangefs/orangefs-cache.c init_completion(&new_op->waitq); new_op 126 fs/orangefs/orangefs-cache.c new_op->upcall.type = ORANGEFS_VFS_OP_INVALID; new_op 127 fs/orangefs/orangefs-cache.c new_op->downcall.type = ORANGEFS_VFS_OP_INVALID; new_op 128 fs/orangefs/orangefs-cache.c new_op->downcall.status = -1; new_op 130 fs/orangefs/orangefs-cache.c new_op->op_state = OP_VFS_STATE_UNKNOWN; new_op 133 fs/orangefs/orangefs-cache.c orangefs_new_tag(new_op); new_op 134 fs/orangefs/orangefs-cache.c new_op->upcall.type = type; new_op 135 fs/orangefs/orangefs-cache.c new_op->attempts = 0; new_op 138 fs/orangefs/orangefs-cache.c new_op, new_op 139 fs/orangefs/orangefs-cache.c llu(new_op->tag), new_op 140 fs/orangefs/orangefs-cache.c get_opname_string(new_op)); new_op 142 fs/orangefs/orangefs-cache.c new_op->upcall.uid = from_kuid(&init_user_ns, new_op 145 fs/orangefs/orangefs-cache.c new_op->upcall.gid = from_kgid(&init_user_ns, new_op 150 fs/orangefs/orangefs-cache.c return new_op; new_op 399 fs/orangefs/orangefs-debugfs.c struct orangefs_kernel_op_s *new_op = NULL; new_op 460 fs/orangefs/orangefs-debugfs.c new_op = op_alloc(ORANGEFS_VFS_OP_PARAM); new_op 461 fs/orangefs/orangefs-debugfs.c if (!new_op) { new_op 466 fs/orangefs/orangefs-debugfs.c new_op->upcall.req.param.op = new_op 468 fs/orangefs/orangefs-debugfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; new_op 469 fs/orangefs/orangefs-debugfs.c memset(new_op->upcall.req.param.s_value, new_op 472 fs/orangefs/orangefs-debugfs.c sprintf(new_op->upcall.req.param.s_value, new_op 478 fs/orangefs/orangefs-debugfs.c rc = service_operation(new_op, new_op 488 fs/orangefs/orangefs-debugfs.c op_release(new_op); new_op 324 fs/orangefs/orangefs-kernel.h char *get_opname_string(struct orangefs_kernel_op_s *new_op); new_op 323 fs/orangefs/orangefs-sysfs.c struct orangefs_kernel_op_s *new_op = NULL; new_op 337 fs/orangefs/orangefs-sysfs.c new_op = op_alloc(op_alloc_type); new_op 338 fs/orangefs/orangefs-sysfs.c if (!new_op) new_op 351 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; new_op 365 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 369 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 373 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 378 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 383 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 388 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 393 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 397 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 401 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 405 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 409 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 414 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 418 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 422 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 426 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 431 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 435 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 439 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 443 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 448 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 452 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 456 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 460 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 465 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.perf_count.type = new_op 469 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.perf_count.type = new_op 473 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.perf_count.type = new_op 493 fs/orangefs/orangefs-sysfs.c rc = service_operation(new_op, ser_op_type, ORANGEFS_OP_INTERRUPTIBLE); new_op 498 fs/orangefs/orangefs-sysfs.c if (new_op->upcall.req.param.op == new_op 501 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. new_op 503 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u. new_op 507 fs/orangefs/orangefs-sysfs.c (int)new_op->downcall.resp.param.u.value64); new_op 514 fs/orangefs/orangefs-sysfs.c new_op->downcall.resp.perf_count.buffer); new_op 518 fs/orangefs/orangefs-sysfs.c op_release(new_op); new_op 538 fs/orangefs/orangefs-sysfs.c struct orangefs_kernel_op_s *new_op = NULL; new_op 546 fs/orangefs/orangefs-sysfs.c new_op = op_alloc(ORANGEFS_VFS_OP_PARAM); new_op 547 fs/orangefs/orangefs-sysfs.c if (!new_op) new_op 570 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; new_op 585 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 594 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 603 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 612 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 621 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 636 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 642 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[0] = val1; new_op 643 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value32[1] = val2; new_op 648 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 659 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 667 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 676 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 684 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 695 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 703 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 712 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 720 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 731 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 739 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 748 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 756 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 767 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 775 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 784 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 792 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = new_op 807 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.u.value64 = val; new_op 814 fs/orangefs/orangefs-sysfs.c rc = service_operation(new_op, "orangefs_param", ORANGEFS_OP_INTERRUPTIBLE); new_op 825 fs/orangefs/orangefs-sysfs.c op_release(new_op); new_op 239 fs/orangefs/orangefs-utils.c struct orangefs_kernel_op_s *new_op; new_op 261 fs/orangefs/orangefs-utils.c new_op = op_alloc(ORANGEFS_VFS_OP_GETATTR); new_op 262 fs/orangefs/orangefs-utils.c if (!new_op) new_op 264 fs/orangefs/orangefs-utils.c new_op->upcall.req.getattr.refn = orangefs_inode->refn; new_op 270 fs/orangefs/orangefs-utils.c new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_ALL_NOHINT; new_op 272 fs/orangefs/orangefs-utils.c new_op->upcall.req.getattr.mask = new_op 275 fs/orangefs/orangefs-utils.c ret = service_operation(new_op, __func__, new_op 302 fs/orangefs/orangefs-utils.c &new_op->downcall.resp.getattr.attributes, new_op 303 fs/orangefs/orangefs-utils.c new_op->downcall.resp.getattr.link_target); new_op 310 fs/orangefs/orangefs-utils.c type = orangefs_inode_type(new_op-> new_op 314 fs/orangefs/orangefs-utils.c inode->i_flags = orangefs_inode_flags(&new_op-> new_op 317 fs/orangefs/orangefs-utils.c inode_size = (loff_t)new_op-> new_op 320 fs/orangefs/orangefs-utils.c inode->i_blkbits = ffs(new_op->downcall.resp.getattr. new_op 336 fs/orangefs/orangefs-utils.c inode->i_size = (loff_t)strlen(new_op-> new_op 339 fs/orangefs/orangefs-utils.c new_op->downcall.resp.getattr.link_target, new_op 356 fs/orangefs/orangefs-utils.c inode->i_uid = make_kuid(&init_user_ns, new_op-> new_op 358 fs/orangefs/orangefs-utils.c inode->i_gid = make_kgid(&init_user_ns, new_op-> new_op 360 fs/orangefs/orangefs-utils.c inode->i_atime.tv_sec = (time64_t)new_op-> new_op 362 fs/orangefs/orangefs-utils.c inode->i_mtime.tv_sec = (time64_t)new_op-> new_op 364 fs/orangefs/orangefs-utils.c inode->i_ctime.tv_sec = (time64_t)new_op-> new_op 372 fs/orangefs/orangefs-utils.c orangefs_inode_perms(&new_op->downcall.resp.getattr.attributes); new_op 380 fs/orangefs/orangefs-utils.c op_release(new_op); new_op 387 fs/orangefs/orangefs-utils.c struct orangefs_kernel_op_s *new_op; new_op 393 fs/orangefs/orangefs-utils.c new_op = op_alloc(ORANGEFS_VFS_OP_GETATTR); new_op 394 fs/orangefs/orangefs-utils.c if (!new_op) new_op 396 fs/orangefs/orangefs-utils.c new_op->upcall.req.getattr.refn = orangefs_inode->refn; new_op 397 fs/orangefs/orangefs-utils.c new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_TYPE | new_op 400 fs/orangefs/orangefs-utils.c ret = service_operation(new_op, __func__, new_op 406 fs/orangefs/orangefs-utils.c &new_op->downcall.resp.getattr.attributes, new_op 407 fs/orangefs/orangefs-utils.c new_op->downcall.resp.getattr.link_target); new_op 409 fs/orangefs/orangefs-utils.c op_release(new_op); new_op 420 fs/orangefs/orangefs-utils.c struct orangefs_kernel_op_s *new_op; new_op 423 fs/orangefs/orangefs-utils.c new_op = op_alloc(ORANGEFS_VFS_OP_SETATTR); new_op 424 fs/orangefs/orangefs-utils.c if (!new_op) new_op 428 fs/orangefs/orangefs-utils.c new_op->upcall.uid = from_kuid(&init_user_ns, orangefs_inode->attr_uid); new_op 429 fs/orangefs/orangefs-utils.c new_op->upcall.gid = from_kgid(&init_user_ns, orangefs_inode->attr_gid); new_op 430 fs/orangefs/orangefs-utils.c new_op->upcall.req.setattr.refn = orangefs_inode->refn; new_op 432 fs/orangefs/orangefs-utils.c &new_op->upcall.req.setattr.attributes); new_op 434 fs/orangefs/orangefs-utils.c if (!new_op->upcall.req.setattr.attributes.mask) { new_op 436 fs/orangefs/orangefs-utils.c op_release(new_op); new_op 441 fs/orangefs/orangefs-utils.c ret = service_operation(new_op, __func__, new_op 448 fs/orangefs/orangefs-utils.c op_release(new_op); new_op 166 fs/orangefs/super.c struct orangefs_kernel_op_s *new_op = NULL; new_op 178 fs/orangefs/super.c new_op = op_alloc(ORANGEFS_VFS_OP_STATFS); new_op 179 fs/orangefs/super.c if (!new_op) new_op 181 fs/orangefs/super.c new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; new_op 186 fs/orangefs/super.c ret = service_operation(new_op, "orangefs_statfs", flags); new_op 188 fs/orangefs/super.c if (new_op->downcall.status < 0) new_op 196 fs/orangefs/super.c (long)new_op->downcall.resp.statfs.blocks_avail, new_op 197 fs/orangefs/super.c (long)new_op->downcall.resp.statfs.blocks_total, new_op 198 fs/orangefs/super.c (long)new_op->downcall.resp.statfs.block_size, new_op 199 fs/orangefs/super.c (long)new_op->downcall.resp.statfs.files_total, new_op 200 fs/orangefs/super.c (long)new_op->downcall.resp.statfs.files_avail); new_op 204 fs/orangefs/super.c buf->f_bsize = new_op->downcall.resp.statfs.block_size; new_op 207 fs/orangefs/super.c buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; new_op 208 fs/orangefs/super.c buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; new_op 209 fs/orangefs/super.c buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; new_op 210 fs/orangefs/super.c buf->f_files = (sector_t) new_op->downcall.resp.statfs.files_total; new_op 211 fs/orangefs/super.c buf->f_ffree = (sector_t) new_op->downcall.resp.statfs.files_avail; new_op 215 fs/orangefs/super.c op_release(new_op); new_op 247 fs/orangefs/super.c struct orangefs_kernel_op_s *new_op; new_op 252 fs/orangefs/super.c new_op = op_alloc(ORANGEFS_VFS_OP_FS_MOUNT); new_op 253 fs/orangefs/super.c if (!new_op) new_op 255 fs/orangefs/super.c strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, new_op 261 fs/orangefs/super.c new_op->upcall.req.fs_mount.orangefs_config_server); new_op 268 fs/orangefs/super.c ret = service_operation(new_op, "orangefs_remount", new_op 279 fs/orangefs/super.c orangefs_sb->id = new_op->downcall.resp.fs_mount.id; new_op 283 fs/orangefs/super.c op_release(new_op); new_op 286 fs/orangefs/super.c new_op = op_alloc(ORANGEFS_VFS_OP_FEATURES); new_op 287 fs/orangefs/super.c if (!new_op) new_op 289 fs/orangefs/super.c new_op->upcall.req.features.features = 0; new_op 290 fs/orangefs/super.c ret = service_operation(new_op, "orangefs_features", new_op 294 fs/orangefs/super.c new_op->downcall.resp.features.features; new_op 297 fs/orangefs/super.c op_release(new_op); new_op 480 fs/orangefs/super.c struct orangefs_kernel_op_s *new_op; new_op 492 fs/orangefs/super.c new_op = op_alloc(ORANGEFS_VFS_OP_FS_MOUNT); new_op 493 fs/orangefs/super.c if (!new_op) new_op 496 fs/orangefs/super.c strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, new_op 502 fs/orangefs/super.c new_op->upcall.req.fs_mount.orangefs_config_server); new_op 504 fs/orangefs/super.c ret = service_operation(new_op, "orangefs_mount", 0); new_op 510 fs/orangefs/super.c if (new_op->downcall.resp.fs_mount.fs_id == ORANGEFS_FS_ID_NULL) { new_op 520 fs/orangefs/super.c orangefs_unmount(new_op->downcall.resp.fs_mount.id, new_op 521 fs/orangefs/super.c new_op->downcall.resp.fs_mount.fs_id, devname); new_op 533 fs/orangefs/super.c &new_op->downcall.resp.fs_mount, data, new_op 562 fs/orangefs/super.c op_release(new_op); new_op 568 fs/orangefs/super.c new_op = op_alloc(ORANGEFS_VFS_OP_FEATURES); new_op 569 fs/orangefs/super.c if (!new_op) new_op 571 fs/orangefs/super.c new_op->upcall.req.features.features = 0; new_op 572 fs/orangefs/super.c ret = service_operation(new_op, "orangefs_features", 0); new_op 573 fs/orangefs/super.c orangefs_features = new_op->downcall.resp.features.features; new_op 574 fs/orangefs/super.c op_release(new_op); new_op 593 fs/orangefs/super.c op_release(new_op); new_op 97 fs/orangefs/xattr.c struct orangefs_kernel_op_s *new_op = NULL; new_op 148 fs/orangefs/xattr.c new_op = op_alloc(ORANGEFS_VFS_OP_GETXATTR); new_op 149 fs/orangefs/xattr.c if (!new_op) new_op 152 fs/orangefs/xattr.c new_op->upcall.req.getxattr.refn = orangefs_inode->refn; new_op 153 fs/orangefs/xattr.c strcpy(new_op->upcall.req.getxattr.key, name); new_op 160 fs/orangefs/xattr.c new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; new_op 162 fs/orangefs/xattr.c ret = service_operation(new_op, "orangefs_inode_getxattr", new_op 171 fs/orangefs/xattr.c (char *)new_op->upcall.req.getxattr.key); new_op 188 fs/orangefs/xattr.c length = new_op->downcall.resp.getxattr.val_sz; new_op 206 fs/orangefs/xattr.c memcpy(buffer, new_op->downcall.resp.getxattr.val, length); new_op 212 fs/orangefs/xattr.c (char *)new_op-> new_op 214 fs/orangefs/xattr.c (int)new_op-> new_op 238 fs/orangefs/xattr.c op_release(new_op); new_op 248 fs/orangefs/xattr.c struct orangefs_kernel_op_s *new_op = NULL; new_op 258 fs/orangefs/xattr.c new_op = op_alloc(ORANGEFS_VFS_OP_REMOVEXATTR); new_op 259 fs/orangefs/xattr.c if (!new_op) new_op 262 fs/orangefs/xattr.c new_op->upcall.req.removexattr.refn = orangefs_inode->refn; new_op 268 fs/orangefs/xattr.c strcpy(new_op->upcall.req.removexattr.key, name); new_op 269 fs/orangefs/xattr.c new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; new_op 273 fs/orangefs/xattr.c (char *)new_op->upcall.req.removexattr.key, new_op 274 fs/orangefs/xattr.c (int)new_op->upcall.req.removexattr.key_sz); new_op 276 fs/orangefs/xattr.c ret = service_operation(new_op, new_op 292 fs/orangefs/xattr.c op_release(new_op); new_op 318 fs/orangefs/xattr.c struct orangefs_kernel_op_s *new_op; new_op 350 fs/orangefs/xattr.c new_op = op_alloc(ORANGEFS_VFS_OP_SETXATTR); new_op 351 fs/orangefs/xattr.c if (!new_op) new_op 355 fs/orangefs/xattr.c new_op->upcall.req.setxattr.refn = orangefs_inode->refn; new_op 356 fs/orangefs/xattr.c new_op->upcall.req.setxattr.flags = internal_flag; new_op 362 fs/orangefs/xattr.c strcpy(new_op->upcall.req.setxattr.keyval.key, name); new_op 363 fs/orangefs/xattr.c new_op->upcall.req.setxattr.keyval.key_sz = strlen(name) + 1; new_op 364 fs/orangefs/xattr.c memcpy(new_op->upcall.req.setxattr.keyval.val, value, size); new_op 365 fs/orangefs/xattr.c new_op->upcall.req.setxattr.keyval.val_sz = size; new_op 370 fs/orangefs/xattr.c (char *)new_op->upcall.req.setxattr.keyval.key, new_op 371 fs/orangefs/xattr.c (int)new_op->upcall.req.setxattr.keyval.key_sz, new_op 374 fs/orangefs/xattr.c ret = service_operation(new_op, new_op 383 fs/orangefs/xattr.c op_release(new_op); new_op 410 fs/orangefs/xattr.c struct orangefs_kernel_op_s *new_op; new_op 425 fs/orangefs/xattr.c new_op = op_alloc(ORANGEFS_VFS_OP_LISTXATTR); new_op 426 fs/orangefs/xattr.c if (!new_op) new_op 434 fs/orangefs/xattr.c new_op->upcall.req.listxattr.refn = orangefs_inode->refn; new_op 435 fs/orangefs/xattr.c new_op->upcall.req.listxattr.token = token; new_op 436 fs/orangefs/xattr.c new_op->upcall.req.listxattr.requested_count = new_op 438 fs/orangefs/xattr.c ret = service_operation(new_op, __func__, new_op 449 fs/orangefs/xattr.c total = new_op->downcall.resp.listxattr.returned_count * new_op 454 fs/orangefs/xattr.c returned_count = new_op->downcall.resp.listxattr.returned_count; new_op 468 fs/orangefs/xattr.c if (new_op->downcall.resp.listxattr.lengths[i] < 0 || new_op 469 fs/orangefs/xattr.c new_op->downcall.resp.listxattr.lengths[i] > new_op 473 fs/orangefs/xattr.c new_op->downcall.resp.listxattr.lengths[i]); new_op 477 fs/orangefs/xattr.c if (total + new_op->downcall.resp.listxattr.lengths[i] > size) new_op 485 fs/orangefs/xattr.c if (is_reserved_key(new_op->downcall.resp.listxattr.key + new_op 487 fs/orangefs/xattr.c new_op->downcall.resp. new_op 490 fs/orangefs/xattr.c i, new_op->downcall.resp.listxattr.key + new_op 493 fs/orangefs/xattr.c new_op->downcall.resp.listxattr.key + key_size, new_op 494 fs/orangefs/xattr.c new_op->downcall.resp.listxattr.lengths[i]); new_op 495 fs/orangefs/xattr.c total += new_op->downcall.resp.listxattr.lengths[i]; new_op 499 fs/orangefs/xattr.c i, new_op->downcall.resp.listxattr.key + new_op 502 fs/orangefs/xattr.c key_size += new_op->downcall.resp.listxattr.lengths[i]; new_op 509 fs/orangefs/xattr.c token = new_op->downcall.resp.listxattr.token; new_op 520 fs/orangefs/xattr.c op_release(new_op); new_op 113 tools/perf/arch/powerpc/util/perf_regs.c int arch_sdt_arg_parse_op(char *old_op, char **new_op) new_op 135 tools/perf/arch/powerpc/util/perf_regs.c *new_op = zalloc(new_len); new_op 136 tools/perf/arch/powerpc/util/perf_regs.c if (!*new_op) new_op 139 tools/perf/arch/powerpc/util/perf_regs.c scnprintf(*new_op, new_len, "%%gpr%.*s", new_op 152 tools/perf/arch/powerpc/util/perf_regs.c *new_op = zalloc(new_len); new_op 153 tools/perf/arch/powerpc/util/perf_regs.c if (!*new_op) new_op 156 tools/perf/arch/powerpc/util/perf_regs.c scnprintf(*new_op, new_len, "%c%.*s(%%gpr%.*s)", prefix, new_op 192 tools/perf/arch/x86/util/perf_regs.c int arch_sdt_arg_parse_op(char *old_op, char **new_op) new_op 262 tools/perf/arch/x86/util/perf_regs.c *new_op = zalloc(new_len); new_op 263 tools/perf/arch/x86/util/perf_regs.c if (!*new_op) new_op 266 tools/perf/arch/x86/util/perf_regs.c scnprintf(*new_op, new_len, "%.*s%.*s%.*s%.*s%.*s", new_op 11 tools/perf/util/perf_regs.c char **new_op __maybe_unused) new_op 25 tools/perf/util/perf_regs.h int arch_sdt_arg_parse_op(char *old_op, char **new_op); new_op 732 tools/perf/util/probe-file.c char *op, *desc = strdup(arg), *new_op = NULL; new_op 757 tools/perf/util/probe-file.c ret = arch_sdt_arg_parse_op(op, &new_op); new_op 763 tools/perf/util/probe-file.c ret = strbuf_addf(buf, " arg%d=%s%s", i + 1, new_op, suffix); new_op 771 tools/perf/util/probe-file.c free(new_op);