lib/libgeom/geom_xml2tree.c
127
if (strcmp(name, "consumer") == 0 && mt->consumer == NULL) {
lib/libgeom/geom_xml2tree.c
128
mt->consumer = calloc(1, sizeof *mt->consumer);
lib/libgeom/geom_xml2tree.c
129
if (mt->consumer == NULL) {
lib/libgeom/geom_xml2tree.c
136
mt->consumer->lg_id = id;
lib/libgeom/geom_xml2tree.c
137
LIST_INSERT_HEAD(&mt->geom->lg_consumer, mt->consumer,
lib/libgeom/geom_xml2tree.c
139
LIST_INIT(&mt->consumer->lg_config);
lib/libgeom/geom_xml2tree.c
142
if (strcmp(name, "geom") == 0 && mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
143
mt->consumer->lg_geom = ref;
lib/libgeom/geom_xml2tree.c
146
if (strcmp(name, "provider") == 0 && mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
147
mt->consumer->lg_provider = ref;
lib/libgeom/geom_xml2tree.c
175
if (mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
176
mt->config = &mt->consumer->lg_config;
lib/libgeom/geom_xml2tree.c
238
if (strcmp(name, "mode") == 0 && mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
239
mt->consumer->lg_mode = p;
lib/libgeom/geom_xml2tree.c
308
if (strcmp(name, "consumer") == 0 && mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
309
mt->consumer = NULL;
lib/libgeom/geom_xml2tree.c
316
if (strcmp(name, "geom") == 0 && mt->consumer != NULL) {
lib/libgeom/geom_xml2tree.c
59
struct gconsumer *consumer;
sys/compat/linuxkpi/common/include/linux/pwm.h
42
pwm_get(struct device *dev, const char *consumer)
sys/dev/acpica/acpi_powerres.c
100
static ACPI_STATUS acpi_pwr_deregister_consumer(ACPI_HANDLE consumer);
sys/dev/acpica/acpi_powerres.c
114
*acpi_pwr_find_consumer(ACPI_HANDLE consumer);
sys/dev/acpica/acpi_powerres.c
230
acpi_pwr_register_consumer(ACPI_HANDLE consumer)
sys/dev/acpica/acpi_powerres.c
238
if (acpi_pwr_find_consumer(consumer) != NULL)
sys/dev/acpica/acpi_powerres.c
246
pc->ac_consumer = consumer;
sys/dev/acpica/acpi_powerres.c
252
acpi_name(consumer)));
sys/dev/acpica/acpi_powerres.c
265
acpi_pwr_deregister_consumer(ACPI_HANDLE consumer)
sys/dev/acpica/acpi_powerres.c
273
if ((pc = acpi_pwr_find_consumer(consumer)) == NULL)
sys/dev/acpica/acpi_powerres.c
285
acpi_name(consumer)));
sys/dev/acpica/acpi_powerres.c
295
acpi_pwr_switch_consumer(ACPI_HANDLE consumer, int state)
sys/dev/acpica/acpi_powerres.c
307
if (consumer == NULL)
sys/dev/acpica/acpi_powerres.c
314
if ((pc = acpi_pwr_find_consumer(consumer)) == NULL) {
sys/dev/acpica/acpi_powerres.c
315
if (ACPI_FAILURE(status = acpi_pwr_register_consumer(consumer)))
sys/dev/acpica/acpi_powerres.c
317
if ((pc = acpi_pwr_find_consumer(consumer)) == NULL)
sys/dev/acpica/acpi_powerres.c
369
acpi_name(consumer), acpi_d_state_to_str(pc->ac_state),
sys/dev/acpica/acpi_powerres.c
382
if (ACPI_FAILURE(AcpiGetHandle(consumer, method_name, &method_handle)))
sys/dev/acpica/acpi_powerres.c
385
ACPI_FAILURE(AcpiGetHandle(consumer, reslist_name, &reslist_handle)))
sys/dev/acpica/acpi_powerres.c
406
if (ACPI_FAILURE(AcpiGetHandle(consumer, "_PR0", &pr0_handle))) {
sys/dev/acpica/acpi_powerres.c
418
acpi_name(consumer), acpi_d_state_to_str(state)));
sys/dev/acpica/acpi_powerres.c
482
acpi_name(consumer), acpi_d_state_to_str(state)));
sys/dev/acpica/acpi_powerres.c
517
acpi_pwr_wake_enable(ACPI_HANDLE consumer, int enable)
sys/dev/acpica/acpi_powerres.c
526
if (consumer == NULL)
sys/dev/acpica/acpi_powerres.c
530
if ((pc = acpi_pwr_find_consumer(consumer)) == NULL) {
sys/dev/acpica/acpi_powerres.c
531
if (ACPI_FAILURE(status = acpi_pwr_register_consumer(consumer)))
sys/dev/acpica/acpi_powerres.c
533
if ((pc = acpi_pwr_find_consumer(consumer)) == NULL)
sys/dev/acpica/acpi_powerres.c
538
if (acpi_parse_prw(consumer, &prw) != 0)
sys/dev/acpica/acpi_powerres.c
751
acpi_pwr_find_consumer(ACPI_HANDLE consumer)
sys/dev/acpica/acpi_powerres.c
759
if (pc->ac_consumer == consumer)
sys/dev/acpica/acpi_powerres.c
98
static ACPI_STATUS acpi_pwr_register_consumer(ACPI_HANDLE consumer);
sys/dev/acpica/acpivar.h
476
ACPI_STATUS acpi_pwr_wake_enable(ACPI_HANDLE consumer, int enable);
sys/dev/acpica/acpivar.h
477
ACPI_STATUS acpi_pwr_switch_consumer(ACPI_HANDLE consumer, int state);
sys/dev/cxgbe/t4_mp_ring.c
284
for (i = 0; i < nitems(r->consumer); i++) {
sys/dev/cxgbe/t4_mp_ring.c
285
if ((r->consumer[i] = counter_u64_alloc(flags)) == NULL)
sys/dev/cxgbe/t4_mp_ring.c
317
for (i = 0; i < nitems(r->consumer); i++) {
sys/dev/cxgbe/t4_mp_ring.c
318
if (r->consumer[i] != NULL)
sys/dev/cxgbe/t4_mp_ring.c
319
counter_u64_free(r->consumer[i]);
sys/dev/cxgbe/t4_mp_ring.c
348
bool consumer;
sys/dev/cxgbe/t4_mp_ring.c
414
counter_u64_add(r->consumer[C_FAST], 1);
sys/dev/cxgbe/t4_mp_ring.c
445
consumer = false;
sys/dev/cxgbe/t4_mp_ring.c
451
consumer = true;
sys/dev/cxgbe/t4_mp_ring.c
458
if (consumer)
sys/dev/cxgbe/t4_mp_ring.c
465
MPASS(cons > C_FAST && cons < nitems(r->consumer));
sys/dev/cxgbe/t4_mp_ring.c
466
counter_u64_add(r->consumer[cons], 1);
sys/dev/cxgbe/t4_mp_ring.c
587
for (i = 0; i < nitems(r->consumer); i++)
sys/dev/cxgbe/t4_mp_ring.c
588
counter_u64_zero(r->consumer[i]);
sys/dev/cxgbe/t4_mp_ring.c
627
CTLFLAG_RD, &r->consumer[C_FAST],
sys/dev/cxgbe/t4_mp_ring.c
630
CTLFLAG_RD, &r->consumer[C_2],
sys/dev/cxgbe/t4_mp_ring.c
633
CTLFLAG_RD, &r->consumer[C_3],
sys/dev/cxgbe/t4_mp_ring.c
636
CTLFLAG_RD, &r->consumer[C_TAKEOVER],
sys/dev/cxgbe/t4_mp_ring.h
50
counter_u64_t consumer[4];
sys/dev/fdt/fdt_clock.c
101
cnode = ofw_bus_get_node(consumer);
sys/dev/fdt/fdt_clock.c
132
fdt_clock_enable_all(device_t consumer)
sys/dev/fdt/fdt_clock.c
135
return (enable_disable_all(consumer, true));
sys/dev/fdt/fdt_clock.c
139
fdt_clock_disable_all(device_t consumer)
sys/dev/fdt/fdt_clock.c
142
return (enable_disable_all(consumer, false));
sys/dev/fdt/fdt_clock.c
49
enable_disable_all(device_t consumer, boolean_t enable)
sys/dev/fdt/fdt_clock.c
57
cnode = ofw_bus_get_node(consumer);
sys/dev/fdt/fdt_clock.c
61
device_printf(consumer, "Warning: No clocks specified in fdt "
sys/dev/fdt/fdt_clock.c
71
device_printf(consumer, "Warning: can not find "
sys/dev/fdt/fdt_clock.c
83
device_printf(consumer, "Warning: failed to "
sys/dev/fdt/fdt_clock.c
94
fdt_clock_get_info(device_t consumer, int n, struct fdt_clock_info *info)
sys/dev/fdt/fdt_clock.h
36
int fdt_clock_get_info(device_t consumer, int n, struct fdt_clock_info *info);
sys/dev/fdt/fdt_clock.h
42
int fdt_clock_enable_all(device_t consumer);
sys/dev/fdt/fdt_clock.h
43
int fdt_clock_disable_all(device_t consumer);
sys/dev/gpio/gpiobusvar.h
143
int gpio_pin_get_by_ofw_name(device_t consumer, phandle_t node,
sys/dev/gpio/gpiobusvar.h
145
int gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node,
sys/dev/gpio/gpiobusvar.h
147
int gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node,
sys/dev/gpio/gpiobusvar.h
149
int gpio_pin_get_by_ofw_propidx(device_t consumer, phandle_t node,
sys/dev/gpio/ofw_gpiobus.c
109
gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node,
sys/dev/gpio/ofw_gpiobus.c
113
return (gpio_pin_get_by_ofw_propidx(consumer, node, "gpios", idx, pin));
sys/dev/gpio/ofw_gpiobus.c
117
gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node,
sys/dev/gpio/ofw_gpiobus.c
121
return (gpio_pin_get_by_ofw_propidx(consumer, node, name, 0, pin));
sys/dev/gpio/ofw_gpiobus.c
125
gpio_pin_get_by_ofw_name(device_t consumer, phandle_t node,
sys/dev/gpio/ofw_gpiobus.c
130
KASSERT(consumer != NULL && node > 0,
sys/dev/gpio/ofw_gpiobus.c
136
return (gpio_pin_get_by_ofw_idx(consumer, node, idx, pin));
sys/dev/gpio/ofw_gpiobus.c
184
ofw_gpiobus_parse_gpios(device_t consumer, char *pname,
sys/dev/gpio/ofw_gpiobus.c
188
return (ofw_gpiobus_parse_gpios_impl(consumer,
sys/dev/gpio/ofw_gpiobus.c
189
ofw_bus_get_node(consumer), pname, NULL, pins));
sys/dev/gpio/ofw_gpiobus.c
280
ofw_gpiobus_parse_gpios_impl(device_t consumer, phandle_t cnode, char *pname,
sys/dev/gpio/ofw_gpiobus.c
290
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
321
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
327
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
336
device_printf(consumer, "no pin specified in %s.\n",
sys/dev/gpio/ofw_gpiobus.c
361
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
368
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
379
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
389
device_printf(consumer,
sys/dev/gpio/ofw_gpiobus.c
59
gpio_pin_get_by_ofw_propidx(device_t consumer, phandle_t cnode,
sys/dev/gpio/ofw_gpiobus.c
68
KASSERT(consumer != NULL && cnode > 0,
sys/dev/ntb/ntb_transport.c
195
int consumer;
sys/dev/ntb/ntb_transport.c
462
nc->consumer = i;
sys/dev/ntb/ntb_transport.c
569
retval += printf(" at consumer %d", nc->consumer);
sys/dev/ntb/ntb_transport.c
581
sbuf_printf(sb, "consumer=%d", nc->consumer);
sys/dev/phy/phy.h
145
int phy_get_by_ofw_name(device_t consumer, phandle_t node, char *name,
sys/dev/phy/phy.h
147
int phy_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, phy_t *phy);
sys/dev/phy/phy.h
148
int phy_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
sys/dev/pwm/ofw_pwm.c
40
pwm_get_by_ofw_propidx(device_t consumer, phandle_t node,
sys/dev/pwm/ofw_pwm.c
71
pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx,
sys/dev/pwm/ofw_pwm.c
75
return (pwm_get_by_ofw_propidx(consumer, node, "pwms", idx, out_channel));
sys/dev/pwm/ofw_pwm.c
79
pwm_get_by_ofw_property(device_t consumer, phandle_t node,
sys/dev/pwm/ofw_pwm.c
83
return (pwm_get_by_ofw_propidx(consumer, node, prop_name, 0, out_channel));
sys/dev/pwm/ofw_pwm.c
87
pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name,
sys/dev/pwm/ofw_pwm.c
96
return (pwm_get_by_ofw_idx(consumer, node, idx, out_channel));
sys/dev/pwm/ofw_pwm.h
43
int pwm_get_by_ofw_propidx(device_t consumer, phandle_t node,
sys/dev/pwm/ofw_pwm.h
45
int pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx,
sys/dev/pwm/ofw_pwm.h
47
int pwm_get_by_ofw_property(device_t consumer, phandle_t node,
sys/dev/pwm/ofw_pwm.h
49
int pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name,
sys/dev/syscon/syscon.h
72
int syscon_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
sys/geom/cache/g_cache.c
309
g_io_request(cbp, LIST_FIRST(&bp->bio_to->geom->consumer));
sys/geom/cache/g_cache.c
401
g_io_request(cbp, LIST_FIRST(&gp->consumer));
sys/geom/cache/g_cache.c
441
cp = LIST_FIRST(&gp->consumer);
sys/geom/cache/g_cache.c
838
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/concat/g_concat.c
1103
fcp = LIST_FIRST(&gp->consumer);
sys/geom/concat/g_concat.c
147
if (LIST_EMPTY(&sc->sc_geom->consumer))
sys/geom/concat/g_concat.c
191
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
sys/geom/concat/g_concat.c
206
LIST_FOREACH(cp2, &gp->consumer, consumer) {
sys/geom/concat/g_concat.c
556
fcp = LIST_FIRST(&gp->consumer);
sys/geom/concat/g_concat.c
704
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
sys/geom/concat/g_concat.c
709
if (!LIST_EMPTY(&gp->consumer))
sys/geom/eli/g_eli.c
522
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli.c
550
LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize);
sys/geom/eli/g_eli_ctl.c
1006
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_ctl.c
1064
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_ctl.c
183
cp = LIST_FIRST(&gp->consumer);
sys/geom/eli/g_eli_ctl.c
568
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_ctl.c
671
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_ctl.c
778
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_integrity.c
150
LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
sys/geom/eli/g_eli_integrity.c
185
encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
sys/geom/eli/g_eli_integrity.c
214
encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
sys/geom/eli/g_eli_integrity.c
330
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_integrity.c
383
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/eli/g_eli_integrity.c
466
encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
sys/geom/eli/g_eli_key_cache.c
205
pp = LIST_FIRST(&sc->sc_geom->consumer)->provider;
sys/geom/eli/g_eli_key_cache.c
266
pp = LIST_FIRST(&sc->sc_geom->consumer)->provider;
sys/geom/eli/g_eli_privacy.c
190
cp = LIST_FIRST(&gp->consumer);
sys/geom/eli/g_eli_privacy.c
235
cp = LIST_FIRST(&sc->sc_geom->consumer);
sys/geom/geom.h
134
LIST_HEAD(,g_consumer) consumer;
sys/geom/geom.h
176
LIST_ENTRY(g_consumer) consumer;
sys/geom/geom_ccd.c
199
LIST_FOREACH(cp1, &gp->consumer, consumer) {
sys/geom/geom_ccd.c
202
LIST_FOREACH(cp2, &gp->consumer, consumer) {
sys/geom/geom_ctl.c
519
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_ctl.c
530
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/geom_dump.c
261
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_dump.c
76
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/geom_slice.c
104
cp = LIST_FIRST(&gp->consumer);
sys/geom/geom_slice.c
169
cp = LIST_FIRST(&gp->consumer);
sys/geom/geom_slice.c
226
cp = LIST_FIRST(&gp->consumer);
sys/geom/geom_slice.c
408
pp2 = LIST_FIRST(&gp->consumer)->provider;
sys/geom/geom_slice.c
461
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_slice.c
517
g_slice_spoiled(LIST_FIRST(&gp->consumer));
sys/geom/geom_subr.c
1202
if (LIST_EMPTY(&gp->provider) && LIST_EMPTY(&gp->consumer))
sys/geom/geom_subr.c
1387
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_subr.c
1535
if (LIST_EMPTY(&gp->consumer))
sys/geom/geom_subr.c
1553
if (!LIST_EMPTY(&gp->consumer)) {
sys/geom/geom_subr.c
1554
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/geom_subr.c
201
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_subr.c
385
LIST_INIT(&gp->consumer);
sys/geom/geom_subr.c
427
KASSERT(LIST_EMPTY(&gp->consumer),
sys/geom/geom_subr.c
429
gp->name, LIST_FIRST(&gp->consumer)));
sys/geom/geom_subr.c
482
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/geom_subr.c
515
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp2) {
sys/geom/geom_subr.c
523
LIST_EMPTY(&gp->consumer))
sys/geom/geom_subr.c
547
LIST_INSERT_HEAD(&gp->consumer, cp, consumer);
sys/geom/geom_subr.c
565
LIST_REMOVE(cp, consumer);
sys/geom/geom_subr.c
869
LIST_FOREACH(cp, &gp1->consumer, consumer) {
sys/geom/journal/g_journal.c
2442
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/label/g_label.c
299
g_slice_spoiled(LIST_FIRST(&gp->consumer));
sys/geom/linux_lvm/g_linux_lvm.c
129
LIST_FOREACH(c, &gp->consumer, consumer) {
sys/geom/linux_lvm/g_linux_lvm.c
136
LIST_FOREACH(c2, &gp->consumer, consumer) {
sys/geom/linux_lvm/g_linux_lvm.c
421
fcp = LIST_FIRST(&gp->consumer);
sys/geom/mirror/g_mirror.c
1887
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/mirror/g_mirror.c
1892
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/mirror/g_mirror.c
600
LIST_FOREACH_SAFE(cp, &sc->sc_sync.ds_geom->consumer, consumer, tmpcp) {
sys/geom/mirror/g_mirror_ctl.c
622
struct g_consumer *consumer;
sys/geom/mirror/g_mirror_ctl.c
721
disks[n].consumer = cp;
sys/geom/mirror/g_mirror_ctl.c
733
if (disks[i].consumer == NULL)
sys/geom/mirror/g_mirror_ctl.c
749
error = g_write_data(disks[i].consumer,
sys/geom/mirror/g_mirror_ctl.c
755
g_access(disks[i].consumer, 0, -1, -1);
sys/geom/mirror/g_mirror_ctl.c
756
g_detach(disks[i].consumer);
sys/geom/mirror/g_mirror_ctl.c
757
g_destroy_consumer(disks[i].consumer);
sys/geom/mirror/g_mirror_ctl.c
758
disks[i].consumer = NULL;
sys/geom/mirror/g_mirror_ctl.c
779
if (disks[i].consumer == NULL)
sys/geom/mirror/g_mirror_ctl.c
781
g_access(disks[i].consumer, 0, -1, -1);
sys/geom/mirror/g_mirror_ctl.c
782
g_detach(disks[i].consumer);
sys/geom/mirror/g_mirror_ctl.c
783
g_destroy_consumer(disks[i].consumer);
sys/geom/mountver/g_mountver.c
149
cp = LIST_FIRST(&gp->consumer);
sys/geom/mountver/g_mountver.c
253
cp = LIST_FIRST(&gp->consumer);
sys/geom/mountver/g_mountver.c
528
cp = LIST_FIRST(&gp->consumer);
sys/geom/mountver/g_mountver.c
586
cp = LIST_FIRST(&gp->consumer);
sys/geom/multipath/g_multipath.c
1048
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
1242
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
1297
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
sys/geom/multipath/g_multipath.c
130
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
1465
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
148
LIST_FOREACH(lcp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
165
LIST_FOREACH(lcp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
191
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
236
if (LIST_EMPTY(&gp->consumer))
sys/geom/multipath/g_multipath.c
290
LIST_FOREACH(cp1, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
499
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
521
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
594
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
683
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
sys/geom/multipath/g_multipath.c
694
if (!LIST_EMPTY(&gp->consumer))
sys/geom/multipath/g_multipath.c
722
LIST_FOREACH(lcp, &gp->consumer, consumer) {
sys/geom/multipath/g_multipath.c
977
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/nop/g_nop.c
170
g_io_request(cbp, LIST_FIRST(&gp->consumer));
sys/geom/nop/g_nop.c
327
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
1021
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
1209
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
1307
LIST_FIRST(&gp->consumer));
sys/geom/part/g_part.c
1494
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
1860
error = g_access(LIST_FIRST(&gpp.gpp_geom->consumer),
sys/geom/part/g_part.c
1940
g_access(LIST_FIRST(&gpp.gpp_geom->consumer), -1, -1, -1);
sys/geom/part/g_part.c
2068
cp = LIST_FIRST(&pp->geom->consumer);
sys/geom/part/g_part.c
2236
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
2376
LIST_FOREACH(cp, &gp->consumer, consumer)
sys/geom/part/g_part.c
479
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part.c
735
pp = LIST_FIRST(&gp->consumer)->provider;
sys/geom/part/g_part.c
899
cp = LIST_FIRST(&gp->consumer);
sys/geom/part/g_part_apm.c
366
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_bsd.c
333
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_bsd64.c
360
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_bsd64.c
448
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_ebr.c
257
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_ebr.c
417
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_gpt.c
1101
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_gpt.c
1154
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_gpt.c
734
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_ldm.c
1153
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/part/g_part_ldm.c
1353
cp = LIST_FIRST(&cp->geom->consumer); /* ms-ldm-metadata */
sys/geom/part/g_part_ldm.c
453
cp2 = LIST_FIRST(&pp->geom->consumer);
sys/geom/part/g_part_ldm.c
547
cp2 = LIST_NEXT(cp, consumer);
sys/geom/part/g_part_mbr.c
382
pp = LIST_FIRST(&basetable->gpt_gp->consumer)->provider;
sys/geom/raid3/g_raid3.c
1991
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/raid3/g_raid3.c
1996
LIST_FOREACH(cp, &gp->consumer, consumer) {
sys/geom/raid3/g_raid3.c
677
cp = LIST_FIRST(&sc->sc_sync.ds_geom->consumer);
sys/geom/shsec/g_shsec.c
187
if (LIST_EMPTY(&gp->consumer))
sys/geom/shsec/g_shsec.c
210
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
sys/geom/shsec/g_shsec.c
222
if (LIST_EMPTY(&gp->consumer))
sys/geom/shsec/g_shsec.c
229
LIST_FOREACH(cp2, &gp->consumer, consumer) {
sys/geom/shsec/g_shsec.c
478
fcp = LIST_FIRST(&gp->consumer);
sys/geom/stripe/g_stripe.c
180
if (LIST_EMPTY(&sc->sc_geom->consumer))
sys/geom/stripe/g_stripe.c
219
LIST_FOREACH_SAFE(cp1, &gp->consumer, consumer, tmp) {
sys/geom/stripe/g_stripe.c
231
LIST_FOREACH(cp2, &gp->consumer, consumer) {
sys/geom/stripe/g_stripe.c
763
fcp = LIST_FIRST(&gp->consumer);
sys/geom/stripe/g_stripe.c
919
LIST_FOREACH_SAFE(cp, &gp->consumer, consumer, cp1) {
sys/geom/stripe/g_stripe.c
924
if (!LIST_EMPTY(&gp->consumer))
sys/geom/uzip/g_uzip.c
235
cp = LIST_FIRST(&gp->consumer);
sys/geom/uzip/g_uzip.c
362
cp = LIST_FIRST(&gp->consumer);
sys/geom/uzip/g_uzip.c
488
cp = LIST_FIRST(&gp->consumer);
sys/geom/uzip/g_uzip.c
540
cp = LIST_FIRST(&gp->consumer);
sys/geom/virstor/g_virstor.c
1138
fcp = LIST_FIRST(&gp->consumer);
sys/geom/virstor/g_virstor.c
1390
if (LIST_EMPTY(&gp->consumer))
sys/geom/virstor/g_virstor.c
1421
LIST_FOREACH_SAFE(c, &gp->consumer, consumer, tmp) {
sys/geom/virstor/g_virstor.c
1432
if (sc != NULL && LIST_EMPTY(&gp->consumer))
sys/geom/virstor/g_virstor.c
1439
LIST_FOREACH(c2, &gp->consumer, consumer) {
tools/test/buf_ring/buf_ring_test.c
290
ret = pthread_create(&cons[0], NULL, consumer, NULL);
tools/test/buf_ring/buf_ring_test.c
293
ret = pthread_create(&cons[1], NULL, consumer, NULL);
usr.bin/fstat/fuser.c
109
static void printflags(struct consumer *consumer);
usr.bin/fstat/fuser.c
125
printflags(struct consumer *cons)
usr.bin/fstat/fuser.c
161
struct consumer *consumer;
usr.bin/fstat/fuser.c
250
STAILQ_FOREACH(consumer, &reqfiles[i].consumers, next) {
usr.bin/fstat/fuser.c
251
if (consumer->flags != 0) {
usr.bin/fstat/fuser.c
252
fprintf(stdout, "%6d", consumer->pid);
usr.bin/fstat/fuser.c
254
printflags(consumer);
usr.bin/fstat/fuser.c
257
user_from_uid(consumer->uid, 0));
usr.bin/fstat/fuser.c
259
kill(consumer->pid, sig);
usr.bin/fstat/fuser.c
276
struct consumer *cons;
usr.bin/fstat/fuser.c
326
cons = calloc(1, sizeof(struct consumer));
usr.bin/fstat/fuser.c
89
STAILQ_ENTRY(consumer) next;
usr.bin/fstat/fuser.c
95
STAILQ_HEAD(, consumer) consumers;