Searched refs:host (Results 51 - 75 of 447) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/lockd/
H A Dsvcshare.c27 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, argument
35 if (share->s_host == host && nlm_cmp_owner(share, oh))
52 share->s_host = host;
68 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, argument
75 if (share->s_host == host && nlm_cmp_owner(share, oh)) {
88 * Traverse all shares for a given file (and host).
92 nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action) argument
101 if (host == NULL || host == share->s_host) {
H A Dsvc4proc.c34 struct nlm_host *host = NULL; local
43 /* Obtain handle for client host */
52 /* Obtain host handle */
53 if (!(host = nlmsvc_lookup_host(rqstp))
54 || (argp->monitor && !host->h_monitored && nsm_monitor(host) < 0))
56 *hostp = host;
66 lock->fl.fl_owner = (fl_owner_t) host;
72 if (host)
73 nlm_release_host(host);
96 struct nlm_host *host; local
125 struct nlm_host *host; local
157 struct nlm_host *host; local
190 struct nlm_host *host; local
316 struct nlm_host *host; local
349 struct nlm_host *host; local
395 struct nlm_host *host; local
416 struct nlm_host *host; local
459 struct nlm_host *host; local
[all...]
H A Dsvcproc.c63 struct nlm_host *host = NULL; local
72 /* Obtain handle for client host */
81 /* Obtain host handle */
82 if (!(host = nlmsvc_lookup_host(rqstp))
83 || (argp->monitor && !host->h_monitored && nsm_monitor(host) < 0))
85 *hostp = host;
95 lock->fl.fl_owner = (fl_owner_t) host;
101 if (host)
102 nlm_release_host(host);
123 struct nlm_host *host; local
153 struct nlm_host *host; local
185 struct nlm_host *host; local
218 struct nlm_host *host; local
344 struct nlm_host *host; local
377 struct nlm_host *host; local
423 struct nlm_host *host; local
444 struct nlm_host *host; local
487 struct nlm_host *host; local
[all...]
H A Dclntproc.c107 struct nlm_host *host; local
122 if (!(host = nlmclnt_lookup_host(NFS_ADDR(inode), proto, vers)))
127 if (host->h_rpcclnt == NULL) {
130 /* Bind an rpc client to this host handle (does not
132 if (!(clnt = nlm_bind_host(host))) {
166 call->a_host = host;
193 nlm_release_host(host);
201 nlmclnt_grace_wait(struct nlm_host *host) argument
203 if (!host->h_reclaiming)
204 interruptible_sleep_on_timeout(&host
239 struct nlm_host *host = req->a_host; local
322 struct nlm_host *host = req->a_host; local
349 struct nlm_host *host = req->a_host; local
441 struct nlm_host *host = req->a_host; local
476 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl) argument
572 nlmclnt_cancel(struct nlm_host *host, struct file_lock *fl) argument
[all...]
H A Dmon.c33 nsm_mon_unmon(struct nlm_host *host, u32 proc, struct nsm_res *res) argument
44 args.addr = host->h_addr.sin_addr.s_addr;
46 args.vers = host->h_version;
61 * Set up monitoring of a remote host
64 nsm_monitor(struct nlm_host *host) argument
69 dprintk("lockd: nsm_monitor(%s)\n", host->h_name);
71 status = nsm_mon_unmon(host, SM_MON, &res);
74 printk(KERN_NOTICE "lockd: cannot monitor %s\n", host->h_name);
76 host->h_monitored = 1;
81 * Cease to monitor remote host
84 nsm_unmonitor(struct nlm_host *host) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dlasi700.c140 struct Scsi_Host *host; local
150 printk(KERN_ERR "%s: Failed to allocate host data\n",
167 if((host = NCR_700_detect(host_tpnt, hostdata)) == NULL) {
171 host->irq = dev->irq;
172 if(request_irq(dev->irq, NCR_700_intr, SA_SHIRQ, driver_name, host)) {
175 scsi_unregister(host);
176 NCR_700_release(host);
184 lasi700_release(struct Scsi_Host *host) argument
187 (struct D700_Host_Parameters *)host->hostdata[0];
189 NCR_700_release(host);
[all...]
H A Dqlogicfc.c183 /* host configuration and control registers */
184 #define HOST_HCCR 0xc0 /* host command and control */
344 /* host control commands */
694 static inline void isp2x00_enable_irqs(struct Scsi_Host *host) argument
696 outw(ISP_EN_INT | ISP_EN_RISC, host->io_port + PCI_INTER_CTL);
700 static inline void isp2x00_disable_irqs(struct Scsi_Host *host) argument
702 outw(0x0, host->io_port + PCI_INTER_CTL);
710 struct Scsi_Host *host = NULL; local
741 host = scsi_register(tmpt, sizeof(struct isp2x00_hostdata));
742 if (!host) {
847 isp2x00_make_portdb(struct Scsi_Host *host) argument
960 isp2x00_init_fabric(struct Scsi_Host *host, struct id_name_map *port_db, int cur_scsi_id) argument
1102 isp2x00_release(struct Scsi_Host *host) argument
1126 isp2x00_info(struct Scsi_Host *host) argument
1159 struct Scsi_Host *host; local
1375 struct Scsi_Host * host = (struct Scsi_Host *) arg; local
1450 struct Scsi_Host *host = dev_id; local
1718 struct Scsi_Host *host; local
1775 struct Scsi_Host *host; local
1821 isp2x00_reset_hardware(struct Scsi_Host *host) argument
1981 isp2x00_get_nvram_defaults(struct Scsi_Host *host, struct init_cb *control_block) argument
2064 isp2x00_read_nvram_word(struct Scsi_Host * host, u_short byte) argument
2113 isp2x00_mbox_command(struct Scsi_Host *host, u_short param[]) argument
[all...]
H A Dsd.h41 extern kdev_t sd_find_target(void *host, int tgt);
H A DNCR_D700.c32 * support multi-host environments.
188 * to set them up as two separate host adapters, rather than one
210 struct Scsi_Host *host = NULL; local
274 printk(KERN_ERR "NCR D700: Failed to allocate host data for channel %d, detatching\n", i);
289 if((host = NCR_700_detect(tpnt, hostdata)) == NULL) {
291 release_region(host->base, 64);
294 host->irq = irq;
295 host->this_id = id_array[slot * 2 + i];
297 i, host->this_id);
298 if(request_irq(irq, NCR_700_intr, SA_SHIRQ, "NCR_D700", host)) {
314 D700_release(struct Scsi_Host *host) argument
[all...]
H A Dfcal.c1 /* fcal.c: Fibre Channel Arbitrated Loop SCSI host adapter driver.
73 static void fcal_select_queue_depths(struct Scsi_Host *host, Scsi_Device *devlist) argument
78 if (device->host != host) continue;
113 struct Scsi_Host *host; local
119 /* Strange, this is already registered to some other SCSI host, then it cannot be fcal */
130 host = scsi_register (tpnt, sizeof (struct fcal));
131 if (!host)
141 fcal = (struct fcal *)host->hostdata;
163 host
188 fcal_release(struct Scsi_Host *host) argument
207 struct Scsi_Host *host = NULL; local
[all...]
H A Dscsi.c34 * Jiffies wrap fixes (host->resetting), 3 Dec 1998 Andrea Arcangeli
336 SRpnt->sr_host = device->host;
401 struct Scsi_Host *host; local
409 host = device->host;
417 for (SDpnt = host->host_queue;
516 atomic_inc(&SCpnt->host->host_active);
544 atomic_read(&SCpnt->host->host_active)));
561 atomic_dec(&SCpnt->host->host_active);
566 atomic_read(&SCpnt->host
655 struct Scsi_Host *host; local
857 struct Scsi_Host *host = SDpnt->host; local
954 struct Scsi_Host *host = SCpnt->host; local
1044 struct Scsi_Host *host = SCpnt->host; local
1357 struct Scsi_Host *host; local
1469 struct Scsi_Host *host = SDpnt->host; local
1601 int host, channel, id, lun; local
2538 struct Scsi_Host *host = (struct Scsi_Host *) data; local
[all...]
H A Dide-scsi.h11 extern int idescsi_release (struct Scsi_Host *host);
12 extern const char *idescsi_info (struct Scsi_Host *host);
/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dhttp.c62 char *host = url, *path = "", auth[128] = { 0 }, line[512]; local
74 host = url + 7;
76 if ((s = strchr(host, '/'))) {
80 if ((s = strchr(host, '@'))) {
82 base64enc(host, auth, sizeof(auth));
83 host = s;
85 if ((s = strchr(host, ':'))) {
91 if (!inet_aton(host, &sin.sin_addr))
96 dprintf("Connecting to %s:%u...\n", host, port);
100 perror(host);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dhttp.c62 char *host = url, *path = "", auth[128] = { 0 }, line[512]; local
79 host = url + 7;
81 if ((s = strchr(host, '/'))) {
85 if ((s = strchr(host, '@'))) {
87 base64enc(host, auth, sizeof(auth));
88 host = s;
90 if ((s = strchr(host, ':'))) {
96 if (!inet_aton(host, &sin.sin_addr))
101 dprintf("Connecting to %s:%u...\n", host, port);
105 perror(host);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dhttp.c62 char *host = url, *path = "", auth[128] = { 0 }, line[512]; local
79 host = url + 7;
81 if ((s = strchr(host, '/'))) {
85 if ((s = strchr(host, '@'))) {
87 base64enc(host, auth, sizeof(auth));
88 host = s;
90 if ((s = strchr(host, ':'))) {
96 if (!inet_aton(host, &sin.sin_addr))
101 dprintf("Connecting to %s:%u...\n", host, port);
105 perror(host);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Drdate.c40 static time_t askremotedate(const char *host) argument
48 h = xgethostbyname(host); /* get the IP addr */
61 perror_msg_and_die("%s", host);
64 error_msg_and_die("%s did not send the complete time", host);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Dnodemgr.c49 * the driver list, unit directory list and the host info list. The
54 * afterwards. The host info list is only accessed during insmod,
71 struct hpsb_host *host; member in struct:host_info
115 /* If this is the host entry, output some info about it aswell */
116 if (ne->host != NULL && ne->host->node_id == ne->nodeid) {
118 PUTF(" Host Driver : %s\n", ne->host->driver->name);
119 PUTF(" Nodes connected : %d\n", ne->host->node_count);
120 PUTF(" Nodes active : %d\n", ne->host->nodes_active);
121 PUTF(" SelfIDs received: %d\n", ne->host
187 nodemgr_read_quadlet(struct hpsb_host *host, nodeid_t nodeid, unsigned int generation, octlet_t address, quadlet_t *quad) argument
208 nodemgr_size_text_leaf(struct hpsb_host *host, nodeid_t nodeid, unsigned int generation, octlet_t address) argument
272 nodemgr_scan_root_directory(struct hpsb_host *host, nodeid_t nodeid, unsigned int generation) argument
327 nodemgr_create_node(octlet_t guid, quadlet_t busoptions, struct hpsb_host *host, nodeid_t nodeid, unsigned int generation) argument
958 nodemgr_update_node(struct node_entry *ne, quadlet_t busoptions, struct hpsb_host *host, nodeid_t nodeid, unsigned int generation) argument
984 read_businfo_block(struct hpsb_host *host, nodeid_t nodeid, unsigned int generation, quadlet_t *buffer, int buffer_length) argument
1061 nodemgr_node_probe_one(struct hpsb_host *host, nodeid_t nodeid, int generation) argument
1098 nodemgr_node_probe_cleanup(struct hpsb_host *host, unsigned int generation) argument
1123 nodemgr_node_probe(struct hpsb_host *host) argument
1267 nodemgr_add_host(struct hpsb_host *host) argument
1302 nodemgr_host_reset(struct hpsb_host *host) argument
1330 nodemgr_remove_host(struct hpsb_host *host) argument
[all...]
H A Dhighlevel.c133 void hpsb_listen_channel(struct hpsb_highlevel *hl, struct hpsb_host *host, argument
141 if (host->iso_listen_count[channel]++ == 0) {
142 host->driver->devctl(host, ISO_LISTEN_CHANNEL, channel);
146 void hpsb_unlisten_channel(struct hpsb_highlevel *hl, struct hpsb_host *host, argument
154 if (--host->iso_listen_count[channel] == 0) {
155 host->driver->devctl(host, ISO_UNLISTEN_CHANNEL, channel);
160 void highlevel_add_host(struct hpsb_host *host) argument
169 hl->op->add_host(host);
174 highlevel_remove_host(struct hpsb_host *host) argument
189 highlevel_host_reset(struct hpsb_host *host) argument
204 highlevel_iso_receive(struct hpsb_host *host, quadlet_t *data, unsigned int length) argument
224 highlevel_fcp_request(struct hpsb_host *host, int nodeid, int direction, u8 *data, unsigned int length) argument
245 highlevel_read(struct hpsb_host *host, int nodeid, quadlet_t *buffer, u64 addr, unsigned int length) argument
290 highlevel_write(struct hpsb_host *host, int nodeid, int destid, quadlet_t *data, u64 addr, unsigned int length) argument
336 highlevel_lock(struct hpsb_host *host, int nodeid, quadlet_t *store, u64 addr, quadlet_t data, quadlet_t arg, int ext_tcode) argument
369 highlevel_lock64(struct hpsb_host *host, int nodeid, octlet_t *store, u64 addr, octlet_t data, octlet_t arg, int ext_tcode) argument
[all...]
H A Dcmp.c54 struct hpsb_host *host; member in struct:cmp_host
85 lookup_cmp_host(struct hpsb_host *host) argument
95 if (ch->host == host)
107 cmp_register_opcr(struct hpsb_host *host, int opcr_number, int payload, argument
114 ch = lookup_cmp_host(host);
132 void cmp_unregister_opcr(struct hpsb_host *host, struct cmp_pcr *opcr) argument
137 ch = lookup_cmp_host(host);
157 static void cmp_add_host(struct hpsb_host *host) argument
167 ch->host
178 cmp_host_reset(struct hpsb_host *host) argument
187 cmp_remove_host(struct hpsb_host *host) argument
201 pcr_read(struct hpsb_host *host, int nodeid, quadlet_t *buf, u64 addr, unsigned int length) argument
237 pcr_lock(struct hpsb_host *host, int nodeid, quadlet_t *store, u64 addr, quadlet_t data, quadlet_t arg, int extcode) argument
[all...]
H A Draw1394.c131 free_tlabel(packet->host, packet->node_id, packet->tlabel);
137 static void add_host(struct hpsb_host *host) argument
144 hi->host = host;
157 static struct host_info *find_host_info(struct hpsb_host *host) argument
164 if (hi->host == host) {
172 static void remove_host(struct hpsb_host *host) argument
177 hi = find_host_info(host);
186 printk(KERN_ERR "raw1394: attempt to remove unknown host "
196 host_reset(struct hpsb_host *host) argument
230 iso_receive(struct hpsb_host *host, int channel, quadlet_t *data, unsigned int length) argument
299 fcp_request(struct hpsb_host *host, int nodeid, int direction, int cts, u8 *data, unsigned int length) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/radius/radiusclient/lib/
H A Dip_util.c24 * Purpose: return an IP address in host long notation from a host
30 UINT4 rc_get_ipaddr (char *host) argument
34 if (rc_good_ipaddr (host) == 0)
36 return ntohl(inet_addr (host));
38 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL)
40 rc_log(LOG_ERR,"rc_get_ipaddr: couldn't resolve hostname: %s", host);
99 * Purpose: Return a printable host name (or IP address in dot notation)
111 rc_log(LOG_ERR,"rc_ip_hostname: couldn't look up host by addr: %08lX", h_ipaddr);
181 * Purpose: get the IP address of this host i
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/radius/radiusclient/lib/
H A Dip_util.c24 * Purpose: return an IP address in host long notation from a host
30 UINT4 rc_get_ipaddr (char *host) argument
34 if (rc_good_ipaddr (host) == 0)
36 return ntohl(inet_addr (host));
38 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL)
40 rc_log(LOG_ERR,"rc_get_ipaddr: couldn't resolve hostname: %s", host);
99 * Purpose: Return a printable host name (or IP address in dot notation)
111 rc_log(LOG_ERR,"rc_ip_hostname: couldn't look up host by addr: %08lX", h_ipaddr);
181 * Purpose: get the IP address of this host i
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/
H A Dui_tcpcmds.c152 "ttcp -t [-options] host\n"
187 char *host; local
201 host = cmd_getarg(cmd,0);
202 if (!host) return ui_showusage(cmd);
208 * Look up remote host
211 if (isdigit(*host)) {
212 if (parseipaddr(host,hostaddr) < 0) {
213 xprintf("Invalid IP address: %s\n",host);
218 res = dns_lookup(host,hostaddr);
220 return ui_showerror(res,"Could not resolve IP address of host
357 char *host; local
673 char *host; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/include/
H A Dgethostinfo.h16 * Get Fully Qualified Domain Name (FQDN) host name
17 * The 'domain' information is appended to the host name only in
19 * If the FQDN cannot be found, then you fall back on the host name.
26 * which contains all the host information. But this
36 struct line_list host_names; /* official name of host is first */
43 EXTERN struct host_information Host_IP; /* current host ip */
60 int Same_host( struct host_information *host,
66 int Match_ipaddr_value( struct line_list *list, struct host_information *host );
H A Dkrb5_auth.h17 int client_krb5_auth( char *keytabfile, char *service, char *host,
21 int remote_principal_krb5( char *service, char *host, char *err, int errlen );

Completed in 215 milliseconds

1234567891011>>