Displaying 20 results from an estimated 31 matches for "opnam".
Did you mean:
opnum
2020 Feb 19
2
Poor write performance with golang binding
...teger,
"blocksize [default: #{opts.bs}]") { |n| opts.bs = n }
optp.on("-o OFF", "--offset", Integer,
"offset [default: #{opts.offset}]") { |n| opts.offset = n }
optp.parse!
unless $*.size == 2
STDERR.puts optp
exit 1
end
opname,image = $*
op = OPS.find opname
op or raise "unkown op #{opname} (should be one of #{OPS.names.join ?,})"
gu=Guestfs::Guestfs.new
begin
gu.add_drive_opts image, readonly: op.readonly
gu.launch
op.perform gu, opts
gu.shutdown
ensure
gu.close
end
end
if...
2020 Feb 19
0
Re: Poor write performance with golang binding
...opts.bs}]") { |n| opts.bs = n }
> optp.on("-o OFF", "--offset", Integer,
> "offset [default: #{opts.offset}]") { |n| opts.offset = n }
> optp.parse!
>
> unless $*.size == 2
> STDERR.puts optp
> exit 1
> end
> opname,image = $*
>
> op = OPS.find opname
> op or raise "unkown op #{opname} (should be one of #{OPS.names.join ?,})"
>
> gu=Guestfs::Guestfs.new
> begin
> gu.add_drive_opts image, readonly: op.readonly
> gu.launch
>
> op.perform gu, opts
&g...
2012 Aug 21
0
[LLVMdev] No more TargetFlags on MO_Register MachineOperands
...e register flags.
>
Hi,
I've been working on replacing the MachineOperand flags in the R600
backend with immediate operands, but I can't figure out how to modify
the instruction patterns to make this work. For example, I have the class:
class R600_1OP <bits<32> inst, string opName, list<dag> pattern,
InstrItinClass itin = AnyALU> :
InstR600 <inst,
(outs R600_Reg32:$dst),
(ins R600_Reg32:$src, R600_Pred:$p, i32imm:$flags),
!strconcat(opName, " $dst, $src ($p)"),
pattern,
itin
>;
A...
2012 Aug 20
2
[LLVMdev] No more TargetFlags on MO_Register MachineOperands
All,
The code generator operand class, MachineOperand, has an 8-bit TargetFlags field that the individual targets can use as they please. X86 and ARM use it to encode linker magic on symbol operands.
It has been mentioned a couple of times on this list that it is not safe to use TargetFlags on register operands. This is because many target-independent passes are manipulating register operands
2012 Aug 21
2
[LLVMdev] No more TargetFlags on MO_Register MachineOperands
...te:
> I've been working on replacing the MachineOperand flags in the R600
> backend with immediate operands, but I can't figure out how to modify
> the instruction patterns to make this work. For example, I have the class:
>
> class R600_1OP <bits<32> inst, string opName, list<dag> pattern,
> InstrItinClass itin = AnyALU> :
> InstR600 <inst,
> (outs R600_Reg32:$dst),
> (ins R600_Reg32:$src, R600_Pred:$p, i32imm:$flags),
> !strconcat(opName, " $dst, $src ($p)"),
> pattern,
&...
2007 Apr 18
0
[PATCH 8/9] Vmi apic ops.diff
...lse
- return (void *)vmi_nop;
+ return NULL;
}
/*
* Helper macro for making the VMI paravirt-ops fill code readable.
- * For unimplemented operations, fall back to default.
+ * For unimplemented operations, fall back to default, unless nop
+ * is returned by the ROM.
*/
#define para_fill(opname, vmicall) \
do { \
@@ -692,8 +694,28 @@ do { \
if (rel->type != VMI_RELOCATION_NONE) { \
BUG_ON(rel->type != VMI_RELOCATION_CALL_REL); \
paravirt_ops.opname = (void *)rel->eip; \
+ } else if (rel->type == VMI_RELOCATION_NOP) \
+ paravirt_ops.opname = (vo...
2007 Apr 18
0
[PATCH 8/9] Vmi apic ops.diff
...lse
- return (void *)vmi_nop;
+ return NULL;
}
/*
* Helper macro for making the VMI paravirt-ops fill code readable.
- * For unimplemented operations, fall back to default.
+ * For unimplemented operations, fall back to default, unless nop
+ * is returned by the ROM.
*/
#define para_fill(opname, vmicall) \
do { \
@@ -692,8 +694,28 @@ do { \
if (rel->type != VMI_RELOCATION_NONE) { \
BUG_ON(rel->type != VMI_RELOCATION_CALL_REL); \
paravirt_ops.opname = (void *)rel->eip; \
+ } else if (rel->type == VMI_RELOCATION_NOP) \
+ paravirt_ops.opname = (vo...
2020 May 26
1
vfs_audit with Samba 4.12.3
...cts = acl_xattr full_audit shadow_copy2
full_audit:failure = none
full_audit:success = pwrite write rename unlink
full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S
full_audit:facility = local7
full_audit:priority = NOTICE
But with this an Samba 4.12.3 we get this error:
"Could not find opname rename, logging all"
This also happens for unlink.
What works is "renameat" and "unlinkat"
The man page still has it the old way:
The following Samba VFS operations are recorded:
connect
disconnect
opendir
mkdir
rm...
2023 Mar 22
1
Failure in "man 8 vfs_full_audit"?
...= LOCAL7
full_audit:priority = ALERT
But:
- opendir is not shown within complete set of Samba VFS operations.
- setting "full_audit:success = open opendir" results in:
[2023/03/22 07:54:26.959285, 0]
../../source3/modules/vfs_full_audit.c:566(init_bitmap)
init_bitmap: Could not find opname opendir
Cheers,
Torsten
2007 Apr 18
1
[PATCH] 2.6.21 - VMI logic error
...14 @@ do { \
do { \
reloc =3D call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
- if (rel->type !=3D VMI_RELOCATION_NONE) { \
- BUG_ON(rel->type !=3D VMI_RELOCATION_CALL_REL); \
+ if (rel->type =3D=3D VMI_RELOCATION_CALL_REL) \
paravirt_ops.opname =3D (void *)rel->eip; \
- } else if (rel->type =3D=3D VMI_RELOCATION_NOP) \
+ else if (rel->type =3D=3D VMI_RELOCATION_NOP) \
paravirt_ops.opname =3D (void *)vmi_nop; \
+ else if (rel->type !=3D VMI_RELOCATION_NONE) \
+ printk(KERN_WARNING "VMI: Unknown relocation "...
2007 Apr 18
1
[PATCH] 2.6.21 - VMI logic error
...14 @@ do { \
do { \
reloc =3D call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
- if (rel->type !=3D VMI_RELOCATION_NONE) { \
- BUG_ON(rel->type !=3D VMI_RELOCATION_CALL_REL); \
+ if (rel->type =3D=3D VMI_RELOCATION_CALL_REL) \
paravirt_ops.opname =3D (void *)rel->eip; \
- } else if (rel->type =3D=3D VMI_RELOCATION_NOP) \
+ else if (rel->type =3D=3D VMI_RELOCATION_NOP) \
paravirt_ops.opname =3D (void *)vmi_nop; \
+ else if (rel->type !=3D VMI_RELOCATION_NONE) \
+ printk(KERN_WARNING "VMI: Unknown relocation "...
2012 Aug 22
2
[LLVMdev] No more TargetFlags on MO_Register MachineOperands
...working on replacing the MachineOperand flags in the R600
> > backend with immediate operands, but I can't figure out how to modify
> > the instruction patterns to make this work. For example, I have the
> class:
> >
> > class R600_1OP <bits<32> inst, string opName, list<dag> pattern,
> > InstrItinClass itin = AnyALU> :
> > InstR600 <inst,
> > (outs R600_Reg32:$dst),
> > (ins R600_Reg32:$src, R600_Pred:$p, i32imm:$flags),
> > !strconcat(opName, " $dst, $src ($p)"),...
2013 Dec 05
3
[LLVMdev] X86 - Help on fixing a poor code generation bug
...tributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines a pass that searches for opportunities to fold
+// the following patterns:
+//
+// 1) B = #OPNAME#SSrr B, A
+// A = #OPINSERT#SSrr A, B<kill>
+// ==>
+// A = #OPNAME#SSrr A, B<kill>
+//
+// 2) B = #OPNAME#PSrr B, A
+// A = #OPINSERT#SSrr A, B<kill>
+// ==>
+// A = #OPNAME#SSrr A, B<kill>
+//
+// With #OPNAME# in { ADD, MUL, SUB, DIV...
2008 Mar 23
1
[LLVMdev] non-enable-llvm support in llvm-gcc-4.2 issue
...bfunc init_one_libfunc
-#endif
/* LLVM LOCAL end */
extern int vector_mode_valid_p (enum machine_mode);
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 06243c9..d5a1b19 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -5137,7 +5137,6 @@ init_intraclass_conv_libfuncs (convert_optab tab, const char *opname,
/* LLVM local begin */
-#undef llvm_init_one_libfunc
tree
llvm_init_one_libfunc (const char *name)
{
Sincerely,
Jay Freeman (saurik)
saurik at saurik.com
http://www.saurik.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/piperma...
2006 May 16
25
Ruby on Rails Searchable and Annotatable Docs
I recently updated my Rannotate application. The interface has been
completely redone and there are lots of new features. The basic idea is
to create searchable and user annotatable documentation for the Ruby on
Rails API (think php.net).
Check it out at - http://rails.outertrack.com
* What is Rannotate?
Rannotate is a Rails application and RDoc YAML generator that work
together to provide
2007 Oct 09
2
[PATCH RFC REPOST 1/2] paravirt: refactor struct paravirt_ops into smaller pv_*_ops
...cpu_ops.irq_enable_sysexit):
return patch_internal(VMI_CALL_SYSEXIT, len, insns, eip);
default:
break;
@@ -690,9 +690,9 @@ do { \
reloc = call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
if (rel->type == VMI_RELOCATION_CALL_REL) \
- paravirt_ops.opname = (void *)rel->eip; \
+ opname = (void *)rel->eip; \
else if (rel->type == VMI_RELOCATION_NOP) \
- paravirt_ops.opname = (void *)vmi_nop; \
+ opname = (void *)vmi_nop; \
else if (rel->type != VMI_RELOCATION_NONE) \
printk(KERN_WARNING "VMI: Unknown relocation &q...
2007 Oct 09
2
[PATCH RFC REPOST 1/2] paravirt: refactor struct paravirt_ops into smaller pv_*_ops
...cpu_ops.irq_enable_sysexit):
return patch_internal(VMI_CALL_SYSEXIT, len, insns, eip);
default:
break;
@@ -690,9 +690,9 @@ do { \
reloc = call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
if (rel->type == VMI_RELOCATION_CALL_REL) \
- paravirt_ops.opname = (void *)rel->eip; \
+ opname = (void *)rel->eip; \
else if (rel->type == VMI_RELOCATION_NOP) \
- paravirt_ops.opname = (void *)vmi_nop; \
+ opname = (void *)vmi_nop; \
else if (rel->type != VMI_RELOCATION_NONE) \
printk(KERN_WARNING "VMI: Unknown relocation &q...
2007 Sep 28
2
[PATCH RFC] paravirt_ops: refactor struct paravirt_ops into smaller pv_*_ops
...cpu_ops.irq_enable_sysexit):
return patch_internal(VMI_CALL_SYSEXIT, len, insns, eip);
default:
break;
@@ -690,9 +690,9 @@ do { \
reloc = call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
if (rel->type == VMI_RELOCATION_CALL_REL) \
- paravirt_ops.opname = (void *)rel->eip; \
+ opname = (void *)rel->eip; \
else if (rel->type == VMI_RELOCATION_NOP) \
- paravirt_ops.opname = (void *)vmi_nop; \
+ opname = (void *)vmi_nop; \
else if (rel->type != VMI_RELOCATION_NONE) \
printk(KERN_WARNING "VMI: Unknown relocation &q...
2007 Sep 28
2
[PATCH RFC] paravirt_ops: refactor struct paravirt_ops into smaller pv_*_ops
...cpu_ops.irq_enable_sysexit):
return patch_internal(VMI_CALL_SYSEXIT, len, insns, eip);
default:
break;
@@ -690,9 +690,9 @@ do { \
reloc = call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
if (rel->type == VMI_RELOCATION_CALL_REL) \
- paravirt_ops.opname = (void *)rel->eip; \
+ opname = (void *)rel->eip; \
else if (rel->type == VMI_RELOCATION_NOP) \
- paravirt_ops.opname = (void *)vmi_nop; \
+ opname = (void *)vmi_nop; \
else if (rel->type != VMI_RELOCATION_NONE) \
printk(KERN_WARNING "VMI: Unknown relocation &q...
2007 Jul 09
1
[PATCH RFC] first cut at splitting up paravirt_ops
...H(pv_cpu_ops.irq_enable_sysexit):
return patch_internal(VMI_CALL_SYSEXIT, len, insns);
default:
break;
@@ -684,9 +684,9 @@ do { \
reloc = call_vrom_long_func(vmi_rom, get_reloc, \
VMI_CALL_##vmicall); \
if (rel->type == VMI_RELOCATION_CALL_REL) \
- paravirt_ops.opname = (void *)rel->eip; \
+ opname = (void *)rel->eip; \
else if (rel->type == VMI_RELOCATION_NOP) \
- paravirt_ops.opname = (void *)vmi_nop; \
+ opname = (void *)vmi_nop; \
else if (rel->type != VMI_RELOCATION_NONE) \
printk(KERN_WARNING "VMI: Unknown relocation &q...