Searched refs:shp (Results 1 - 25 of 91) sorted by relevance

1234

/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_open.c36 shadow_handle_t *shp; local
41 if ((shp = shadow_zalloc(sizeof (shadow_handle_t))) == NULL)
44 if ((shp->sh_mountpoint = shadow_strdup(mountpoint)) == NULL)
54 search.mnt_mountp = shp->sh_mountpoint;
65 if (statvfs64(shp->sh_mountpoint, &vstat) != 0) {
66 shp->sh_fsid = NODEV;
68 shp->sh_fsid = vstat.f_fsid;
72 if ((shp->sh_dataset =
76 if ((shp->sh_fstype =
78 (shp
111 shadow_close(shadow_handle_t *shp) argument
[all...]
H A Dshadow_hash.c90 shadow_hash_t *shp; local
92 if ((shp = shadow_zalloc(sizeof (shadow_hash_t))) == NULL)
95 shp->sh_nbuckets = SHADOW_HASHMINSIZE;
96 shp->sh_linkoffs = linkoffs;
97 shp->sh_convert = convert;
98 shp->sh_compute = compute;
99 shp->sh_compare = compare;
101 if ((shp->sh_buckets = shadow_zalloc(
102 shp->sh_nbuckets * sizeof (void *))) == NULL) {
103 free(shp);
111 shadow_hash_destroy(shadow_hash_t *shp) argument
145 shadow_hash_compute(shadow_hash_t *shp, const void *elem) argument
151 shadow_hash_resize(shadow_hash_t *shp, ulong_t nsize) argument
197 shadow_hash_lookup(shadow_hash_t *shp, const void *search) argument
213 shadow_hash_first(shadow_hash_t *shp) argument
224 shadow_hash_next(shadow_hash_t *shp, void *elem) argument
235 shadow_hash_insert(shadow_hash_t *shp, void *elem) argument
252 shadow_hash_remove(shadow_hash_t *shp, void *elem) argument
275 shadow_hash_count(shadow_hash_t *shp) argument
[all...]
H A Dshadow_migrate.c34 shadow_add_entry(shadow_handle_t *shp, const char *path, const char *entry, argument
65 if (shp->sh_fsid != NODEV &&
67 vstat.f_fsid != shp->sh_fsid) {
78 (void) pthread_mutex_lock(&shp->sh_lock);
79 if (shadow_pq_enqueue(&shp->sh_queue, sep) != 0) {
80 (void) pthread_mutex_unlock(&shp->sh_lock);
85 shadow_status_enqueue(shp, sep);
86 (void) pthread_mutex_unlock(&shp->sh_lock);
216 shadow_load_fidlist(shadow_handle_t *shp, shadow_hash_t *seen, int idx) argument
229 if ((fids = shadow_read_fidlist(shp
378 shadow_begin(shadow_handle_t *shp) argument
438 shadow_check_begin(shadow_handle_t *shp) argument
473 shadow_end(shadow_handle_t *shp) argument
495 shadow_error_record(shadow_handle_t *shp, const char *path, int err) argument
537 shadow_error_check(shadow_handle_t *shp, const char *localpath, int err) argument
626 shadow_migrate_dir(shadow_handle_t *shp, shadow_entry_t *sep, int *errp) argument
709 shadow_migrate_file(shadow_handle_t *shp, shadow_entry_t *sep, int *errp) argument
737 shadow_process_pending(shadow_handle_t *shp) argument
798 shadow_handle_t *shp = sca->sca_hdl; local
827 shadow_migrate_one(shadow_handle_t *shp) argument
930 shadow_migrate_done(shadow_handle_t *shp) argument
941 shadow_migrate_only_errors(shadow_handle_t *shp) argument
953 shadow_migrate_iter(shadow_handle_t *shp, void (*func)(const char *, void *), void *data) argument
995 shadow_migrate_finalize(shadow_handle_t *shp) argument
1013 shadow_migrate_delay(shadow_handle_t *shp, uint32_t delay) argument
[all...]
H A Dshadow_status.c72 shadow_status_update(shadow_handle_t *shp, shadow_entry_t *sep, argument
77 shp->sh_progress.sp_leaf++;
78 shp->sh_progress.sp_leaf_depth += sep->se_depth;
80 shp->sh_progress.sp_interior++;
84 shp->sh_progress.sp_processed += size;
92 shadow_status_enqueue(shadow_handle_t *shp, shadow_entry_t *sep) argument
97 shp->sh_progress.sp_dir_seen++;
98 shp->sh_progress.sp_dir_queue++;
99 shp->sh_progress.sp_dir_depth += sep->se_depth;
107 shadow_status_dequeue(shadow_handle_t *shp, shadow_entry_ argument
122 shadow_get_status(shadow_handle_t *shp, shadow_status_t *ssp) argument
175 shadow_get_errors(shadow_handle_t *shp, size_t count) argument
[all...]
H A Dshadow_control.c68 shadow_cancel(shadow_handle_t *shp) argument
80 if (shp->sh_dataset != NULL) {
87 if ((zhp = zfs_open(zhdl, shp->sh_dataset,
105 if (mount(shp->sh_special, shp->sh_mountpoint, MS_REMOUNT,
106 shp->sh_fstype, NULL, 0, NULL, 0) != 0) {
119 (void) snprintf(path, sizeof (path), "%s/%s", shp->sh_mountpoint,
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dcflow.c49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
50 struct checkpt *pp = (struct checkpt*)shp->jmplist;
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10)&SH_EXITMASK:shp->oldexit));
69 if(shp->fn_depth==0 && shp->dot_depth==0 && !sh_isstate(SH_PROFILE))
71 sh_exit(shp->savexit=n);
87 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
107 if(shp
[all...]
H A Dtrap.c48 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global)
96 sig = sig_number(shp,arg);
113 if(arg=shp->st.trap[sig])
117 if(shp->st.trap[sig])
118 free(shp->st.trap[sig]);
119 shp->st.trap[sig] = 0;
121 shp
169 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
235 sig_number(Shell_t *shp,const char *string) argument
313 sig_name(Shell_t *shp,int sig, char* buf, int pfx) argument
354 sig_list(register Shell_t *shp,register int flag) argument
[all...]
H A Dmisc.c66 logdata.sh = ((Shbltin_t*)extra)->shp;
102 register Shell_t *shp; local
105 shp = ((Shbltin_t*)extra)->shp;
109 shp = logp->sh;
111 pp = (struct checkpt*)shp->jmplist;
116 register struct argnod *arg=shp->envlist;
119 if(shp->subshell && !shp->subshare)
124 env_close(shp
163 Shell_t *shp = ((Shbltin_t*)extra)->shp; local
185 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
212 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
345 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
371 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
397 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
431 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
514 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
[all...]
H A Dsleep.c49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF)))
78 else if(*last=='.' && shp->decomma && d==(unsigned long)d)
116 shp->lastsig=0;
118 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig)
120 sh_sigcheck(shp);
124 if(shp->sigflag[SIGALRM]&SH_SIGTRAP)
125 sh_timetraps(shp);
138 Shell_t *shp local
176 Shell_t *shp = sh_getinterp(); local
[all...]
H A Dread.c65 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
66 long timeout = 1000*shp->st.tmout;
108 if((fd = shp->cpipe[0])<=0)
128 if(sh_inuse(shp,fd))
144 if(!((r=shp->fdstatus[fd])&IOREAD) || !(r&(IOSEEK|IONOSEEK)))
145 r = sh_iocheckfd(shp,fd);
164 shp->prompt = default_prompt;
165 if(r && (shp->prompt=(char*)sfreserve(sfstderr,r,SF_LOCKR)))
167 memcpy(shp
204 sh_readline(register Shell_t *shp,char **names, int fd, int flags,long timeout) argument
[all...]
H A Dcd_pwd.c57 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
84 oldpwd = (char*)shp->pwd;
85 opwdnod = (shp->subshell?sh_assignok(OLDPWDNOD,1):OLDPWDNOD);
86 pwdnod = (shp->subshell?sh_assignok(PWDNOD,1):PWDNOD);
101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp))
103 if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH))
105 shp->cdpathlist = (void*)cdpath;
106 cdpath->shp
214 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dxec.c94 static void iousepipe(Shell_t *shp) argument
100 VALIDATE_FD(shp, subpipe[1]);
101 VALIDATE_FD(shp, subpipe[2]);
102 shp->fdstatus[subpipe[2]] = shp->fdstatus[1];
105 shp->fdstatus[1] = shp->fdstatus[subpipe[1]];
107 if(subdup=shp->subdup) for(i=0; i < 10; i++)
113 shp->fdstatus[i] = shp
118 iounpipe(Shell_t *shp) argument
174 p_time(Shell_t *shp, Sfio_t *out, const char *format, clock_t *tm) argument
449 init_level(Shell_t *shp,int level) argument
465 sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const argv[], int flags) argument
538 Shell_t *shp = sh_getinterp(); local
638 set_instance(Shell_t *shp,Namval_t *nq, Namval_t *node, struct Namref *nr) argument
714 sh_coinit(Shell_t *shp,char **argv) argument
761 sh_coaddfile(Shell_t *shp, char *name) argument
775 sh_coexec(Shell_t *shp,const Shnode_t *t, int filt) argument
868 register Shell_t *shp = sh_getinterp(); local
2773 Shell_t *shp = sh_getinterp(); local
2822 sh_trace(Shell_t *shp,register char *argv[], register int nl) argument
2895 _sh_fork(Shell_t *shp,register pid_t parent,int flags,int *jobid) argument
3033 sh_fork(Shell_t *shp,int flags, int *jobid) argument
3068 Shell_t *shp = ((struct Tdata*)data)->sh; local
3080 sh_mathfun(Shell_t *shp,void *fp, int nargs, Sfdouble_t *arg) argument
3124 register Shell_t *shp = sh_getinterp(); local
3282 sh_funct(Shell_t *shp,Namval_t *np,int argn, char *argv[],struct argnod *envlist,int execflg) argument
3345 Shell_t *shp = sh_getinterp(); local
3419 coproc_init(Shell_t *shp, int pipes[]) argument
3471 run_subshell(Shell_t *shp,const Shnode_t *t,pid_t grp) argument
3544 sigreset(Shell_t *shp,int mode) argument
3560 sh_ntfork(Shell_t *shp,const Shnode_t *t,char *argv[],int *jobid,int flag) argument
[all...]
H A Dfault.c65 register Shell_t *shp = sh_getinterp(); local
68 register struct checkpt *pp = (struct checkpt*)shp->jmplist;
84 shp->winch++;
87 trap = shp->st.trapcom[sig];
88 if(shp->savesig)
91 if(!(shp->sigflag[sig]&SH_SIGIGNORE))
92 shp->savesig = sig;
95 if(sig==SIGALRM && shp->bltinfun==b_sleep)
99 shp->trapnote |= SH_SIGTRAP;
100 shp
227 Shell_t *shp = (Shell_t*)ptr; local
387 sh_chktrap(Shell_t* shp) argument
448 Shell_t *shp = sh_getinterp(); local
512 Shell_t *shp = sh_getinterp(); local
602 Shell_t *shp = (Shell_t*)ptr; local
[all...]
H A Dmain.c59 static void chkmail(Shell_t *shp, char*);
91 Shell_t *shp = (Shell_t*)context; local
94 if(shp->trapnote&SH_SIGSET)
114 int sh_source(Shell_t *shp, Sfio_t *iop, const char *file) argument
120 if (!file || !*file || (fd = path_open(shp,file, PATHCOMP)) < 0)
127 shp->st.filename = path_fullname(shp,stakptr(PATH_OFFSET));
129 exfile(shp, iop, fd);
146 register Shell_t *shp; local
161 shp
389 exfile(register Shell_t *shp, register Sfio_t *iop,register int fno) argument
639 chkmail(Shell_t *shp, char *files) argument
[all...]
H A Dsubshell.c63 Shell_t *shp; /* shell interpreter */ member in struct:subshell
110 void sh_subtmpfile(Shell_t *shp) argument
115 register struct checkpt *pp = (struct checkpt*)shp->jmplist;
121 VALIDATE_FD(shp, fd);
122 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX;
148 VALIDATE_FD(shp, fd);
149 shp->fdstatus[fd] = IOREAD|IOWRITE;
156 shp->fdstatus[1] = shp
177 Shell_t *shp = sp->shp; local
241 Shell_t *shp = sp->shp; local
460 sh_subshell(Shell_t *shp,Shnode_t *t, int flags, int comsub) argument
[all...]
H A Dtrestore.c47 Shnode_t *sh_trestore(Shell_t *shp,Sfio_t *in) argument
51 t = r_tree(shp);
57 static Shnode_t *r_tree(Shell_t *shp) argument
69 t = getnode(shp->stk,parnod);
70 t->par.partre = r_tree(shp);
73 t = getnode(shp->stk,comnod);
75 r_comarg(shp,(struct comnod*)t);
79 t = getnode(shp->stk,forknod);
81 t->fork.forktre = r_tree(shp);
82 t->fork.forkio = r_redirect(shp);
177 r_arg(Shell_t *shp) argument
230 r_redirect(Shell_t* shp) argument
267 r_comarg(Shell_t *shp,struct comnod *com) argument
298 r_comlist(Shell_t *shp) argument
314 r_switch(Shell_t *shp) argument
[all...]
H A Dpath.c61 static void path_checkdup(Shell_t *shp,register Pathcomp_t*);
80 int path_xattr(Shell_t *shp, const char *path, char *rpath) argument
83 if (shp->gd->user && *shp->gd->user)
90 if(pf=getexecuser(shp->gd->user, KV_COMMAND, resolvedpath, GET_ONE))
106 static pid_t path_pfexecve(Shell_t *shp,const char *path, char *argv[],char *const envp[],int spawn) argument
114 _sh_fork(shp,pid, 0, (int*)0);
125 if(!path_xattr(shp,path,resolvedpath))
137 static pid_t _spawnveg(Shell_t *shp,const char *path, char* const argv[], char* const envp[], pid_t pgid) argument
148 _sh_fork(shp,pi
162 path_xargs(Shell_t *shp,const char *path, char *argv[],char *const envp[], int spawn) argument
239 path_pwd(Shell_t *shp,int flag) argument
349 path_lib(Shell_t *shp,Pathcomp_t *pp, char *path) argument
398 path_checkdup(Shell_t *shp,register Pathcomp_t *pp) argument
439 path_nextcomp(Shell_t *shp,register Pathcomp_t *pp, const char *name, Pathcomp_t *last) argument
482 defpath_init(Shell_t *shp) argument
488 path_init(Shell_t *shp) argument
513 path_get(register Shell_t *shp,register const char *name) argument
535 path_opentype(Shell_t *shp,const char *name, register Pathcomp_t *pp, int fun) argument
577 path_open(Shell_t *shp,const char *name, register Pathcomp_t *pp) argument
595 path_fullname(Shell_t *shp,const char *name) argument
618 funload(Shell_t *shp,int fno, const char *name) argument
678 path_search(Shell_t *shp,register const char *name,Pathcomp_t **oldpp, int flag) argument
755 path_absolute(Shell_t *shp,register const char *name, Pathcomp_t *pp) argument
898 canexecute(Shell_t *shp,register char *path, int isfun) argument
947 path_relative(Shell_t *shp,register const char* file) argument
970 path_exec(Shell_t *shp,register const char *arg0,register char *argv[],struct argnod *local) argument
1016 path_spawn(Shell_t *shp,const char *opath,register char **argv, char **envp, Pathcomp_t *libpath, int spawn) argument
1229 exscript(Shell_t *shp,register char *path,register char *argv[],char **envp) argument
1420 path_addcomp(Shell_t *shp,Pathcomp_t *first, Pathcomp_t *old,const char *name, int flag) argument
1473 path_chkpaths(Shell_t *shp,Pathcomp_t *first, Pathcomp_t* old,Pathcomp_t *pp, int offset) argument
1570 path_addpath(Shell_t *shp,Pathcomp_t *first, register const char *path,int type) argument
1644 path_newdir(Shell_t *shp,Pathcomp_t *first) argument
1698 path_unsetfpath(Shell_t *shp) argument
[all...]
H A Dio.c400 int sh_iovalidfd(Shell_t *shp, int fd) argument
402 Sfio_t **sftable = shp->sftable;
403 int max,n, **fdptrs = shp->fdptrs;
404 unsigned char *fdstatus = shp->fdstatus;
407 if(fd < shp->gd->lim.open_max)
418 max = shp->gd->lim.open_max;
419 shp->sftable = (Sfio_t**)calloc(n*(sizeof(int*)+sizeof(Sfio_t*)+1),1);
421 memcpy(shp->sftable,sftable,max*sizeof(Sfio_t*));
422 shp->fdptrs = (int**)(&shp
434 sh_inuse(Shell_t *shp, int fd) argument
439 sh_ioinit(Shell_t *shp) argument
468 Shell_t *shp = ((struct Iodisc*)handle)->sh; local
511 sh_iostream(Shell_t *shp, register int fd) argument
587 io_preserve(Shell_t* shp, register Sfio_t *sp, register int f2) argument
629 sh_iorenumber(Shell_t *shp, register int f1,register int f2) argument
685 Shell_t *shp = sh_getinterp(); local
735 Shell_t *shp = sh_getinterp(); local
872 Shell_t *shp = sh_getinterp(); local
894 Shell_t *shp = sh_getinterp(); local
910 sh_coaccept(Shell_t *shp,int *pv,int out) argument
935 sh_copipe(Shell_t *shp, int *pv, int out) argument
985 io_patseek(Shell_t *shp, regex_t *rp, Sfio_t* sp, int flags) argument
1026 file_offset(Shell_t *shp, int fn, char *fname) argument
1125 sh_redirect(Shell_t *shp,struct ionod *iop, int flag) argument
1543 io_heredoc(Shell_t *shp,register struct ionod *iop, const char *name, int traceon) argument
1614 sh_iosave(Shell_t *shp, register int origfd, int oldtop, char *name) argument
1695 sh_iounsave(Shell_t* shp) argument
1715 sh_iorestore(Shell_t *shp, int last, int jmpval) argument
1794 Shell_t *shp = sh_getinterp(); local
1815 Shell_t *shp = ((struct Iodisc*)handle)->sh; local
1877 Shell_t *shp = (Shell_t*)handle; local
1897 Shell_t *shp = ((struct Iodisc*)handle)->sh; local
1925 Shell_t *shp = ((struct Iodisc*)handle)->sh; local
2005 sh_iocheckfd(Shell_t *shp, register int fd) argument
2085 io_prompt(Shell_t *shp,Sfio_t *iop,register int flag) argument
2175 Shell_t *shp = sh_getinterp(); local
2339 subopen(Shell_t *shp,Sfio_t* sp, off_t offset, long size) argument
2410 Shell_t *shp = sh_getinterp(); local
2468 Shell_t *shp = sh_getinterp(); local
2484 Shell_t *shp = sh_getinterp(); local
2500 Shell_t *shp = sh_getinterp(); local
2513 Shell_t *shp = sh_getinterp(); local
2532 Shell_t *shp = sh_getinterp(); local
2566 Shell_t *shp = sh_getinterp(); local
2580 Shell_t *shp = sh_getinterp(); local
2634 Shell_t *shp = sh_getinterp(); local
2655 Shell_t *shp = sh_getinterp(); local
[all...]
H A Dinit.c253 Shell_t *shp = nv_shell(np); local
254 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD)))
256 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD)))))
280 Shell_t *shp = nv_shell(np); local
281 void *histopen = shp->gd->hist_ptr;
287 if(np==HISTSIZE && sh_arith(shp,val)==nv_getnum(HISTSIZE))
289 hist_close(shp->gd->hist_ptr);
295 sh_histinit(shp);
304 Shell_t *shp = nv_shell(np); local
305 shp
329 Shell_t *shp = nv_shell(np); local
374 Shell_t *shp = nv_shell(np); local
406 Shell_t *shp = nv_shell(np); local
506 Shell_t *shp; local
529 register Shell_t *shp = nv_shell(np); local
608 Shell_t *shp = nv_shell(np); local
692 Shell_t *shp = nv_shell(np); local
716 Shell_t *shp = nv_shell(np); local
726 Shell_t *shp = nv_shell(np); local
896 Shell_t *shp = sh_getinterp(); local
912 math_init(Shell_t *shp) argument
933 Shell_t *shp = nv_shell(np); local
944 Shell_t *shp = nv_shell(np); local
965 Shell_t *shp=nv_shell(np); local
1019 Shell_t *shp = sh_getinterp(); local
1181 Shell_t *shp; local
1515 Shell_t *shp = sh_getinterp(); local
1643 Shell_t *shp = sp->sh; local
1676 Shell_t *shp = sh_getinterp(); local
1692 stat_init(Shell_t *shp) argument
1723 nv_init(Shell_t *shp) argument
1850 inittree(Shell_t *shp,const struct shtable2 *name_vals) argument
1909 env_init(Shell_t *shp) argument
2059 Shell_t *shp = sh_getinterp(); local
[all...]
/osnet-11/usr/src/lib/libsysevent/
H A Dlibsysevent.c67 static int cleanup_id(sysevent_handle_t *shp, uint32_t id, int type);
762 subscriber_event_handler(sysevent_handle_t *shp) argument
767 sub_info = (subscriber_priv_t *)SH_PRIV_DATA(shp);
775 while (sub_info->sp_evq_head == NULL && SH_BOUND(shp)) {
788 if (!SH_BOUND(shp)) {
820 sysevent_handle_t *shp; local
834 shp = (sysevent_handle_t *)cookie;
835 if (shp == NULL) {
844 if (mutex_trylock(SH_LOCK(shp)) != 0) {
849 if (!SH_BOUND(shp)) {
993 update_kernel_registration(sysevent_handle_t *shp, int update_type, int update_op, uint32_t *sub_id, size_t datasz, uchar_t *data) argument
1079 dealloc_subscribers(sysevent_handle_t *shp) argument
1096 alloc_subscriber(sysevent_handle_t *shp, uint32_t sub_id, int oflag) argument
1175 cache_find_class(sysevent_handle_t *shp, char *class) argument
1230 cache_insert_class(sysevent_handle_t *shp, char *class, char **subclass_names, int subclass_num, uint32_t sub_id) argument
1284 cache_remove_all_class(sysevent_handle_t *shp, uint32_t sub_id) argument
1304 cache_remove_class(sysevent_handle_t *shp, char *class, uint32_t sub_id) argument
1326 free_cached_registration(sysevent_handle_t *shp) argument
1352 create_cached_registration(sysevent_handle_t *shp, class_lst_t **class_hash) argument
1491 sysevent_handle_t *shp; local
1595 sysevent_send_event(sysevent_handle_t *shp, sysevent_t *ev) argument
1744 sysevent_handle_t *shp; local
1875 sysevent_close_channel(sysevent_handle_t *shp) argument
1907 sysevent_bind_publisher(sysevent_handle_t *shp) argument
2084 sysevent_bind_subscriber_cmn(sysevent_handle_t *shp, void (*event_handler)(sysevent_t *ev), sysevent_subattr_t *subattr) argument
2272 sysevent_bind_subscriber(sysevent_handle_t *shp, void (*event_handler)(sysevent_t *ev)) argument
2283 sysevent_bind_xsubscriber(sysevent_handle_t *shp, void (*event_handler)(sysevent_t *ev), sysevent_subattr_t *subattr) argument
2294 sysevent_register_event(sysevent_handle_t *shp, const char *ev_class, const char **ev_subclass, int subclass_num) argument
2364 sysevent_unregister_event(sysevent_handle_t *shp, const char *class) argument
2388 cleanup_id(sysevent_handle_t *shp, uint32_t id, int type) argument
2408 sysevent_cleanup_subscribers(sysevent_handle_t *shp) argument
2454 sysevent_cleanup_publishers(sysevent_handle_t *shp) argument
2463 sysevent_unbind_subscriber(sysevent_handle_t *shp) argument
2513 sysevent_unbind_publisher(sysevent_handle_t *shp) argument
2551 sysevent_handle_t *shp; local
2631 sysevent_unbind_handle(sysevent_handle_t *shp) argument
2642 sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class, const char **event_subclass_list, int num_subclasses) argument
2650 sysevent_unsubscribe_event(sysevent_handle_t *shp, const char *event_class) argument
[all...]
H A Dlibsysevent.h94 int sysevent_send_event(sysevent_handle_t *shp, sysevent_t *ev);
97 void sysevent_close_channel(sysevent_handle_t *shp);
98 int sysevent_bind_subscriber(sysevent_handle_t *shp,
100 int sysevent_bind_xsubscriber(sysevent_handle_t *shp,
102 void sysevent_unbind_subscriber(sysevent_handle_t *shp);
103 int sysevent_bind_publisher(sysevent_handle_t *shp);
104 void sysevent_unbind_publisher(sysevent_handle_t *shp);
105 int sysevent_register_event(sysevent_handle_t *shp, const char *event_class,
107 void sysevent_unregister_event(sysevent_handle_t *shp,
109 void sysevent_cleanup_subscribers(sysevent_handle_t *shp);
[all...]
/osnet-11/usr/src/lib/libsmbios/common/
H A Dsmb_subr.c39 smb_open_error(smbios_hdl_t *shp, int *errp, int err) argument
41 if (shp != NULL)
42 smbios_close(shp);
82 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) argument
86 if (!(shp->sh_flags & SMB_FL_DEBUG))
H A Dsmb_lib.c55 smbios_hdl_t *shp = NULL; local
60 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR));
63 return (smb_open_error(shp, errp, ESMB_HEADER));
68 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR));
71 return (smb_open_error(shp, errp, ESMB_NOMEM));
76 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOSTAB));
79 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp);
81 if (shp != NULL)
82 shp->sh_flags |= SMB_FL_BUFALLOC;
86 return (shp);
93 smbios_hdl_t *shp = NULL; local
162 smbios_hdl_t *shp; local
178 smbios_xwrite(smbios_hdl_t *shp, int fd, const void *buf, size_t buflen) argument
194 smbios_write(smbios_hdl_t *shp, int fd) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/shp/
H A DMakefile.com25 LIBRARY= shp.a
27 OBJECTS= shp.o
41 SRCS= ../common/shp.c
59 pics/shp.o: ../common/shp.c
60 $(COMPILE.c) -o $@ ../common/shp.c
/osnet-11/usr/src/lib/libshell/common/include/
H A Dfault.h108 #define sh_pushcontext(shp,bp,n)( (bp)->mode=(n) , (bp)->olist=0, \
109 (bp)->topfd=shp->topfd, (bp)->prev=shp->jmplist, \
111 shp->jmplist = (sigjmp_buf*)(&(bp)->buff) \
113 #define sh_popcontext(shp,bp) (shp->jmplist=(bp)->prev, errorpop(&((bp)->err)))

Completed in 81 milliseconds

1234