Searched refs:fileport (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/lsof-53/lsof/dialects/darwin/libproc/
H A Ddproto.h56 _PROTOTYPE(extern void process_fileport_pipe,(int pid, uint32_t fileport));
57 _PROTOTYPE(extern void process_fileport_pshm,(int pid, uint32_t fileport));
58 _PROTOTYPE(extern void process_fileport_socket,(int pid, uint32_t fileport));
59 _PROTOTYPE(extern void process_fileport_vnode,(int pid, uint32_t fileport));
H A Dmachine.h237 mach_port_t fileport; \
243 lf->fileport = MACH_PORT_NULL; \
246 Lf->fileport = MACH_PORT_NULL; \
H A Ddfile.c265 if (lf->fileport) extra++;
275 if (lf->fileport)
276 (void) printf("fileport=0x%04x", lf->fileport);
H A Ddproc.c78 /* fileport buffer */
588 * Get fileport information for the process.
595 * Quit if no fileport information
602 * Quit if no fileport information is available for the process.
620 * There is room in the buffer for at least one more fileport.
625 (void) fprintf(stderr, "%s: can't get fileport byte count: %s\n",
631 * The fileport buffer must be enlarged.
650 * fileport reported as "fp." with "(fileport=0xXXXX)" in the Name column
653 Lf->fileport
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dipc_misc.c55 ipc_port_t fileport; local
59 fileport = ipc_port_alloc_kernel();
60 if (fileport == IP_NULL) {
64 ipc_kobject_set(fileport, (ipc_kobject_t)fg, IKOT_FILEPORT);
65 ip_lock(fileport); /* unlocked by ipc_port_nsrequest */
66 notifyport = ipc_port_make_sonce_locked(fileport);
67 ipc_port_nsrequest(fileport, 1, notifyport, &notifyport);
69 sendport = ipc_port_make_send(fileport);
71 panic("Couldn't allocate send right for fileport!\n");
75 return fileport;
167 ipc_port_t fileport; local
[all...]
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/libproc/
H A Dlibproc.h96 int proc_pidfileportinfo(int pid, uint32_t fileport, int flavor, void *buffer, int buffersize) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
H A Dlibproc.c151 proc_pidfileportinfo(int pid, uint32_t fileport, int flavor, void *buffer, int buffersize) argument
155 if ((retval = __proc_info(PROC_INFO_CALL_PIDFILEPORTINFO, pid, flavor, (uint64_t)fileport, buffer, buffersize)) == -1)
/macosx-10.10/syslog-267/aslcommon/
H A Dasl_ipc.defs74 out fileport : mach_port_move_send_t;
/macosx-10.10/Libnotify-133.1.1/
H A Dnotify_ipc.defs79 fileport : mach_port_move_send_t;
290 fileport : mach_port_move_send_t;
H A Dnotify_client.c1769 fileport_t fileport;
1876 /* send fdpair[1] (the sender's fd) to notifyd using a fileport */
1877 fileport = MACH_PORT_NULL;
1878 if (fileport_makeport(fdpair[1], (fileport_t *)&fileport) < 0)
1893 kstatus = _notify_server_register_file_descriptor(globals->notify_server_port, (caddr_t)name, namelen, (mach_port_t)fileport, token, (int32_t *)&cid, (int32_t *)&status);
1898 kstatus = _notify_server_register_file_descriptor_2(globals->notify_server_port, (caddr_t)name, namelen, token, (mach_port_t)fileport);
/macosx-10.10/syslog-267/libsystem_asl.tproj/src/
H A Dasl.c39 #include <sys/fileport.h>
1263 fileport_t fileport; local
1378 fileport = MACH_PORT_NULL;
1381 kstatus = _asl_server_create_aux_link(_asl_global.server_port, (caddr_t)str, len, &fileport, &newurl, &newurllen, &status);
1386 kstatus = _asl_server_create_aux_link(_asl_global.server_port, (caddr_t)str, len, &fileport, &newurl, &newurllen, &status);
1407 if (fileport == MACH_PORT_NULL)
1413 fd = fileport_makefd(fileport);
1414 mach_port_deallocate(mach_task_self(), fileport); local
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A DMakefile48 fileport.h \
104 fileport.h \
/macosx-10.10/syslog-267/syslogd.tproj/
H A Ddbserver.c1487 mach_port_t *fileport,
1505 *fileport = MACH_PORT_NULL;
1529 *fileport = MACH_PORT_NULL;
1565 if (fileport_makeport(fd, (fileport_t *)fileport) < 0)
1482 __asl_server_create_aux_link( mach_port_t server, caddr_t message, mach_msg_type_number_t messageCnt, mach_port_t *fileport, caddr_t *newurl, mach_msg_type_number_t *newurlCnt, int *status, audit_token_t token ) argument
/macosx-10.10/Libnotify-133.1.1/notifyd/
H A Dnotify_proc.c632 fileport_t fileport,
652 fd = fileport_makefd(fileport);
653 mach_port_deallocate(mach_task_self(), fileport); local
1402 fileport_t fileport,
1417 kstatus = __notify_server_register_file_descriptor_2(server, name, nameCnt, token, fileport, audit);
626 __notify_server_register_file_descriptor_2( mach_port_t server, caddr_t name, mach_msg_type_number_t nameCnt, int token, fileport_t fileport, audit_token_t audit ) argument
1397 __notify_server_register_file_descriptor( mach_port_t server, caddr_t name, mach_msg_type_number_t nameCnt, fileport_t fileport, int ntoken, int *client_id, int *status, audit_token_t audit ) argument
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_descrip.c5163 * Parameters: p Process calling fileport
5185 ipc_port_t fileport; local
5210 fileport = fileport_alloc(fg);
5211 if (fileport == IPC_PORT_NULL) {
5218 name = ipc_port_copyout_send(fileport, get_task_ipcspace(p->task));
5265 * Parameters: p Process calling fileport
/macosx-10.10/Security-57031.1.35/securityd/src/
H A Dagentquery.cpp35 #include <System/sys/fileport.h>

Completed in 399 milliseconds