login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
29
Re: [PATCH] sysfs: add filter function to groups
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: James Bottomley
Subject:
Re: [PATCH] sysfs: add filter function to groups
Date: Monday, October 29, 2007 - 11:12 am
On Mon, 2007-10-29 at 18:58 +0100, Stefan Richter wrote:
quoted text
> James Bottomley wrote: > >> > struct attribute_group { > >> > const char *name; > >> > + int (*filter_show)(struct kobject *, int); > > > Actually, it returns a true/false value indicating whether the given > > attribute should be displayed. > > How about this: > > int (*is_visible)(...); > or > bool (*shall_be_shown)(...); > or > bool (*should_be_displayed)(...); > > or whatever, so that it indicates that this function merely answers a > question, but doesn't filter nor show anything.
Actually, as long as it's descriptive, I really don't care about the name. Can we all agree on "is_visible"? James -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 8:16 am)
Re: [PATCH] sysfs: add filter function to groups
, Kay Sievers
, (Mon Oct 29, 9:54 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 9:57 am)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Mon Oct 29, 10:18 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 10:24 am)
Re: [PATCH] sysfs: add filter function to groups
, Kay Sievers
, (Mon Oct 29, 10:27 am)
Re: [PATCH] sysfs: add filter function to groups
, Jeff Garzik
, (Mon Oct 29, 10:27 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 10:28 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 10:29 am)
Re: [PATCH] sysfs: add filter function to groups
, Kay Sievers
, (Mon Oct 29, 10:43 am)
Re: [PATCH] sysfs: add filter function to groups
, Stefan Richter
, (Mon Oct 29, 10:58 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Mon Oct 29, 11:12 am)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Tue Oct 30, 1:55 am)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Tue Oct 30, 2:00 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Tue Oct 30, 11:25 am)
Re: [PATCH] sysfs: add filter function to groups
, Stefan Richter
, (Tue Oct 30, 12:31 pm)
Re: [PATCH] sysfs: add filter function to groups
, Kay Sievers
, (Tue Oct 30, 12:47 pm)
Re: [PATCH] sysfs: add filter function to groups
, Mark M. Hoffman
, (Tue Oct 30, 5:40 pm)
Re: [PATCH] sysfs: add filter function to groups
, Kay Sievers
, (Tue Oct 30, 7:01 pm)
Re: [PATCH] sysfs: add filter function to groups
, Greg KH
, (Tue Oct 30, 8:55 pm)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Wed Oct 31, 2:41 am)
Re: [PATCH] sysfs: add filter function to groups
, Stefan Richter
, (Wed Oct 31, 2:52 am)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Wed Oct 31, 3:20 am)
Re: [PATCH] sysfs: add filter function to groups
, Stefan Richter
, (Wed Oct 31, 3:37 am)
Re: [PATCH] sysfs: add filter function to groups
, Mark M. Hoffman
, (Wed Oct 31, 4:28 am)
Re: [PATCH] sysfs: add filter function to groups
, Cornelia Huck
, (Wed Oct 31, 5:19 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Wed Oct 31, 7:38 am)
Re: [PATCH] sysfs: add filter function to groups
, Greg KH
, (Wed Oct 31, 10:29 am)
Re: [PATCH] sysfs: add filter function to groups
, James Bottomley
, (Sun Nov 4, 7:12 am)
Re: [PATCH] sysfs: add filter function to groups
, Greg KH
, (Sun Nov 4, 12:06 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Benjamin Herrenschmidt
[git pull] Please pull powerpc.git merge branch
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Vivek Goyal
Re: [PATCH v4] sched: automated per session task groups
Andres Salomon
Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Jeff King
Re: [PATCH] t7004: test that "git-tag -u" implies "-s"
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Colocation donated by:
Syndicate