lib/libc/stdio/findfp.c
68
std(__SRD, STDIN_FILENO),
lib/libc/stdio/findfp.c
69
std(__SWR, STDOUT_FILENO),
lib/libc/stdio/findfp.c
70
std(__SWR|__SNBF, STDERR_FILENO)
sbin/devd/devd.cc
120
using namespace std;
sbin/devd/devd.hh
108
std::string _var;
sbin/devd/devd.hh
123
std::string _cmd;
sbin/devd/devd.hh
138
std::vector<eps *> _epsvec;
sbin/devd/devd.hh
161
const std::string &get_variable(const std::string &var);
sbin/devd/devd.hh
162
const std::string expand_string(const char * var,
sbin/devd/devd.hh
167
void sort_vector(std::vector<event_proc *> &);
sbin/devd/devd.hh
170
void expand_one(const char *&src, std::string &dst);
sbin/devd/devd.hh
174
std::vector<std::string> _dir_list;
sbin/devd/devd.hh
175
std::string _pidfile;
sbin/devd/devd.hh
176
std::vector<var_list *> _var_list_table;
sbin/devd/devd.hh
177
std::vector<event_proc *> _attach_list;
sbin/devd/devd.hh
178
std::vector<event_proc *> _detach_list;
sbin/devd/devd.hh
179
std::vector<event_proc *> _nomatch_list;
sbin/devd/devd.hh
180
std::vector<event_proc *> _notify_list;
sbin/devd/devd.hh
46
void set_variable(const std::string &var, const std::string &val);
sbin/devd/devd.hh
50
const std::string &get_variable(const std::string &var) const;
sbin/devd/devd.hh
53
bool is_set(const std::string &var) const;
sbin/devd/devd.hh
56
static const std::string bogus;
sbin/devd/devd.hh
57
static const std::string nothing;
sbin/devd/devd.hh
59
std::map<std::string, std::string> _vars;
sbin/devd/devd.hh
91
std::string _var;
sbin/devd/devd.hh
92
std::string _re;
sys/bus/u4b/controller/ehci.c
1032
#define EHCI_REMOVE_FS_TD(std,last) (last) = _ehci_remove_fs_td(std,last)
sys/bus/u4b/controller/ehci.c
1034
_ehci_remove_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
sys/bus/u4b/controller/ehci.c
1036
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/ehci.c
1040
std->prev->next = std->next;
sys/bus/u4b/controller/ehci.c
1041
std->prev->sitd_next = std->sitd_next;
sys/bus/u4b/controller/ehci.c
1043
usb_pc_cpu_flush(std->prev->page_cache);
sys/bus/u4b/controller/ehci.c
1045
if (std->next) {
sys/bus/u4b/controller/ehci.c
1046
std->next->prev = std->prev;
sys/bus/u4b/controller/ehci.c
1047
usb_pc_cpu_flush(std->next->page_cache);
sys/bus/u4b/controller/ehci.c
1049
return ((last == std) ? std->prev : last);
sys/bus/u4b/controller/ehci.c
1052
#define EHCI_REMOVE_HS_TD(std,last) (last) = _ehci_remove_hs_td(std,last)
sys/bus/u4b/controller/ehci.c
1054
_ehci_remove_hs_td(ehci_itd_t *std, ehci_itd_t *last)
sys/bus/u4b/controller/ehci.c
1056
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/ehci.c
1060
std->prev->next = std->next;
sys/bus/u4b/controller/ehci.c
1061
std->prev->itd_next = std->itd_next;
sys/bus/u4b/controller/ehci.c
1063
usb_pc_cpu_flush(std->prev->page_cache);
sys/bus/u4b/controller/ehci.c
1065
if (std->next) {
sys/bus/u4b/controller/ehci.c
1066
std->next->prev = std->prev;
sys/bus/u4b/controller/ehci.c
1067
usb_pc_cpu_flush(std->next->page_cache);
sys/bus/u4b/controller/ehci.c
1069
return ((last == std) ? std->prev : last);
sys/bus/u4b/controller/ehci.c
948
#define EHCI_APPEND_FS_TD(std,last) (last) = _ehci_append_fs_td(std,last)
sys/bus/u4b/controller/ehci.c
950
_ehci_append_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
sys/bus/u4b/controller/ehci.c
952
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/ehci.c
956
std->next = last->next;
sys/bus/u4b/controller/ehci.c
957
std->sitd_next = last->sitd_next;
sys/bus/u4b/controller/ehci.c
959
std->prev = last;
sys/bus/u4b/controller/ehci.c
961
usb_pc_cpu_flush(std->page_cache);
sys/bus/u4b/controller/ehci.c
966
last->next = std;
sys/bus/u4b/controller/ehci.c
967
last->sitd_next = std->sitd_self;
sys/bus/u4b/controller/ehci.c
971
return (std);
sys/bus/u4b/controller/ehci.c
974
#define EHCI_APPEND_HS_TD(std,last) (last) = _ehci_append_hs_td(std,last)
sys/bus/u4b/controller/ehci.c
976
_ehci_append_hs_td(ehci_itd_t *std, ehci_itd_t *last)
sys/bus/u4b/controller/ehci.c
978
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/ehci.c
982
std->next = last->next;
sys/bus/u4b/controller/ehci.c
983
std->itd_next = last->itd_next;
sys/bus/u4b/controller/ehci.c
985
std->prev = last;
sys/bus/u4b/controller/ehci.c
987
usb_pc_cpu_flush(std->page_cache);
sys/bus/u4b/controller/ehci.c
992
last->next = std;
sys/bus/u4b/controller/ehci.c
993
last->itd_next = std->itd_self;
sys/bus/u4b/controller/ehci.c
997
return (std);
sys/bus/u4b/controller/ohci.c
523
ohci_dump_tds(ohci_td_t *std)
sys/bus/u4b/controller/ohci.c
525
for (; std; std = std->obj_next) {
sys/bus/u4b/controller/ohci.c
526
if (ohci_dump_td(std)) {
sys/bus/u4b/controller/ohci.c
533
ohci_dump_td(ohci_td_t *std)
sys/bus/u4b/controller/ohci.c
538
usb_pc_cpu_invalidate(std->page_cache);
sys/bus/u4b/controller/ohci.c
540
td_flags = le32toh(std->td_flags);
sys/bus/u4b/controller/ohci.c
541
temp = (std->td_next == 0);
sys/bus/u4b/controller/ohci.c
545
std, le32toh(std->td_self),
sys/bus/u4b/controller/ohci.c
554
le32toh(std->td_cbp),
sys/bus/u4b/controller/ohci.c
555
le32toh(std->td_next),
sys/bus/u4b/controller/ohci.c
556
le32toh(std->td_be));
sys/bus/u4b/controller/uhci.c
890
#define UHCI_APPEND_TD(std,last) (last) = _uhci_append_td(std,last)
sys/bus/u4b/controller/uhci.c
892
_uhci_append_td(uhci_td_t *std, uhci_td_t *last)
sys/bus/u4b/controller/uhci.c
894
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/uhci.c
898
std->next = last->next;
sys/bus/u4b/controller/uhci.c
899
std->td_next = last->td_next;
sys/bus/u4b/controller/uhci.c
901
std->prev = last;
sys/bus/u4b/controller/uhci.c
903
usb_pc_cpu_flush(std->page_cache);
sys/bus/u4b/controller/uhci.c
908
last->next = std;
sys/bus/u4b/controller/uhci.c
909
last->td_next = std->td_self;
sys/bus/u4b/controller/uhci.c
913
return (std);
sys/bus/u4b/controller/uhci.c
952
#define UHCI_REMOVE_TD(std,last) (last) = _uhci_remove_td(std,last)
sys/bus/u4b/controller/uhci.c
954
_uhci_remove_td(uhci_td_t *std, uhci_td_t *last)
sys/bus/u4b/controller/uhci.c
956
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/uhci.c
960
std->prev->next = std->next;
sys/bus/u4b/controller/uhci.c
961
std->prev->td_next = std->td_next;
sys/bus/u4b/controller/uhci.c
963
usb_pc_cpu_flush(std->prev->page_cache);
sys/bus/u4b/controller/uhci.c
965
if (std->next) {
sys/bus/u4b/controller/uhci.c
966
std->next->prev = std->prev;
sys/bus/u4b/controller/uhci.c
967
usb_pc_cpu_flush(std->next->page_cache);
sys/bus/u4b/controller/uhci.c
969
return ((last == std) ? std->prev : last);
sys/bus/u4b/uvc/uvc_v4l2.c
167
uvc_v4l2_enumstd(struct v4l2_standard *std)
sys/bus/u4b/uvc/uvc_v4l2.c
169
std->id = V4L2_STD_UNKNOWN;
sys/bus/u4b/uvc/uvc_v4l2.c
171
std->framelines = (std->id & V4L2_STD_525_60) ? 525 : 625;
sys/bus/u4b/uvc/uvc_v4l2.c
172
if (std->id & V4L2_STD_525_60) {
sys/bus/u4b/uvc/uvc_v4l2.c
173
std->frameperiod.numerator = 1001;
sys/bus/u4b/uvc/uvc_v4l2.c
174
std->frameperiod.denominator = 30000;
sys/bus/u4b/uvc/uvc_v4l2.c
176
std->frameperiod.numerator = 1;
sys/bus/u4b/uvc/uvc_v4l2.c
177
std->frameperiod.denominator = 25;
sys/bus/u4b/uvc/uvc_v4l2.c
179
strncpy(std->name, "UVC Camera", sizeof(std->name) - 1);
sys/cpu/x86_64/include/asm_mjgmacros.h
449
std
sys/dev/drm/drm_edid.c
2685
struct std_timing *std;
sys/dev/drm/drm_edid.c
2688
std = &data->data.timings[i];
sys/dev/drm/drm_edid.c
2689
newmode = drm_mode_std(connector, edid, std);
sys/dev/netif/bnx/if_bnx.c
1870
struct bnx_rx_std_ring *std;
sys/dev/netif/bnx/if_bnx.c
2488
std = &sc->bnx_rx_std_ring;
sys/dev/netif/bnx/if_bnx.c
2489
lwkt_create(bnx_rx_std_refill_ithread, std, &std->bnx_rx_std_ithread,
sys/dev/netif/bnx/if_bnx.c
2492
lwkt_setpri(std->bnx_rx_std_ithread, TDPRI_INT_MED);
sys/dev/netif/bnx/if_bnx.c
2493
std->bnx_rx_std_ithread->td_preemptable = lwkt_preempt;
sys/dev/netif/bnx/if_bnx.c
2505
struct bnx_rx_std_ring *std = &sc->bnx_rx_std_ring;
sys/dev/netif/bnx/if_bnx.c
2518
if (std->bnx_rx_std_ithread != NULL) {
sys/dev/netif/bnx/if_bnx.c
2519
tsleep_interlock(std, 0);
sys/dev/netif/bnx/if_bnx.c
2521
if (std->bnx_rx_std_ithread->td_gd == mycpu) {
sys/dev/netif/bnx/if_bnx.c
2522
bnx_rx_std_refill_stop(std);
sys/dev/netif/bnx/if_bnx.c
2524
lwkt_send_ipiq(std->bnx_rx_std_ithread->td_gd,
sys/dev/netif/bnx/if_bnx.c
2525
bnx_rx_std_refill_stop, std);
sys/dev/netif/bnx/if_bnx.c
2528
tsleep(std, PINTERLOCKED, "bnx_detach", 0);
sys/dev/netif/bnx/if_bnx.c
2795
struct bnx_rx_std_ring *std = ret->bnx_std;
sys/dev/netif/bnx/if_bnx.c
2826
atomic_add_int(&std->bnx_rx_std_used, std_used);
sys/dev/netif/bnx/if_bnx.c
2829
bnx_rx_std_refill_sched(ret, std);
sys/dev/netif/bnx/if_bnx.c
2834
rb = &std->bnx_rx_std_buf[rxidx];
sys/dev/netif/bnx/if_bnx.c
2888
cur_std_used = atomic_fetchadd_int(&std->bnx_rx_std_used,
sys/dev/netif/bnx/if_bnx.c
2894
bnx_rx_std_refill_sched(ret, std);
sys/dev/netif/bnx/if_bnx.c
4102
struct bnx_rx_std_ring *std = &sc->bnx_rx_std_ring;
sys/dev/netif/bnx/if_bnx.c
4113
if (std->bnx_rx_mtag != NULL) {
sys/dev/netif/bnx/if_bnx.c
4115
KKASSERT(std->bnx_rx_std_buf[i].bnx_rx_mbuf == NULL);
sys/dev/netif/bnx/if_bnx.c
4116
bus_dmamap_destroy(std->bnx_rx_mtag,
sys/dev/netif/bnx/if_bnx.c
4117
std->bnx_rx_std_buf[i].bnx_rx_dmamap);
sys/dev/netif/bnx/if_bnx.c
4119
bus_dma_tag_destroy(std->bnx_rx_mtag);
sys/dev/netif/bnx/if_bnx.c
4123
bnx_dma_block_free(std->bnx_rx_std_ring_tag,
sys/dev/netif/bnx/if_bnx.c
4124
std->bnx_rx_std_ring_map, std->bnx_rx_std_ring);
sys/dev/netif/bnx/if_bnx.c
4153
struct bnx_rx_std_ring *std = &sc->bnx_rx_std_ring;
sys/dev/netif/bnx/if_bnx.c
4201
std->bnx_sc = sc;
sys/dev/netif/bnx/if_bnx.c
4202
lwkt_serialize_init(&std->bnx_rx_std_serialize);
sys/dev/netif/bnx/if_bnx.c
4206
BUS_DMA_ALLOCNOW | BUS_DMA_WAITOK, &std->bnx_rx_mtag);
sys/dev/netif/bnx/if_bnx.c
4213
error = bus_dmamap_create(std->bnx_rx_mtag, BUS_DMA_WAITOK,
sys/dev/netif/bnx/if_bnx.c
4214
&std->bnx_rx_std_buf[i].bnx_rx_dmamap);
sys/dev/netif/bnx/if_bnx.c
4219
bus_dmamap_destroy(std->bnx_rx_mtag,
sys/dev/netif/bnx/if_bnx.c
4220
std->bnx_rx_std_buf[j].bnx_rx_dmamap);
sys/dev/netif/bnx/if_bnx.c
4222
bus_dma_tag_destroy(std->bnx_rx_mtag);
sys/dev/netif/bnx/if_bnx.c
4223
std->bnx_rx_mtag = NULL;
sys/dev/netif/bnx/if_bnx.c
4235
&std->bnx_rx_std_ring_tag,
sys/dev/netif/bnx/if_bnx.c
4236
&std->bnx_rx_std_ring_map,
sys/dev/netif/bnx/if_bnx.c
4237
(void *)&std->bnx_rx_std_ring,
sys/dev/netif/bnx/if_bnx.c
4238
&std->bnx_rx_std_ring_paddr);
sys/dev/netif/bnx/if_bnx.c
4257
ret->bnx_std = std;
sys/dev/netif/bnx/if_bnx.c
5572
struct bnx_rx_std_ring *std = xstd;
sys/dev/netif/bnx/if_bnx.c
5577
while (!std->bnx_rx_std_stop) {
sys/dev/netif/bnx/if_bnx.c
5578
if (std->bnx_rx_std_refill) {
sys/dev/netif/bnx/if_bnx.c
5580
&std->bnx_rx_std_serialize,
sys/dev/netif/bnx/if_bnx.c
5581
bnx_rx_std_refill, std, NULL);
sys/dev/netif/bnx/if_bnx.c
5587
atomic_poll_release_int(&std->bnx_rx_std_running);
sys/dev/netif/bnx/if_bnx.c
5590
if (!std->bnx_rx_std_refill && !std->bnx_rx_std_stop) {
sys/dev/netif/bnx/if_bnx.c
5598
wakeup(std);
sys/dev/netif/bnx/if_bnx.c
5606
struct bnx_rx_std_ring *std = xstd;
sys/dev/netif/bnx/if_bnx.c
5613
refill_mask = std->bnx_rx_std_refill;
sys/dev/netif/bnx/if_bnx.c
5614
atomic_clear_int(&std->bnx_rx_std_refill, refill_mask);
sys/dev/netif/bnx/if_bnx.c
5617
uint16_t check_idx = std->bnx_rx_std;
sys/dev/netif/bnx/if_bnx.c
5626
rb = &std->bnx_rx_std_buf[check_idx];
sys/dev/netif/bnx/if_bnx.c
5630
bnx_setup_rxdesc_std(std, check_idx);
sys/dev/netif/bnx/if_bnx.c
5631
std->bnx_rx_std = check_idx;
sys/dev/netif/bnx/if_bnx.c
5635
&std->bnx_rx_std_used, cnt);
sys/dev/netif/bnx/if_bnx.c
5636
bnx_writembx(std->bnx_sc,
sys/dev/netif/bnx/if_bnx.c
5638
std->bnx_rx_std);
sys/dev/netif/bnx/if_bnx.c
5649
atomic_subtract_int(&std->bnx_rx_std_used, cnt);
sys/dev/netif/bnx/if_bnx.c
5650
bnx_writembx(std->bnx_sc, BGE_MBX_RX_STD_PROD_LO,
sys/dev/netif/bnx/if_bnx.c
5651
std->bnx_rx_std);
sys/dev/netif/bnx/if_bnx.c
5654
if (std->bnx_rx_std_refill)
sys/dev/netif/bnx/if_bnx.c
5657
atomic_poll_release_int(&std->bnx_rx_std_running);
sys/dev/netif/bnx/if_bnx.c
5660
if (std->bnx_rx_std_refill)
sys/dev/netif/bnx/if_bnx.c
6041
struct bnx_rx_std_ring *std = ret->bnx_std;
sys/dev/netif/bnx/if_bnx.c
6046
atomic_set_int(&std->bnx_rx_std_refill, ret->bnx_rx_mask);
sys/dev/netif/bnx/if_bnx.c
6049
KKASSERT(std->bnx_rx_std_ithread->td_gd == gd);
sys/dev/netif/bnx/if_bnx.c
6050
lwkt_schedule(std->bnx_rx_std_ithread);
sys/dev/netif/bnx/if_bnx.c
6058
struct bnx_rx_std_ring *std = xstd;
sys/dev/netif/bnx/if_bnx.c
6063
std->bnx_rx_std_stop = 1;
sys/dev/netif/bnx/if_bnx.c
6066
KKASSERT(std->bnx_rx_std_ithread->td_gd == gd);
sys/dev/netif/bnx/if_bnx.c
6067
lwkt_schedule(std->bnx_rx_std_ithread);
sys/dev/netif/bnx/if_bnx.c
6088
struct bnx_rx_std_ring *std)
sys/dev/netif/bnx/if_bnx.c
6097
atomic_set_int(&std->bnx_rx_std_refill, ret->bnx_rx_mask);
sys/dev/netif/bnx/if_bnx.c
6099
if (atomic_poll_acquire_int(&std->bnx_rx_std_running)) {
sys/dev/netif/bnx/if_bnx.c
6100
if (std->bnx_rx_std_ithread->td_gd == gd) {
sys/dev/netif/bnx/if_bnx.c
6101
lwkt_schedule(std->bnx_rx_std_ithread);
sys/dev/netif/bnx/if_bnx.c
6103
lwkt_send_ipiq(std->bnx_rx_std_ithread->td_gd,
sys/dev/netif/bnx/if_bnx.c
851
bnx_setup_rxdesc_std(struct bnx_rx_std_ring *std, int i)
sys/dev/netif/bnx/if_bnx.c
858
rb = &std->bnx_rx_std_buf[i];
sys/dev/netif/bnx/if_bnx.c
868
r = &std->bnx_rx_std_ring[i];
sys/dev/netif/bnx/if_bnx.c
941
bnx_init_rx_ring_std(struct bnx_rx_std_ring *std)
sys/dev/netif/bnx/if_bnx.c
947
error = bnx_newbuf_std(&std->bnx_sc->bnx_rx_ret_ring[0], i, 1);
sys/dev/netif/bnx/if_bnx.c
950
bnx_setup_rxdesc_std(std, i);
sys/dev/netif/bnx/if_bnx.c
953
std->bnx_rx_std_used = 0;
sys/dev/netif/bnx/if_bnx.c
954
std->bnx_rx_std_refill = 0;
sys/dev/netif/bnx/if_bnx.c
955
std->bnx_rx_std_running = 0;
sys/dev/netif/bnx/if_bnx.c
957
lwkt_serialize_handler_enable(&std->bnx_rx_std_serialize);
sys/dev/netif/bnx/if_bnx.c
959
std->bnx_rx_std = BGE_STD_RX_RING_CNT - 1;
sys/dev/netif/bnx/if_bnx.c
960
bnx_writembx(std->bnx_sc, BGE_MBX_RX_STD_PROD_LO, std->bnx_rx_std);
sys/dev/netif/bnx/if_bnx.c
966
bnx_free_rx_ring_std(struct bnx_rx_std_ring *std)
sys/dev/netif/bnx/if_bnx.c
970
lwkt_serialize_handler_disable(&std->bnx_rx_std_serialize);
sys/dev/netif/bnx/if_bnx.c
973
struct bnx_rx_buf *rb = &std->bnx_rx_std_buf[i];
sys/dev/netif/bnx/if_bnx.c
977
bus_dmamap_unload(std->bnx_rx_mtag, rb->bnx_rx_dmamap);
sys/dev/netif/bnx/if_bnx.c
981
bzero(&std->bnx_rx_std_ring[i], sizeof(struct bge_rx_bd));
sys/dev/video/bktr/msp34xx.c
1001
std = 0x0040;
sys/dev/video/bktr/msp34xx.c
1005
std = 1;
sys/dev/video/bktr/msp34xx.c
1009
msp3400c_write(client, I2C_MSP3400C_DEM, 0x20, std);
sys/dev/video/bktr/msp34xx.c
1014
if (modelist[i].retval == std)
sys/dev/video/bktr/msp34xx.c
1018
std));
sys/dev/video/bktr/msp34xx.c
1021
if (std != 1) {
sys/dev/video/bktr/msp34xx.c
1023
val = std;
sys/dev/video/bktr/msp34xx.c
939
int mode,val,i,std;
sys/dev/video/bktr/msp34xx.c
989
std = 1;
sys/dev/video/bktr/msp34xx.c
993
std = 0x0020;
sys/dev/video/bktr/msp34xx.c
997
std = 1;
sys/kern/lwkt_thread.c
1687
thread_t std;
sys/kern/lwkt_thread.c
1713
if ((std = gd->gd_freetd) != NULL) {
sys/kern/lwkt_thread.c
1714
KKASSERT((std->td_flags & (TDF_RUNNING|TDF_PREEMPT_LOCK)) == 0);
sys/kern/lwkt_thread.c
1716
objcache_put(thread_cache, std);
sys/vfs/hammer/hammer_ioctl.c
42
struct hammer_ioc_synctid *std);
sys/vfs/hammer/hammer_ioctl.c
510
struct hammer_ioc_synctid *std)
sys/vfs/hammer/hammer_ioctl.c
515
switch(std->op) {
sys/vfs/hammer/hammer_ioctl.c
517
std->tid = hmp->flusher.tid; /* inaccurate */
sys/vfs/hammer/hammer_ioctl.c
522
std->tid = hmp->flusher.tid; /* inaccurate */
sys/vfs/hammer/hammer_ioctl.c
527
std->tid = hmp->flusher.tid;
sys/vfs/hammer/hammer_ioctl.c
532
std->tid = hmp->flusher.tid;
usr.sbin/config/mkmakefile.c
233
int nreqs, first = 1, configdep, isdup, std, filetype,
usr.sbin/config/mkmakefile.c
316
std = mandatory = nonoptional = 0;
usr.sbin/config/mkmakefile.c
323
std = 1;
usr.sbin/config/mkmakefile.c
430
if (std && dp->d_type == PSEUDO_DEVICE &&
usr.sbin/config/mkmakefile.c
440
if (std) {
usr.sbin/config/mkmakefile.c
480
if (std == 0 && nreqs == 0) {