Home
last modified time | relevance | path

Searched refs:cpid (Results 1 – 25 of 33) sorted by relevance

12

/titanic_51/usr/src/common/smbsrv/
H A Dsmb_oem.c46 * cpid The oemcpg_table index for this oempage.
50 uint32_t cpid; member
188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) in ucstooem() argument
197 if ((ucspage = oem_get_ucspage(cpid)) == NULL) in ucstooem()
230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid) in oemtoucs() argument
239 if ((oempage = oem_get_oempage(cpid)) == NULL) in oemtoucs()
271 oem_get_oempage(uint32_t cpid) in oem_get_oempage() argument
273 if (cpid >= MAX_OEMPAGES) in oem_get_oempage()
276 if (!oemcpg_table[cpid].valid) { in oem_get_oempage()
277 oem_codepage_init(cpid); in oem_get_oempage()
290 oem_get_ucspage(uint32_t cpid) oem_get_ucspage() argument
309 oem_codepage_init(uint32_t cpid) oem_codepage_init() argument
327 oem_codepage_setup(uint32_t cpid) oem_codepage_setup() argument
[all...]
/titanic_51/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_pass.c202 * Remove a node from the AVL tree identified by cpid.
208 smb_passid_t buf, *cpid, *tmp; in smb_pkey_del() local
225 if ((cpid = (smb_passid_t *)avl_find(&smb_ptd, in smb_pkey_del()
227 smb_pkey_delete(cpid); in smb_pkey_del()
247 smb_passid_t *cpid, *tmp; in smb_pkey_deluid() local
254 tmp = cpid) { in smb_pkey_deluid()
255 cpid = AVL_NEXT(&smb_ptd, tmp); in smb_pkey_deluid()
280 smb_passid_t *tmp, *cpid; in smb_pkey_add() local
291 cpid = kmem_zalloc(sizeof (smb_passid_t), KM_SLEEP); in smb_pkey_add()
292 cpid in smb_pkey_add()
334 smb_passid_t *tmp, *cpid; smb_pkey_check() local
[all...]
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmain.c135 pid_t cpid; in main() local
170 if ((cpid = fork()) == 0) { in main()
175 if (cpid == -1) /* fork() failure */ in main()
202 (void) snprintf(procname, PROCSIZE, "/proc/%d/ctl", EC_SWORD(cpid)); in main()
204 EC_SWORD(getpid()), EC_SWORD(cpid), procname); in main()
222 * open /proc/<cpid>/status in main()
224 (void) snprintf(procname, PROCSIZE, "/proc/%d/status", EC_SWORD(cpid)); in main()
282 (void) ps_init(pctlfd, pstatusfd, cpid, &proch); in main()
/titanic_51/usr/src/cmd/oamuser/user/
H A Dcall_pass.c46 int ret, cpid, wpid; local
48 switch (cpid = fork()) {
72 while ((wpid = wait(&ret)) != cpid) {
/titanic_51/usr/src/uts/common/inet/ip/
H A Dspdsock.c615 pid_t cpid; in spdsock_flush() local
617 cr = msg_getcred(mp, &cpid); in spdsock_flush()
620 ITP_NAME(itp), active, 0, cpid); in spdsock_flush()
630 pid_t cpid; in spdsock_flush() local
632 cr = msg_getcred(mp, &cpid); in spdsock_flush()
634 active, 0, cpid); in spdsock_flush()
640 pid_t cpid; in spdsock_flush() local
642 cr = msg_getcred(mp, &cpid); in spdsock_flush()
644 "all tunnels", active, 0, cpid); in spdsock_flush()
1051 pid_t cpid; in spdsock_addrule() local
1161 pid_t cpid; spdsock_addrule() local
1185 pid_t cpid; spdsock_addrule() local
1211 pid_t cpid; spdsock_deleterule() local
1272 pid_t cpid; spdsock_deleterule() local
1288 pid_t cpid; spdsock_deleterule() local
1328 pid_t cpid; spdsock_flip() local
1340 pid_t cpid; spdsock_flip() local
1357 pid_t cpid; spdsock_flip() local
1373 pid_t cpid; spdsock_flip() local
1388 pid_t cpid; spdsock_flip() local
2138 pid_t cpid; spdsock_clone() local
2152 pid_t cpid; spdsock_clone() local
2171 pid_t cpid; spdsock_clone() local
2186 pid_t cpid; spdsock_clone() local
2201 pid_t cpid; spdsock_clone() local
2815 pid_t cpid; spdsock_updatealg() local
2839 pid_t cpid; spdsock_updatealg() local
2851 pid_t cpid; spdsock_updatealg() local
[all...]
/titanic_51/usr/src/cmd/tip/
H A Dcmds.c196 int cpid, pdes[2]; in pipefile() local
208 if ((cpid = fork()) < 0) { in pipefile()
211 } else if (cpid) { in pipefile()
215 (void) kill(cpid, SIGKILL); in pipefile()
221 while ((p = wait(&status)) > 0 && p != cpid) in pipefile()
468 int cpid, status, p; in pipeout() local
483 if ((cpid = fork()) < 0) in pipeout()
485 else if (cpid) { in pipeout()
487 while ((p = wait(&status)) > 0 && p != cpid) in pipeout()
520 int cpid, statu in consh() local
[all...]
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c131 pid_t cpid; in daemonize() local
140 if ((cpid = fork()) == (pid_t)-1) { in daemonize()
143 if (cpid != 0) { in daemonize()
150 if ((cpid = fork()) == (pid_t)-1) { in daemonize()
153 if (cpid != 0) { in daemonize()
155 (void) printf("%d\n", (int)cpid); in daemonize()
/titanic_51/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c1150 wait_for_child(pid_t cpid) in wait_for_child() argument
1156 s_getpid(), (int)cpid)); in wait_for_child()
1159 while ((rval = waitpid(cpid, &status, 0)) != cpid) { in wait_for_child()
1162 "doesn't exist\n", s_getpid(), (int)cpid)); in wait_for_child()
1173 "normal exit\n", s_getpid(), (int)cpid)); in wait_for_child()
1179 "signal exit\n", s_getpid(), (int)cpid)); in wait_for_child()
1297 pid_t cpid; in dev_hotplug() local
1327 switch (cpid = fork1()) { in dev_hotplug()
1350 wait_for_child(cpid); in dev_hotplug()
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dsubshell.c88 pid_t cpid; member
451 if(sp->cpid==pid) in sh_subjobcheck()
532 sp->cpid = shp->cpid; in sh_subshell()
535 shp->cpid = 0; in sh_subshell()
716 shp->cpid = sp->cpid; in sh_subshell()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c97 pid_t cpid; member
456 if(sp->cpid==pid) in sh_subjobcheck()
587 sp->cpid = shp->cpid; in sh_subshell()
590 shp->cpid = 0; in sh_subshell()
779 shp->cpid = sp->cpid; in sh_subshell()
H A Djobs.c481 if(pid==shp->cpid) in job_reap()
1426 if(!shp->outpipe || shp->cpid==pid) in job_post()
1597 if(shp->coutpipe>=0 && lastpid && shp->cpid==lastpid) in job_wait()
/titanic_51/usr/src/uts/common/disp/
H A Dcpupart.c97 #define CPTOPS(cpid) ((psetid_t)((cpid) == CP_DEFAULT ? PS_NONE : (cpid))) argument
108 cpupartid_t cpid = PSTOCP(psid); in cpupart_find_all() local
121 if (cp->cp_id == cpid) in cpupart_find_all()
/titanic_51/usr/src/uts/common/inet/sctp/
H A Dsctp_conn.c145 pid_t cpid; in sctp_conn_request() local
239 cpid = ira->ira_cpid; in sctp_conn_request()
332 (sock_lower_handle_t)eager, NULL, cr, cpid, in sctp_conn_request()
455 /* We update our cred/cpid based on the caller of connect */ in sctp_connect()
H A Dsctp_input.c3624 pid_t cpid; in sctp_input_data() local
4082 cpid = ira->ira_cpid; in sctp_input_data()
4094 sctp->sctp_ulpd, 0, cr, cpid); in sctp_input_data()
4129 cpid = ira->ira_cpid; in sctp_input_data()
4133 sctp->sctp_ulpd, 0, cr, cpid); in sctp_input_data()
4160 cpid = ira->ira_cpid; in sctp_input_data()
4172 sctp->sctp_ulpd, 0, cr, cpid); in sctp_input_data()
/titanic_51/usr/src/cmd/saf/
H A Dsacadm.c1279 pid_t cpid; /* process ID of the child process */ in invoke_rm() local
1288 if (posix_spawn(&cpid, "/usr/bin/rm", NULL, NULL, in invoke_rm()
1291 if (waitpid(cpid, &cstatus, 0) == -1) in invoke_rm()
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c2590 pid_t cpid; local
2592 cpid = fork();
2593 if (cpid == (pid_t)-1) {
2597 if (cpid == (pid_t)0) {
2610 charshunt_pid = cpid;
2614 record_child(cpid, "pppd (charshunt)", charshunt_done, NULL);
/titanic_51/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c1391 register int cpid; in sigtrap() local
1394 (cpid = wait((int *)0)) != ChildPid in sigtrap()
1395 && (cpid != -1 || errno != ECHILD) in sigtrap()
/titanic_51/usr/src/cmd/nscd/
H A Dnscd_selfcred.c481 pid_t cpid; in child_monitor() local
485 cpid = ch->child_pid; in child_monitor()
489 (me, "child (pid = %d) exited or crashed ...\n", cpid); in child_monitor()
/titanic_51/usr/src/lib/libshell/common/include/
H A Ddefs.h155 pid_t cpid; \
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h183 pid_t cpid; \
/titanic_51/usr/src/uts/common/io/
H A Dstream.c463 pid_t cpid; in allocb_tmpl() local
465 cr = msg_getcred(tmpl, &cpid); in allocb_tmpl()
468 dst->db_cpid = cpid; in allocb_tmpl()
475 allocb_cred(size_t size, cred_t *cr, pid_t cpid) in allocb_cred() argument
484 dbp->db_cpid = cpid; in allocb_cred()
490 allocb_cred_wait(size_t size, uint_t flags, int *error, cred_t *cr, pid_t cpid) in allocb_cred_wait() argument
499 dbp->db_cpid = cpid; in allocb_cred_wait()
H A Dtl.c3060 pid_t cpid; in tl_conn_req_ser() local
3103 cr = msg_getcred(mp, &cpid); in tl_conn_req_ser()
3258 cr, cpid, in tl_conn_req_ser()
5007 pid_t cpid; in tl_unitdata() local
5179 cr = msg_getcred(mp, &cpid); in tl_unitdata()
5252 oldolen, cr, cpid, in tl_unitdata()
5978 tl_fill_option(uchar_t *buf, cred_t *cr, pid_t cpid, int flag, cred_t *pcr) in tl_fill_option() argument
6005 (void) cred2ucred(cr, cpid, (void *)(opt + 1), pcr); in tl_fill_option()
6014 (void) cred2ucred(cr, cpid, (void *)(topt + 1), pcr); in tl_fill_option()
/titanic_51/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c522 pid_t cpid; in tcp_tpi_connect() local
533 cr = msg_getcred(mp, &cpid); in tcp_tpi_connect()
718 error = tcp_do_connect(tcp->tcp_connp, sa, len, cr, cpid); in tcp_tpi_connect()
/titanic_51/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c3559 pid_t cpid; in do_exec() local
3569 if ((cpid = fork1()) == -1) { in do_exec()
3574 if (cpid == 0) { /* child process */ in do_exec()
3592 if (waitpid(cpid, &i, 0) == cpid) { in do_exec()
/titanic_51/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c177 pid_t cpid; in so_sock2stream() local
188 cr = msg_getcred(mp, &cpid); in so_sock2stream()
191 &error, cr, cpid); in so_sock2stream()

12