Searched refs:device (Results 51 - 75 of 834) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_xpt.c386 * so we need to limit maxtags to what the device
572 struct cam_ed *device);
578 static void scsi_find_quirk(struct cam_ed *device);
595 struct cam_ed *device,
599 static void scsi_proto_announce(struct cam_ed *device);
600 static void scsi_proto_denounce(struct cam_ed *device);
654 "can't register device\n");
661 printf("proberegister: Unable to probe new device. "
681 * delay before attempting to probe the device.
703 * If a device ha
899 struct cam_ed *device; local
987 struct cam_ed* device; local
1046 proberequestbackoff(struct cam_periph *periph, struct cam_ed *device) argument
1887 scsi_find_quirk(struct cam_ed *device) argument
2087 struct cam_ed *device, *nextdev; local
2402 struct cam_ed *device; local
2511 struct cam_ed *device; local
2666 struct cam_ed *device; local
2961 scsi_dev_async(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, struct cam_ed *device, void *async_arg) argument
3132 scsi_proto_announce(struct cam_ed *device) argument
3138 scsi_proto_denounce(struct cam_ed *device) argument
3147 struct cam_ed *device; local
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dcore_priv.h71 int ib_device_register_sysfs(struct ib_device *device,
74 void ib_device_unregister_sysfs(struct ib_device *device);
79 typedef void (*roce_netdev_callback)(struct ib_device *device, u8 port,
82 typedef int (*roce_netdev_filter)(struct ib_device *device, u8 port,
125 int ib_cache_setup_one(struct ib_device *device);
126 void ib_cache_cleanup_one(struct ib_device *device);
127 void ib_cache_release_one(struct ib_device *device);
H A Dib_verbs.c71 [IB_EVENT_DEVICE_FATAL] = "device fatal error",
227 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device, u8 port_num) argument
229 if (device->get_link_layer)
230 return device->get_link_layer(device, port_num);
232 switch (rdma_node_get_transport(device->node_type)) {
249 * @device: The device on which to allocate the protection domain.
257 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, argument
263 pd = device
392 ib_get_net_type_by_grh(struct ib_device *device, u8 port_num, const struct ib_grh *grh) argument
445 get_sgid_index_from_eth(struct ib_device *device, u8 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type, u16 *gid_index) argument
490 ib_init_ah_from_wc(struct ib_device *device, u8 port_num, const struct ib_wc *wc, const struct ib_grh *grh, struct ib_ah_attr *ah_attr) argument
795 struct ib_device *device = pd ? pd->device : qp_init_attr->xrcd->device; local
1193 ib_resolve_eth_dmac(struct ib_device *device, struct ib_ah_attr *ah_attr) argument
1357 ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, const struct ib_cq_init_attr *cq_attr) argument
1576 ib_alloc_xrcd(struct ib_device *device) argument
1707 ib_create_rwq_ind_table(struct ib_device *device, struct ib_rwq_ind_table_init_attr *init_attr) argument
1794 ib_set_vf_link_state(struct ib_device *device, int vf, u8 port, int state) argument
1804 ib_get_vf_config(struct ib_device *device, int vf, u8 port, struct ifla_vf_info *info) argument
1814 ib_get_vf_stats(struct ib_device *device, int vf, u8 port, struct ifla_vf_stats *stats) argument
1824 ib_set_vf_guid(struct ib_device *device, int vf, u8 port, u64 guid, int type) argument
[all...]
H A Dib_cache.c59 struct ib_device *device; member in struct:ib_update_work
126 event.device = ib_dev;
447 /* make sure network device is valid and attached */
546 * @device: The device to query.
548 * @port_num: The port number of the device where the GID value could be
876 int ib_get_cached_gid(struct ib_device *device, argument
884 struct ib_gid_table **ports_table = device->cache.gid_cache;
885 struct ib_gid_table *table = ports_table[port_num - rdma_start_port(device)];
887 if (port_num < rdma_start_port(device) || port_nu
898 ib_find_cached_gid(struct ib_device *device, const union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port_num, u16 *index) argument
909 ib_find_gid_by_filter(struct ib_device *device, const union ib_gid *gid, u8 port_num, bool (*filter)(const union ib_gid *gid, const struct ib_gid_attr *, void *), void *context, u16 *index) argument
927 ib_get_cached_pkey(struct ib_device *device, u8 port_num, int index, u16 *pkey) argument
954 ib_find_cached_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
995 ib_find_exact_cached_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
1027 ib_get_cached_lmc(struct ib_device *device, u8 port_num, u8 *lmc) argument
1045 ib_cache_update(struct ib_device *device, u8 port) argument
1174 ib_cache_setup_one(struct ib_device *device) argument
1215 ib_cache_release_one(struct ib_device *device) argument
1235 ib_cache_cleanup_one(struct ib_device *device) argument
[all...]
/freebsd-11-stable/lib/libcam/
H A Dcamlib.c55 struct cam_device *device,
61 struct cam_device *device);
64 * Send a ccb to a passthrough device.
67 cam_send_ccb(struct cam_device *device, union ccb *ccb) argument
69 return(ioctl(device->fd, CAMIOCOMMAND, ccb));
101 * Take a device name or path passed in by the user, and attempt to figure
102 * out the device name and unit number. Some possible device name formats are:
107 * Some peripheral drivers create separate device nodes with 'n' prefix for
109 * We extract pure peripheral name as device nam
272 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, int flags, struct cam_device *device) argument
404 cam_open_spec_device(const char *dev_name, int unit, int flags, struct cam_device *device) argument
411 cam_open_pass(const char *path, int flags, struct cam_device *device) argument
417 cam_lookup_pass(const char *dev_name, int unit, int flags, const char *given_path, struct cam_device *device) argument
499 cam_real_open_device(const char *path, int flags, struct cam_device *device, const char *given_path, const char *given_dev_name, int given_unit_number) argument
714 cam_device_dup(struct cam_device *device) argument
[all...]
/freebsd-11-stable/share/examples/hast/
H A Ducarp_up.sh41 device="/dev/hast/${resource}"
65 [ -c "${device}" ] && break
68 if [ ! -c "${device}" ]; then
69 logger -p local0.error -t hast "Device ${device} didn't appear."
77 fsck -y -t ufs "${device}" >/dev/null 2>&1
84 out=`mount -t ufs "${device}" "${mountpoint}" 2>&1`
/freebsd-11-stable/sys/dev/iser/
H A Diser_initiator.c106 struct iser_device *device = iser_conn->ib_conn.device; local
108 ib_dma_sync_single_for_cpu(device->ib_device,
116 if (tx_desc->tx_sg[0].lkey != device->mr->lkey) {
117 tx_desc->tx_sg[0].lkey = device->mr->lkey;
125 struct iser_device *device = iser_conn->ib_conn.device; local
131 ib_dma_unmap_single(device->ib_device,
136 ib_dma_unmap_single(device->ib_device,
151 struct iser_device *device local
206 struct iser_device *device = ib_conn->device; local
263 struct iser_device *device = ib_conn->device; local
416 struct iser_device *device; local
[all...]
/freebsd-11-stable/contrib/traceroute/
H A Difaddrlist.c83 char device[sizeof(ifr.ifr_name) + 1]; local
145 (void)strncpy(device, ifr.ifr_name, sizeof(ifr.ifr_name));
146 device[sizeof(device) - 1] = '\0';
149 if (strchr(device, ':') != NULL)
154 device, strerror(errno));
167 al->device = strdup(device);
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.h84 ssize_t set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, size_t len);
85 ssize_t show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf);
86 ssize_t set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, size_t len);
87 ssize_t show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf);
88 ssize_t show_kek_table(struct device *dev, struct device_attribute *attr, char *buf);
89 ssize_t show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf);
90 ssize_t show_dek_kek_map1(struct device *dev, struct device_attribute *attr, char *buf);
91 ssize_t show_target_dek_map(struct device *dev, struct device_attribute *attr, char *buf);
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_page_alloc.h83 extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev);
84 extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev);
/freebsd-11-stable/sys/cam/nvme/
H A Dnvme_all.c137 struct cam_ed *device; local
139 device = periph->path->device;
141 return device->nvme_cdata;
147 struct cam_ed *device; local
149 device = periph->path->device;
151 return device->nvme_data;
/freebsd-11-stable/usr.bin/wall/
H A Dttymsg.c65 char device[MAXNAMLEN] = _PATH_DEV; local
74 strlcat(device, line, sizeof(device));
75 p = device + sizeof(_PATH_DEV) - 1;
81 "Too many '/' in \"%s\"", device);
89 if ((fd = open(device, O_WRONLY|O_NONBLOCK, 0)) < 0) {
92 (void) snprintf(errbuf, sizeof(errbuf), "%s: %s", device,
159 "%s: %s", device, strerror(errno));
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-snoop.c222 (void)strncpy(sr.sr_ifname, p->opt.device, sizeof(sr.sr_ifname));
226 * means "there's no such device" and a particular bind
227 * error that means "that device doesn't support snoop";
229 * meaning "snoop doesn't know about that device".
247 * XXX hack - map device name to link layer type
249 if (strncmp("et", p->opt.device, 2) == 0 || /* Challenge 10 Mbit */
250 strncmp("ec", p->opt.device, 2) == 0 || /* Indigo/Indy 10 Mbit,
252 strncmp("ef", p->opt.device, 2) == 0 || /* O200/2000 10/100 Mbit */
253 strncmp("eg", p->opt.device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */
254 strncmp("gfe", p->opt.device,
[all...]
/freebsd-11-stable/sbin/camcontrol/
H A Dtimestamp.c65 static int set_restore_flags(struct cam_device *device, uint8_t *flags,
68 static int report_timestamp(struct cam_device *device, uint64_t *ts,
70 static int set_timestamp(struct cam_device *device, char *format_string,
75 set_restore_flags(struct cam_device *device, uint8_t *flags, int set_flag, argument
88 ccb = cam_getccb(device);
116 error = cam_send_ccb(device, ccb);
123 cam_error_print(device, ccb, CAM_ESF_ALL,
167 error = cam_send_ccb(device, ccb);
174 cam_error_print(device, ccb, CAM_ESF_ALL,
188 report_timestamp(struct cam_device *device, uint64_ argument
246 set_timestamp(struct cam_device *device, char *format_string, char *timestamp_string, int task_attr, int retry_count, int timeout) argument
331 timestamp(struct cam_device *device, int argc, char **argv, char *combinedopt, int task_attr, int retry_count, int timeout, int verbosemode __unused) argument
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_sds_remote_node_context.c79 SCIC_SDS_REMOTE_DEVICE_T * device,
87 rnc->device = device;
90 rnc->parent.logger = device->parent.parent.logger;
158 * This method will construct the RNC buffer for this remote device object.
160 * @param[in] this_device The remote device to use to construct the RNC
162 * @param[in] rnc The buffer into which the remote device data will be copied.
173 the_controller = scic_sds_remote_device_get_controller(this_rnc->device);
182 * scic_sds_remote_device_node_count(this_rnc->device)
186 rnc->ssp.remote_node_port_width = this_rnc->device
78 scic_sds_remote_node_context_construct( SCIC_SDS_REMOTE_DEVICE_T * device, SCIC_SDS_REMOTE_NODE_CONTEXT_T * rnc, U16 remote_node_index ) argument
[all...]
H A Dscif_sas_stp_remote_device.c72 * STP remote device object.
74 * @param[in] device This parameter specifies the STP remote device
80 SCIF_SAS_REMOTE_DEVICE_T * device
84 &device->protocol_device.stp_device.sati_device,
85 device->domain->controller->user_parameters.sas.is_sata_ncq_enabled,
86 (U8) device->domain->controller->user_parameters.sas.max_ncq_depth,
87 device->domain->controller->user_parameters.sas.ignore_fua
90 device->protocol_device.stp_device.s_active = 0;
95 * of available tags in the remote device
[all...]
/freebsd-11-stable/contrib/netbsd-tests/dev/scsipi/libscsitest/
H A Dscsitest_component.c33 #include <sys/device.h>
/freebsd-11-stable/contrib/groff/src/preproc/eqn/
H A Deqn.h47 void init_table(const char *device);
/freebsd-11-stable/sbin/fsck_ffs/
H A Dutilities.c66 static char device[MAXPATHLEN]; local
72 (void)snprintf(device, sizeof(device), "%s%s",
74 newname = device;
96 "Can't resolve %s to character special device.\n",
105 * Not a block or character device, just return name and
/freebsd-11-stable/etc/defaults/
H A DMakefile9 FILES+= bluetooth.device.conf
/freebsd-11-stable/usr.sbin/bsdconfig/networking/share/
H A DMakefile4 FILES= common.subr device.subr hostname.subr ipaddr.subr media.subr \
/freebsd-11-stable/usr.sbin/bsdconfig/share/
H A DMakefile6 FILES= common.subr device.subr dialog.subr geom.subr keymap.subr \
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dthreadsignaltest.c130 char *device = arg; local
147 printf("Listening on %s\n", device);
184 register char *cp, *cmdbuf, *device; local
196 device = NULL;
207 device = optarg;
216 if (device == NULL) {
221 device = strdup(devlist->name);
225 pd = pcap_create(device, ebuf);
231 device, pcap_statustostr(status));
236 device, pcap_statustost
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dinterrupt.h34 #include <linux/device.h>
47 struct device *dev;
56 linux_irq_rid(struct device *dev, unsigned int irq)
68 linux_irq_ent(struct device *dev, unsigned int irq)
85 struct device *dev;
119 struct device *dev;
135 struct device *dev;
152 struct device *dev;
166 free_irq(unsigned int irq, void *device) argument
169 struct device *de
[all...]
/freebsd-11-stable/sys/cam/
H A Dcam_xpt.c146 typedef int xpt_devicefunc_t (struct cam_ed *device, void *arg);
265 struct cam_ed *device);
285 static int xptperiphtraverse(struct cam_ed *device,
302 struct cam_ed *device,
312 static __inline int device_is_queued(struct cam_ed *device);
324 * The priority of a device waiting for controller
339 device_is_queued(struct cam_ed *device) argument
341 return (device->devq_entry.index != CAM_UNQUEUED_INDEX);
380 * through the xpt device. The xpt device i
644 struct cam_ed *device; local
994 struct cam_ed *device; local
1014 struct cam_ed *device; local
1345 xptdevicematch(struct dev_match_pattern *patterns, u_int num_patterns, struct cam_ed *device) argument
1677 struct cam_ed *device; local
1709 xptedtdevicefunc(struct cam_ed *device, void *arg) argument
2194 struct cam_ed *device, *next_device; local
2230 xptperiphtraverse(struct cam_ed *device, struct cam_periph *start_periph, xpt_periphfunc_t *tr_func, void *arg) argument
2386 xptdefdevicefunc(struct cam_ed *device, void *arg) argument
2451 xptsetasyncfunc(struct cam_ed *device, void *arg) argument
2531 struct cam_ed *device; local
2622 struct cam_ed *device; local
2756 struct cam_ed *device; local
3227 struct cam_ed *device; local
3290 struct cam_ed *device; local
3475 struct cam_ed *device; local
3736 xpt_print_device(struct cam_ed *device) argument
3846 struct cam_ed *device; local
4127 xpt_async_process_dev(struct cam_ed *device, void *arg) argument
4324 xpt_dev_async_default(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, struct cam_ed *device, void *async_arg) argument
4727 struct cam_ed *device; local
4741 struct cam_ed *device = context; local
4751 struct cam_ed *cur_device, *device; local
4806 xpt_acquire_device(struct cam_ed *device) argument
4816 xpt_release_device(struct cam_ed *device) argument
4916 struct cam_ed *device; local
4934 struct cam_ed *device; local
4964 struct cam_ed *device; local
5060 xptpassannouncefunc(struct cam_ed *device, void *arg) argument
5228 struct cam_ed *device; local
[all...]

Completed in 185 milliseconds

1234567891011>>