search for: _mode

Displaying 20 results from an estimated 54 matches for "_mode".

Did you mean: mode
2008 Dec 25
0
[PATCH 1/4] dom0 linux: Expose HID, UID, SEG, BBN of PCI root bridge via sysfs.
...oid acpi_device_unregister(struct acpi_device *device, int type) @@ -343,10 +374,6 @@ -------------------------------------------------------------------------- */ static ssize_t acpi_eject_store(struct acpi_device *device, const char *buf, size_t count); - -#define ACPI_DEVICE_ATTR(_name,_mode,_show,_store) \ -static struct acpi_device_attribute acpi_device_attr_##_name = \ - __ATTR(_name, _mode, _show, _store) ACPI_DEVICE_ATTR(eject, 0200, NULL, acpi_eject_store); diff -r 618fc299e2f1 -r 4769a6db78f5 include/acpi/acpi_bus.h --- a/include/acpi/acpi_bus.h Thu Dec 18 11:51:36 2008 +0...
2014 Mar 19
5
[PATCH] virtio-blk: make the queue depth configurable
...tribute *pci_slot_default_attrs[] = { &pci_slot_attr_address.attr, diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 471090093c67..945afeb3058a 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -842,4 +842,13 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } # define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD #endif +/* Permissions on a sysfs file: you didn't miss the 0 prefix did you? */ +#define VERIFY_OCTAL_PERMISSIONS(perms) \ + ((__builtin_constant_p(perms) ? \ + BUILD_BUG_ON_ZERO((perms) < 0) + \ + BUILD_BUG...
2014 Mar 19
5
[PATCH] virtio-blk: make the queue depth configurable
...tribute *pci_slot_default_attrs[] = { &pci_slot_attr_address.attr, diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 471090093c67..945afeb3058a 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -842,4 +842,13 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } # define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD #endif +/* Permissions on a sysfs file: you didn't miss the 0 prefix did you? */ +#define VERIFY_OCTAL_PERMISSIONS(perms) \ + ((__builtin_constant_p(perms) ? \ + BUILD_BUG_ON_ZERO((perms) < 0) + \ + BUILD_BUG...
2014 Mar 19
0
[PATCH] virtio-blk: make the queue depth configurable
...{ > &pci_slot_attr_address.attr, > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > index 471090093c67..945afeb3058a 100644 > --- a/include/linux/kernel.h > +++ b/include/linux/kernel.h > @@ -842,4 +842,13 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } > # define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD > #endif > > +/* Permissions on a sysfs file: you didn't miss the 0 prefix did you? */ > +#define VERIFY_OCTAL_PERMISSIONS(perms) \ > + ((__builtin_constant_p(perm...
2008 Feb 15
3
Wrong perms on new files/dirs using `mount -t cifs`
My original thread had the incorrect subject line. The original trouble / question remains open and unsolved. Greetings- I am working through coming up with a Linux client integration to Samba PDC's. I mount several shares with this sort of syntax: /bin/mount -t cifs -o credentials=/home/userid/.smbcredentials,uid=userid,gid=userid,dmask=0777,fmask=0666 //ldslnx01/data /mnt/ldslnx01/data/
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
Here is my smb.conf (on member domain) : idmap config * : backend = tdb idmap config * : range = 2000-9999 idmap config * : schema_mode = rfc2307 idmap config DOMAIN : backend = ad idmap config DOMAIN : schema-_mode = rfc2307 idmap config DOMAIN : range = 10000-999999 winbind nss info = rfc2307 winbind trusted domains only = no winbind use default domain = yes winbind enum users = yes winbind enum groups = yes winbind refresh tick...
2014 Mar 19
1
[PATCH] virtio-blk: make the queue depth configurable
Couple more bikesheddy things: Is there ever a reason to use a non __builtin_const_p(perms)? Maybe that should be a BUILD_BUG_ON too BUILD_BUG_ON(!builtin_const_p_perms) My brain of little size gets confused by the BUILD_BUG_ON_ZERO(foo) + vs BUILD_BUG_ON(foo); as it just seems like more text for the same content. Is there any value on the "_ZERO(foo) +" I don't understand?
2014 Mar 19
1
[PATCH] virtio-blk: make the queue depth configurable
Couple more bikesheddy things: Is there ever a reason to use a non __builtin_const_p(perms)? Maybe that should be a BUILD_BUG_ON too BUILD_BUG_ON(!builtin_const_p_perms) My brain of little size gets confused by the BUILD_BUG_ON_ZERO(foo) + vs BUILD_BUG_ON(foo); as it just seems like more text for the same content. Is there any value on the "_ZERO(foo) +" I don't understand?
2014 Mar 17
2
[PATCH] virtio-blk: make the queue depth configurable
On Mon, 2014-03-17 at 14:25 +1030, Rusty Russell wrote: > Erk, our tests are insufficient. Testbuilding an allmodconfig with this > now: Good idea. > diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h [] > @@ -188,6 +188,9 @@ struct kparam_array > /* Default value instead of permissions? */ \ > static int __param_perm_check_##name
2014 Mar 17
2
[PATCH] virtio-blk: make the queue depth configurable
On Mon, 2014-03-17 at 14:25 +1030, Rusty Russell wrote: > Erk, our tests are insufficient. Testbuilding an allmodconfig with this > now: Good idea. > diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h [] > @@ -188,6 +188,9 @@ struct kparam_array > /* Default value instead of permissions? */ \ > static int __param_perm_check_##name
2007 Oct 10
0
encode return 0
Hi. I?m trying to use the speex library in c#, everything seems to works right, when I call the speex_encode_int function it always return 0, any help would be appreciated. Here?s the sequence of calls: //Initialization _Mode = speex_lib_get_mode(0); _State = speex_encoder_init(_Mode); fixed (int* __FrameSize = &_FrameSize, __Complexity = &_Complexity, __SamplingRate = &_SamplingRate) { speex_encoder_ctl(_State, 3 /*SPEEX_GET_FRAME_SIZE*/, __FrameSize); speex_encoder...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
...: Tim; samba at lists.samba.org >Onderwerp: Re: [Samba] getent passwd not return the same >number of records from a call to another call > >Here is my smb.conf (on member domain) : > >idmap config * : backend = tdb >idmap config * : range = 2000-9999 >idmap config * : schema_mode = rfc2307 >idmap config DOMAIN : backend = ad >idmap config DOMAIN : schema-_mode = rfc2307 >idmap config DOMAIN : range = 10000-999999 > >winbind nss info = rfc2307 >winbind trusted domains only = no >winbind use default domain = yes >winbind enum users = yes >winbind en...
2020 Apr 14
0
[PATCH v2 08/33] iommu: Move default domain allocation to iommu_probe_device()
...mu_attach_device(struct iommu_domain *domain, + struct device *dev); +static int __iommu_attach_group(struct iommu_domain *domain, + struct iommu_group *group); +static void __iommu_detach_group(struct iommu_domain *domain, + struct iommu_group *group); + #define IOMMU_GROUP_ATTR(_name, _mode, _show, _store) \ struct iommu_group_attribute iommu_group_attr_##_name = \ __ATTR(_name, _mode, _show, _store) @@ -221,10 +231,29 @@ int iommu_probe_device(struct device *dev) goto err_free_dev_param; } - if (ops->probe_device) + if (ops->probe_device) { + struct iommu_group *gr...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
...etent passwd not return the same >>> number of records from a call to another call >>> >>> Here is my smb.conf (on member domain) : >>> >>> idmap config * : backend = tdb >>> idmap config * : range = 2000-9999 >>> idmap config * : schema_mode = rfc2307 >>> idmap config DOMAIN : backend = ad >>> idmap config DOMAIN : schema-_mode = rfc2307 >>> idmap config DOMAIN : range = 10000-999999 >>> >>> winbind nss info = rfc2307 >>> winbind trusted domains only = no >>> winbind use de...
2019 Sep 23
2
[PATCH 2/6] mdev: introduce device specific ops
...ct kobject *kobj, struct device *dev, 7b96953bc640b6 Kirti Wankhede 2016-11-17 72 const char *buf, size_t count); 7b96953bc640b6 Kirti Wankhede 2016-11-17 73 }; 7b96953bc640b6 Kirti Wankhede 2016-11-17 74 7b96953bc640b6 Kirti Wankhede 2016-11-17 75 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ 7b96953bc640b6 Kirti Wankhede 2016-11-17 76 struct mdev_type_attribute mdev_type_attr_##_name = \ 7b96953bc640b6 Kirti Wankhede 2016-11-17 77 __ATTR(_name, _mode, _show, _store) 7b96953bc640b6 Kirti Wankhede 2016-11-17 78 #define MDEV_TYPE_ATTR_RW(_name) \ 7b96953bc...
2019 Sep 23
2
[PATCH 2/6] mdev: introduce device specific ops
...ct kobject *kobj, struct device *dev, 7b96953bc640b6 Kirti Wankhede 2016-11-17 72 const char *buf, size_t count); 7b96953bc640b6 Kirti Wankhede 2016-11-17 73 }; 7b96953bc640b6 Kirti Wankhede 2016-11-17 74 7b96953bc640b6 Kirti Wankhede 2016-11-17 75 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ 7b96953bc640b6 Kirti Wankhede 2016-11-17 76 struct mdev_type_attribute mdev_type_attr_##_name = \ 7b96953bc640b6 Kirti Wankhede 2016-11-17 77 __ATTR(_name, _mode, _show, _store) 7b96953bc640b6 Kirti Wankhede 2016-11-17 78 #define MDEV_TYPE_ATTR_RW(_name) \ 7b96953bc...
2015 Feb 24
4
getent passwd not return the same number of records from a call to another call
Hello On AD Server : -------------------- We have migrated from S3 to S4 with samba-tools classicupgrade. All is ok : bind9, winbind but getent has a strange behavior. getent passwd doesn't return the same number of records. So a AD user can be not present in the response of getent !!!! it can have a big difference of records returned from a call to another call of getent passwd ... On
2019 Sep 23
0
[PATCH 2/6] mdev: introduce device specific ops
...ruct device *dev, > 7b96953bc640b6 Kirti Wankhede 2016-11-17 72 const char *buf, size_t count); > 7b96953bc640b6 Kirti Wankhede 2016-11-17 73 }; > 7b96953bc640b6 Kirti Wankhede 2016-11-17 74 > 7b96953bc640b6 Kirti Wankhede 2016-11-17 75 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ > 7b96953bc640b6 Kirti Wankhede 2016-11-17 76 struct mdev_type_attribute mdev_type_attr_##_name = \ > 7b96953bc640b6 Kirti Wankhede 2016-11-17 77 __ATTR(_name, _mode, _show, _store) > 7b96953bc640b6 Kirti Wankhede 2016-11-17 78 #define MDEV_TYPE_ATTR_RW(_na...
2014 May 28
1
Bug#749612: blktap: Conflicting declarations of function __open_2
...bs ./.libs/libvhd.so -ldl -O2 -Wl,-z -Wl,relro -Wl,-soname -Wl,libvhdio-2.0.90.so -o .libs/libvhdio-2.0.90.so error: conflicting function declarations "__open_2" old definition in module libvhdio file libvhdio.c line 992 signed int (const char *pathname, signed int flags, unsigned int _mode) new definition in module libvhd file /usr/include/x86_64-linux-gnu/bits/fcntl2.h line 26 signed int (const char *, signed int) Makefile:456: recipe for target 'libvhdio.la' failed make[6]: *** [libvhdio.la] Error 64 As this implementation of __open_2 appears to require 3 arguments, undefi...
2016 Nov 14
0
[ANNOUNCE] libdrm 2.4.72
...the function to get the marketing name (v4) Matt Turner (4): intel: Add uthash.h to Makefile.sources. amdgpu: Add amdgpu_asic_id.h to Makefile.sources. freedreno: Add fd_ringbuffer_flush2 to symbol check. Bump version for release Michel Dänzer (3): headers: Sync drm{,_mode}.h with the kernel Add drmModePageFlipTarget intel: Add new symbols to intel-symbol-check Neil Roberts (1): intel: Allow some codenames in INTEL_DEVID_OVERRIDE Rob Clark (3): add libsync.h helper freedreno: sync uapi header freedreno: add fence fd support Rob...