Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 193) sorted by relevance

12345678

/dragonfly/sys/dev/misc/evdev/
H A Dcdev.c167 evdev_dispose_client(client->ec_evdev, client); in evdev_dtor()
172 kfree(client, M_EVDEV); in evdev_dtor()
191 if (client->ec_revoked) in evdev_read()
208 ret = lksleep(client, &client->ec_buffer_mtx, in evdev_read()
217 memcpy(&event, &client->ec_buffer[client->ec_buffer_head], in evdev_read()
220 (client->ec_buffer_head + 1) % client->ec_buffer_size; in evdev_read()
680 wakeup(client); in evdev_notify_event()
689 if (client->ec_async && client->ec_sigio != NULL) in evdev_notify_event()
780 debugf(client, "client %p: buffer overflow", client); in evdev_client_push()
811 client->ec_buffer_ready = client->ec_buffer_tail; in evdev_client_push()
[all …]
H A Devdev_private.h182 #define EVDEV_CLIENT_LOCKQ(client) lockmgr(&(client)->ec_buffer_mtx, \ argument
184 #define EVDEV_CLIENT_UNLOCKQ(client) lockmgr(&(client)->ec_buffer_mtx, \ argument
186 #define EVDEV_CLIENT_LOCKQ_ASSERT(client) \ argument
187 KKASSERT(lockowned(&(client)->ec_buffer_mtx) != 0)
188 #define EVDEV_CLIENT_EMPTYQ(client) \ argument
189 ((client)->ec_buffer_head == (client)->ec_buffer_ready)
190 #define EVDEV_CLIENT_SIZEQ(client) \ argument
191 (((client)->ec_buffer_ready + (client)->ec_buffer_size - \
192 (client)->ec_buffer_head) % (client)->ec_buffer_size)
/dragonfly/sys/dev/video/vga/
H A Dvga_switcheroo.c308 if (!client) in register_client()
473 if (!client) in vga_switcheroo_get_client_state()
527 if (client) in vga_switcheroo_client_fb_set()
704 if (client && client->pwr_state != state) { in set_audio_state()
705 client->ops->set_gpu_state(client->pdev, state); in set_audio_state()
780 if (!client->ops->can_switch(client->pdev)) { in check_can_switch()
816 if (client->active || client_is_audio(client))
829 if (client->active || client_is_audio(client))
1124 if (client->active || client_is_audio(client)) in vga_switcheroo_write()
1138 if (client->active || client_is_audio(client)) in vga_switcheroo_write()
[all …]
/dragonfly/sys/dev/video/bktr/
H A Dmsp34xx.c165 msp_dpl_reset(client, client->msp_addr); in msp3400c_reset()
174 return(msp_dpl_read(client, client->msp_addr, dev, addr)); in msp3400c_read()
181 msp_dpl_write(client, client->msp_addr, dev, addr, val); in msp3400c_write()
401 if (client->dolby) { in msp3400c_setmode()
520 if (client->dolby) { in msp3400c_setstereo()
692 if (client->stereo_once) in watch_stereo()
728 watch_stereo(client); in msp3400c_thread()
883 watch_stereo(client); in msp3400c_thread()
968 watch_stereo(client); in msp3410d_thread()
983 msp3400c_reset(client); in msp3410d_thread()
[all …]
/dragonfly/sbin/dhclient/
H A Ddhclient.c397 client = calloc(1, sizeof(*client)); in main()
576 client->xid = client->packet.xid; in state_init()
652 client->xid = client->packet.xid; in state_selecting()
746 client->active = client->new; in bind_lease()
772 client->xid = client->packet.xid; in state_bound()
1032 client->secs = client->packet.secs; in send_discover()
1096 client->leases = client->active; in state_panic()
1109 client->active = client->leases; in state_panic()
1216 client->packet.secs = client->secs; in send_request()
1359 client->packet.xid = client->xid; in make_request()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Di915_guc_submission.c116 client->stage_id, yesno(is_high_priority(client)), in __reserve_doorbell()
178 return client->vaddr + client->doorbell_offset; in __get_doorbell()
198 err = __guc_allocate_doorbell(client->guc, client->stage_id); in __create_doorbell()
234 __update_doorbell_desc(client, client->doorbell_id); in create_doorbell()
286 return client->vaddr + client->proc_desc_offset; in __get_process_desc()
724 __update_doorbell_desc(client, client->doorbell_id); in guc_init_doorbell_hw()
771 client = kzalloc(sizeof(*client), GFP_KERNEL); in guc_client_alloc()
772 if (!client) in guc_client_alloc()
826 priority, client, client->engines, client->stage_id); in guc_client_alloc()
828 client->doorbell_id, client->doorbell_offset); in guc_client_alloc()
[all …]
/dragonfly/lib/libc/rpc/
H A Drpcb_clnt.c300 CLIENT *client; in getclnthandle() local
311 client = NULL; in getclnthandle()
422 if (client) { in getclnthandle()
446 CLIENT *client; in local_rpcb() local
476 return client; in local_rpcb()
546 CLIENT *client; in rpcb_set() local
561 if (! client) { in rpcb_set()
603 CLIENT *client; in rpcb_unset() local
1003 if (client) { in __rpcb_findaddr_timed()
1010 if (client) { in __rpcb_findaddr_timed()
[all …]
H A Dkey_call.c276 if (kcp->client) in key_call_destroy()
321 kcp->client = NULL; in getkeyserv_handle()
327 kcp->client = NULL; in getkeyserv_handle()
330 if (kcp->client != NULL) { in getkeyserv_handle()
335 kcp->client->cl_auth = in getkeyserv_handle()
339 kcp->client = NULL; in getkeyserv_handle()
345 return (kcp->client); in getkeyserv_handle()
365 if (kcp->client) in getkeyserv_handle()
378 if (kcp->client == NULL) { in getkeyserv_handle()
386 kcp->client = NULL; in getkeyserv_handle()
[all …]
H A Dclnt_simple.c66 CLIENT *client; /* Client handle */ member
83 if (rcp->client) in rpc_call_destroy()
84 CLNT_DESTROY(rcp->client); in rpc_call_destroy()
138 rcp->client = NULL; in rpc_call()
150 if (rcp->client) in rpc_call()
151 CLNT_DESTROY(rcp->client); in rpc_call()
155 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call()
157 if (rcp->client == NULL) { in rpc_call()
167 CLNT_CONTROL(rcp->client, in rpc_call()
169 if (CLNT_CONTROL(rcp->client, CLGET_FD, (char *)(void *)&fd)) in rpc_call()
[all …]
H A Dpmap_getmaps.c75 CLIENT *client; in pmap_getmaps() local
82 client = clnttcp_create(address, PMAPPROG, in pmap_getmaps()
84 if (client != NULL) { in pmap_getmaps()
85 if (CLNT_CALL(client, (rpcproc_t)PMAPPROC_DUMP, in pmap_getmaps()
89 clnt_perror(client, "pmap_getmaps rpc problem"); in pmap_getmaps()
91 CLNT_DESTROY(client); in pmap_getmaps()
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dtcp-comms.c109 struct local_client *client; in tcp_remove_client() local
122 if (client) in tcp_remove_client()
125 client->removeme = 1; in tcp_remove_client()
126 close(client->fd); in tcp_remove_client()
143 if (!client) in alloc_client()
150 client->fd = fd; in alloc_client()
154 *new_client = client; in alloc_client()
175 free(client); in alloc_client()
308 close(client->fd); in read_from_tcpsock()
311 if (client->bits.net.flags) in read_from_tcpsock()
[all …]
H A Dclvmd.c89 struct local_client *client; member
132 struct local_client *client,
1430 send_local_reply(client, ENOMEM, client->fd); in add_reply_to_list()
1519 do_post_command(client); in pre_and_post_thread()
1570 if (xid == client->xid) { in process_local_command()
1575 xid, client->xid); in process_local_command()
1587 if (!client) { in process_reply()
1604 msg->xid, client->xid); in process_reply()
1791 free(cmd->client); in process_work_item()
1878 cmd->client = client; in add_to_lvmqueue()
[all …]
H A Dclvmd-command.c176 if (!client) in do_command()
194 static int lock_vg(struct local_client *client) in lock_vg() argument
198 (struct clvm_header *) client->bits.localsock.cmd; in lock_vg()
209 if (client->bits.localsock.private) { in lock_vg()
216 client->bits.localsock.private = (void *)lock_hash; in lock_vg()
256 int do_pre_command(struct local_client *client) in do_pre_command() argument
278 status = lock_vg(client); in do_pre_command()
304 int do_post_command(struct local_client *client) in do_post_command() argument
318 client->bits.localsock.private = 0; in do_post_command()
341 if (client->bits.localsock.private) { in cmd_client_cleanup()
[all …]
/dragonfly/usr.bin/rpcinfo/
H A Drpcinfo.c366 CLIENT *client; local
464 CLIENT *client; local
664 CLIENT *client; local
866 CLIENT *client; local
968 CLIENT *client; local
1216 CLIENT *client; local
1236 return (client);
1248 CLIENT *client; local
1347 CLIENT *client; local
1569 if (client) {
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read.c244 if (a->client.closer == NULL) in read_client_close_proxy()
248 r2 = (a->client.closer) in read_client_close_proxy()
283 data2 = self->archive->client.dataset[self->archive->client.cursor].data; in client_switch_proxy()
382 if (a->client.nodes == 0) in archive_read_set_callback_data2()
392 a->client.nodes = 1; in archive_read_set_callback_data2()
422 p = realloc(a->client.dataset, sizeof(*a->client.dataset) in archive_read_add_callback_data()
423 * (++(a->client.nodes))); in archive_read_add_callback_data()
431 a->client.dataset[i].data = a->client.dataset[i-1].data; in archive_read_add_callback_data()
480 e = (a->client.opener)(&a->archive, a->client.dataset[0].data); in archive_read_open1()
1126 free(a->client.dataset); in _archive_read_free()
[all …]
/dragonfly/contrib/tcp_wrappers/
H A Dtli.c74 static struct sockaddr_in client;
93 if (request->client->unit != 0) {
95 client = *(struct sockaddr_storage *) request->client->unit->addr.buf;
96 request->client->sin = (struct sockaddr *) &client;
98 client = *(struct sockaddr_in *) request->client->unit->addr.buf;
99 request->client->sin = &client;
127 if (request->client->unit != 0)
139 struct t_unitdata *client; local
160 if (ioctl(fd, TI_GETPEERNAME, &client->addr) < 0 || client->addr.len == 0) {
162 if (t_rcvudata(fd, client, &flags) < 0 || client->addr.len == 0) {
[all …]
H A Dtcpdmatch.c66 char *client; local
138 client = argv[optind + 1];
226 if (dot_quad_addr(client) != INADDR_NONE) {
227 request_set(&request, RQ_CLIENT_ADDR, client, 0);
238 request_set(&request, RQ_CLIENT_ADDR, client, 0);
248 if (NOT_INADDR(client) && HOSTNAME_KNOWN(client) == 0) {
249 request_set(&request, RQ_CLIENT_NAME, client, 0);
262 if ((hp = find_inet_addr(client)) == 0)
284 eval_hostaddr(request.client));
305 if (STR_EQ(eval_hostname(request.client), unknown))
[all …]
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dtls_internal.c155 if (conn->client) in tls_connection_deinit()
169 if (conn->client) in tls_connection_established()
191 if (conn->client) in tls_connection_shutdown()
389 if (conn->client) in tls_connection_get_random()
403 if (conn->client) in tls_get_keyblock_size()
434 if (conn->client) { in tls_connection_prf()
566 if (conn->client) { in tls_connection_encrypt()
656 if (conn->client) in tls_connection_resumed()
671 if (conn->client) in tls_connection_set_cipher_list()
688 if (conn->client) in tls_get_version()
[all …]
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_server.c480 while (client) { in radius_server_get_client()
501 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == in radius_server_get_client()
506 client = client->next; in radius_server_get_client()
509 return client; in radius_server_get_client()
548 struct radius_client *client = sess->client; in radius_server_session_remove() local
608 sess->client = client; in radius_server_new_session()
2173 client = clients; in radius_server_free_clients()
2174 while (client) { in radius_server_free_clients()
2175 prev = client; in radius_server_free_clients()
2176 client = client->next; in radius_server_free_clients()
[all …]
/dragonfly/sys/dev/drm/
H A Ddrm_encoder_slave.c59 struct i2c_client *client;
65 client = i2c_new_device(adap, info);
66 if (!client) {
71 if (!client->dev.driver) {
76 module = client->dev.driver->owner;
82 encoder->bus_priv = client;
86 err = encoder_drv->encoder_init(client, dev, encoder);
97 i2c_unregister_device(client);
114 struct i2c_client *client = drm_i2c_encoder_get_client(drm_encoder);
115 struct module *module = client->dev.driver->owner;
[all …]
H A Dlinux_i2c.c139 struct i2c_client *client; in i2c_new_device() local
141 client = kzalloc(sizeof(*client), GFP_KERNEL); in i2c_new_device()
142 if (client == NULL) in i2c_new_device()
145 client->adapter = adap; in i2c_new_device()
147 strlcpy(client->name, info->type, sizeof(client->name)); in i2c_new_device()
148 client->addr = info->addr; in i2c_new_device()
151 return client; in i2c_new_device()
/dragonfly/crypto/openssh/
H A DPROTOCOL.mux14 Most messages from the client to the server contain a "request id"
38 messages between the client and server. The client therefore must
93 uint32 client request id
148 uint32 client request id
153 A client may request that a master terminate immediately:
186 uint32 client request id
193 A client may request the master to close a port forward:
249 uint32 client request id
254 uint32 client request id
258 uint32 client request id
[all …]
/dragonfly/games/hunt/
H A DREADME.protocol27 client (hunt) or server (huntd) respectively.
39 of the client request datagrams.
61 the client.
110 the client and the server.
136 C: {char[]: client's witty message of abuse}
164 The client provides a thin 'graphical' client to the server, and
204 Refreshing is the only time that the client must
225 The client should also refresh the screen.
254 The client must refresh its screen.
256 The server indicates to the client that it has
[all …]
/dragonfly/usr.sbin/rpc.lockd/
H A Dlockd_lock.c126 return (&fl->client); in testlock()
183 free(newfl->client.oh.n_bytes); in getlock()
201 newfl->client.svid == fl->client.svid) { in getlock()
285 fl->client.oh.n_len) != 0 || in unlock()
286 fl->client.svid != lck->svid) in unlock()
327 free(fl->client.oh.n_bytes); in lfree()
439 if (fl->client.exclusive == 0) in do_lock()
536 res.alock.oh = fl->client.oh; in send_granted()
537 res.alock.svid = fl->client.svid; in send_granted()
559 res.alock.oh = fl->client.oh; in send_granted()
[all …]
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_irq.c127 if (!adev->irq.client[i].sources) in amdgpu_irq_disable_all()
285 if (!adev->irq.client[i].sources) in amdgpu_irq_fini()
299 adev->irq.client[i].sources[j] = NULL; in amdgpu_irq_fini()
302 kfree(adev->irq.client[i].sources); in amdgpu_irq_fini()
303 adev->irq.client[i].sources = NULL; in amdgpu_irq_fini()
333 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id()
334 adev->irq.client[client_id].sources = in amdgpu_irq_add_id()
338 if (!adev->irq.client[client_id].sources) in amdgpu_irq_add_id()
395 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_dispatch()
401 src = adev->irq.client[client_id].sources[src_id]; in amdgpu_irq_dispatch()
[all …]

12345678