Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 1277) sorted by relevance

12345678910>>...52

/titanic_52/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfastfind.c143 register Find_t* fp; in findopen() local
175 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, sizeof(Encode_t) - sizeof(Code_t)))) in findopen()
177 fp->vm = vm; in findopen()
178 fp->id = lib; in findopen()
179 fp->disc = disc; in findopen()
180 fp->generate = 1; in findopen()
203 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); in findopen()
204 if (!eaccess(fp->encode.file, R_OK|W_OK)) in findopen()
206 path = fp in findopen()
679 findread(register Find_t * fp) findread() argument
927 findwrite(register Find_t * fp,const char * path,size_t len,const char * type) findwrite() argument
1033 finddone(register Find_t * fp) finddone() argument
1065 findsync(register Find_t * fp) findsync() argument
1258 findclose(register Find_t * fp) findclose() argument
[all...]
/titanic_52/usr/src/cmd/ipf/lib/common/
H A Dprintfr.c19 void printfr(fp, iocfunc) in printfr() argument
20 struct frentry *fp; in printfr()
31 type = fp->fr_type & ~FR_T_BUILTIN;
33 if ((fp->fr_type & FR_T_BUILTIN) != 0)
36 if (fp->fr_collect != 0)
37 printf("%u ", fp->fr_collect);
39 if (fp->fr_type == FR_T_CALLFUNC) {
41 } else if (fp->fr_func != NULL) {
43 if ((fp->fr_flags & FR_CALLNOW) != 0)
45 s = kvatoname(fp
[all...]
/titanic_52/usr/src/cmd/smbios/
H A Dsmbios.c90 oprintf(FILE *fp, const char *format, ...) in oprintf() argument
95 (void) vfprintf(fp, format, ap); in oprintf()
101 desc_printf(const char *d, FILE *fp, const char *format, ...) in desc_printf() argument
106 (void) vfprintf(fp, format, ap); in desc_printf()
110 (void) fprintf(fp, " (%s)\n", d); in desc_printf()
112 (void) fprintf(fp, "\n"); in desc_printf()
116 flag_printf(FILE *fp, const char *s, uint_t flags, size_t bits, in flag_printf() argument
121 oprintf(fp, " %s: 0x%x\n", s, flags); in flag_printf()
131 desc_printf(flag_desc(f), fp, "\t%s", n); in flag_printf()
133 desc_printf(flag_desc(f), fp, "\t0 in flag_printf()
138 flag64_printf(FILE * fp,const char * s,uint64_t flags,size_t bits,const char * (* flag_name)(uint64_t),const char * (* flag_desc)(uint64_t)) flag64_printf() argument
160 id_printf(FILE * fp,const char * s,id_t id) id_printf() argument
175 jedec_print(FILE * fp,const char * desc,uint_t id) jedec_print() argument
224 print_smbios_21(smbios_21_entry_t * ep,FILE * fp) print_smbios_21() argument
256 print_smbios_30(smbios_30_entry_t * ep,FILE * fp) print_smbios_30() argument
275 print_smbios(smbios_hdl_t * shp,FILE * fp) print_smbios() argument
290 print_common(const smbios_info_t * ip,FILE * fp) print_common() argument
309 print_bios(smbios_hdl_t * shp,FILE * fp) print_bios() argument
358 print_system(smbios_hdl_t * shp,FILE * fp) print_system() argument
381 print_bboard(smbios_hdl_t * shp,id_t id,FILE * fp) print_bboard() argument
417 print_chassis(smbios_hdl_t * shp,id_t id,FILE * fp) print_chassis() argument
477 print_processor(smbios_hdl_t * shp,id_t id,FILE * fp) print_processor() argument
587 print_cache(smbios_hdl_t * shp,id_t id,FILE * fp) print_cache() argument
636 print_port(smbios_hdl_t * shp,id_t id,FILE * fp) print_port() argument
656 print_slot(smbios_hdl_t * shp,id_t id,FILE * fp) print_slot() argument
725 print_obdevs_ext(smbios_hdl_t * shp,id_t id,FILE * fp) print_obdevs_ext() argument
751 print_obdevs(smbios_hdl_t * shp,id_t id,FILE * fp) print_obdevs() argument
765 print_strtab(smbios_hdl_t * shp,id_t id,FILE * fp) print_strtab() argument
779 print_lang(smbios_hdl_t * shp,id_t id,FILE * fp) print_lang() argument
795 print_evlog(smbios_hdl_t * shp,id_t id,FILE * fp) print_evlog() argument
844 print_bytes(const uint8_t * data,size_t size,FILE * fp) print_bytes() argument
882 print_memarray(smbios_hdl_t * shp,id_t id,FILE * fp) print_memarray() argument
904 print_memdevice(smbios_hdl_t * shp,id_t id,FILE * fp) print_memdevice() argument
1056 print_memarrmap(smbios_hdl_t * shp,id_t id,FILE * fp) print_memarrmap() argument
1070 print_memdevmap(smbios_hdl_t * shp,id_t id,FILE * fp) print_memdevmap() argument
1088 print_hwsec(smbios_hdl_t * shp,FILE * fp) print_hwsec() argument
1105 print_vprobe(smbios_hdl_t * shp,id_t id,FILE * fp) print_vprobe() argument
1168 print_cooldev(smbios_hdl_t * shp,id_t id,FILE * fp) print_cooldev() argument
1197 print_tprobe(smbios_hdl_t * shp,id_t id,FILE * fp) print_tprobe() argument
1262 print_iprobe(smbios_hdl_t * shp,id_t id,FILE * fp) print_iprobe() argument
1326 print_boot(smbios_hdl_t * shp,FILE * fp) print_boot() argument
1342 print_ipmi(smbios_hdl_t * shp,FILE * fp) print_ipmi() argument
1365 print_powersup(smbios_hdl_t * shp,id_t id,FILE * fp) print_powersup() argument
1406 print_extprocessor(smbios_hdl_t * shp,id_t id,FILE * fp) print_extprocessor() argument
1427 print_extport(smbios_hdl_t * shp,id_t id,FILE * fp) print_extport() argument
1444 print_pciexrc(smbios_hdl_t * shp,id_t id,FILE * fp) print_pciexrc() argument
1458 print_extmemarray(smbios_hdl_t * shp,id_t id,FILE * fp) print_extmemarray() argument
1473 print_extmemdevice(smbios_hdl_t * shp,id_t id,FILE * fp) print_extmemdevice() argument
1493 print_struct(smbios_hdl_t * shp,const smbios_struct_t * sp,void * fp) print_struct() argument
1705 usage(FILE * fp) usage() argument
[all...]
/titanic_52/usr/src/cmd/sendmail/libsm/
H A Dungetc.c36 ** Expand the ungetc buffer `in place'. That is, adjust fp->f_p when
42 ** fp -- the file pointer
52 sm_submore_x(fp) in sm_submore_x() argument
53 SM_FILE_T *fp; in sm_submore_x()
58 if (fp->f_ub.smb_base == fp->f_ubuf)
62 fp->f_ub.smb_base = p;
63 fp->f_ub.smb_size = SM_IO_BUFSIZ;
64 p += SM_IO_BUFSIZ - sizeof(fp->f_ubuf);
65 for (i = sizeof(fp
98 sm_io_ungetc(fp,timeout,c) sm_io_ungetc() argument
[all...]
H A Dfseek.c68 ** fp -- the file pointer to be seek'd
79 sm_io_seek(fp, timeout, offset, whence) in sm_io_seek() argument
80 register SM_FILE_T *fp; in sm_io_seek()
93 SM_REQUIRE_ISA(fp, SmFileMagic);
100 if ((seekfn = fp->f_seek) == NULL)
107 timeout = fp->f_timeout;
147 sm_flush(fp, (int *) &timeout);
149 if (fp->f_flags & SMOFF)
150 curoff = fp->f_lseekoff;
153 curoff = (*seekfn)(fp, (off_
[all...]
H A Drefill.c50 ** fp -- the file pointer for the active file
51 ** fd -- raw file descriptor (from 'fp') to use for select()
60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \ argument
89 fp->f_r = 0; \
90 fp->f_flags |= SMERR; \
110 ** fp -- file pointer to flush
119 sm_lflush(fp, timeout) in sm_lflush() argument
120 SM_FILE_T *fp; in sm_lflush()
124 if ((fp->f_flags & (SMLBF|SMWR)) == (SMLBF|SMWR))
125 return sm_flush(fp, timeou
142 sm_refill(fp,timeout) sm_refill() argument
294 sm_rget(fp,timeout) sm_rget() argument
[all...]
H A Dfindfp.c155 register SM_FILE_T *fp; local
166 fp = oldfp;
167 goto found; /* for opening reusing an 'fp' */
172 for (fp = g->gl_iobs, n = g->gl_niobs; --n >= 0; fp++)
173 if (fp->sm_magic == NULL)
179 fp->sm_magic = SmFileMagic; /* 'fp' now valid and in-use */
180 fp->f_p = NULL; /* no current pointer */
181 fp
285 sm_io_setinfo(fp,what,valp) sm_io_setinfo() argument
358 sm_io_getinfo(fp,what,valp) sm_io_getinfo() argument
[all...]
H A Dfvwrite.c35 ** fp -- the file pointer to write to
47 #define COPY(n) (void)memcpy((void *)fp->f_p, (void *)p, (size_t)(n))
58 sm_fvwrite(fp, timeout, uio)
59 register SM_FILE_T *fp;
76 if (cantwrite(fp))
82 SM_CONVERT_TIME(fp, fd, timeout, &to);
88 if (fp->f_flags & SMNBF)
95 w = (*fp->f_write)(fp, p, SM_MIN(len, SM_IO_BUFSIZ));
104 SM_IO_WR_TIMEOUT(fp, f
[all...]
H A Dsmstdio.c29 ** stdio. fp->f_cookie is the FILE* of stdio. The cookie may be
31 ** When binding late (when fp->f_cookie==NULL) then the value of
32 ** fp->f_ival is used (0, 1 or 2) to map to stdio's stdin, stdout or
40 ** fp -- file pointer assign for this open
52 sm_stdioopen(fp, info, flags, rpool) in sm_stdioopen() argument
53 SM_FILE_T *fp; in sm_stdioopen()
100 fp->f_cookie = s;
108 ** fp - the file pointer to get the cookie assigned
115 setup(fp) in setup() argument
116 SM_FILE_T *fp; in setup()
151 sm_stdioread(fp,buf,n) sm_stdioread() argument
177 sm_stdiowrite(fp,buf,n) sm_stdiowrite() argument
203 sm_stdioseek(fp,offset,whence) sm_stdioseek() argument
227 sm_stdioclose(fp) sm_stdioclose() argument
253 sm_stdiosetinfo(fp,what,valp) sm_stdiosetinfo() argument
282 sm_stdiogetinfo(fp,what,valp) sm_stdiogetinfo() argument
334 SM_FILE_T *fp; global() local
[all...]
H A Dstdio.c49 ** fp -- file pointer to be associated with the open
62 sm_stdopen(fp, info, flags, rpool) in sm_stdopen() argument
63 SM_FILE_T *fp; in sm_stdopen()
99 fp->f_file = open(path, oflags,
101 if (fp->f_file < 0)
105 (void) (*fp->f_seek)((void *)fp, (off_t)0, SEEK_END);
107 return fp->f_file;
114 ** fp -- file pointer to read from
127 sm_stdread(fp, bu argument
156 sm_stdwrite(fp,buf,n) sm_stdwrite() argument
181 sm_stdseek(fp,offset,whence) sm_stdseek() argument
206 sm_stdclose(fp) sm_stdclose() argument
227 sm_stdsetmode(fp,mode) sm_stdsetmode() argument
269 sm_stdgetmode(fp,mode) sm_stdgetmode() argument
305 sm_stdsetinfo(fp,what,valp) sm_stdsetinfo() argument
337 sm_stdgetinfo(fp,what,valp) sm_stdgetinfo() argument
406 sm_stdfdopen(fp,info,flags,rpool) sm_stdfdopen() argument
483 SM_FILE_T *fp; global() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libcmd/
H A Dfmt.c74 #define isoption(fp,c) ((fp)->flags&(1L<<((c)-'a'))) argument
75 #define setoption(fp,c) ((fp)->flags|=(1L<<((c)-'a'))) argument
76 #define clroption(fp,c) ((fp)->flags&=~(1L<<((c)-'a'))) argument
79 outline(Fmt_t* fp) in outline() argument
81 register char* cp = fp->outbuf; in outline()
86 if (!fp->outp) in outline()
88 while (fp in outline()
137 split(Fmt_t * fp,char * buf,int splice) split() argument
231 dofmt(Fmt_t * fp) dofmt() argument
[all...]
/titanic_52/usr/src/cmd/filesync/
H A Danal.c76 static errmask_t check_file(struct file *fp);
77 static diffmask_t check_changes(struct file *fp, int first, int second);
78 static int prune_file(struct file *fp);
79 static void queue_file(struct file *fp);
113 struct file *fp; in analyze() local
127 for (fp = bp->b_files; fp; fp = fp->f_next) in analyze()
128 if (fp in analyze()
236 prune_file(struct file * fp) prune_file() argument
269 struct file *fp; prune() local
293 struct file *fp; summary() local
355 check_file(struct file * fp) check_file() argument
461 check_changes(struct file * fp,int ref,int new) check_changes() argument
648 find_link(struct file * fp,side_t srcdst) find_link() argument
832 has_other_links(struct file * fp,side_t srcdst) has_other_links() argument
908 link_update(struct file * fp,side_t which) link_update() argument
977 queue_file(struct file * fp) queue_file() argument
1090 get_name(struct file * fp) get_name() argument
[all...]
H A Drecon.c122 reconcile(struct file *fp) in reconcile() argument
128 fp->f_fullname, in reconcile()
129 showflags(fileflags, fp->f_flags), in reconcile()
130 fp->f_modtime, fp->f_modns); in reconcile()
135 srcname = full_name(fp, OPT_SRC, OPT_SRC); in reconcile()
136 dstname = full_name(fp, OPT_DST, OPT_DST); in reconcile()
144 if (opt_acls == 0 && fp->f_info[ OPT_BASE ].f_numacls == 0) { in reconcile()
145 if (get_acls(srcname, &fp->f_info[ OPT_SRC ])) in reconcile()
146 fp in reconcile()
507 newer(struct file * fp) newer() argument
540 older(struct file * fp) older() argument
573 samedata(struct file * fp) samedata() argument
626 samestuff(struct file * fp) samestuff() argument
665 samecompare(struct file * fp) samecompare() argument
725 truncated(struct file * fp) truncated() argument
803 full_name(struct file * fp,side_t srcdst,side_t whichbuf) full_name() argument
[all...]
H A Deval.c120 struct file *fp; in evaluate() local
147 for (fp = bp->b_files; fp; fp = fp->f_next) in evaluate()
148 fakedata(fp, srcdst); in evaluate()
205 for (fp = bp->b_files; fp; fp = fp in evaluate()
250 struct file *fp; add_file_arg() local
370 eval_file(struct base * bp,struct file * fp) eval_file() argument
498 struct file *fp; walker() local
661 note_info(struct file * fp,const struct stat * sp,side_t which) note_info() argument
749 update_info(struct file * fp,side_t which) update_info() argument
778 fakedata(struct file * fp,int which) fakedata() argument
815 check_inum(struct file * fp,int src) check_inum() argument
947 FILE *fp; add_run() local
[all...]
/titanic_52/usr/src/lib/libnvpair/
H A Dnvpair_json.c23 #define FPRINTF(fp, ...) \ argument
25 if (fprintf(fp, __VA_ARGS__) < 0) \
46 nvlist_print_json_string(FILE *fp, const char *input) in nvlist_print_json_string() argument
54 FPRINTF(fp, "\""); in nvlist_print_json_string()
58 FPRINTF(fp, "\\\""); in nvlist_print_json_string()
61 FPRINTF(fp, "\\n"); in nvlist_print_json_string()
64 FPRINTF(fp, "\\r"); in nvlist_print_json_string()
67 FPRINTF(fp, "\\\\"); in nvlist_print_json_string()
70 FPRINTF(fp, "\\f"); in nvlist_print_json_string()
73 FPRINTF(fp, "\\ in nvlist_print_json_string()
117 nvlist_print_json(FILE * fp,nvlist_t * nvl) nvlist_print_json() argument
[all...]
/titanic_52/usr/src/common/ctf/
H A Dctf_open.c111 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, in init_symtab() argument
115 uint_t *xp = fp->ctf_sxlate; in init_symtab()
116 uint_t *xend = xp + fp->ctf_nsyms; in init_symtab()
170 info = *(ushort_t *)((uintptr_t)fp->ctf_buf + funcoff); in init_symtab()
171 vlen = LCTF_INFO_VLEN(fp, info); in init_symtab()
178 if (LCTF_INFO_KIND(fp, info) == CTF_K_UNKNOWN && in init_symtab()
191 ctf_dprintf("loaded %lu symtab entries\n", fp->ctf_nsyms); in init_symtab()
200 init_types(ctf_file_t *fp, const ctf_header_t *cth) in init_types() argument
203 const ctf_type_t *tbuf = (ctf_type_t *)(fp->ctf_buf + cth->cth_typeoff); in init_types()
205 const ctf_type_t *tend = (ctf_type_t *)(fp in init_types()
549 ctf_file_t *fp; ctf_bufopen() local
803 ctf_file_t *fp; ctf_dup() local
886 ctf_close(ctf_file_t * fp) ctf_close() argument
987 ctf_parent_file(ctf_file_t * fp) ctf_parent_file() argument
997 ctf_parent_name(ctf_file_t * fp) ctf_parent_name() argument
1007 ctf_parent_label(ctf_file_t * fp) ctf_parent_label() argument
1018 ctf_import(ctf_file_t * fp,ctf_file_t * pfp) ctf_import() argument
1042 ctf_setmodel(ctf_file_t * fp,int model) ctf_setmodel() argument
1060 ctf_getmodel(ctf_file_t * fp) ctf_getmodel() argument
1066 ctf_setspecific(ctf_file_t * fp,void * data) ctf_setspecific() argument
1072 ctf_getspecific(ctf_file_t * fp) ctf_getspecific() argument
1078 ctf_flags(ctf_file_t * fp) ctf_flags() argument
[all...]
H A Dctf_types.c35 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, in ctf_get_ctt_size() argument
40 if (fp->ctf_version > CTF_VERSION_1 && in ctf_get_ctt_size()
62 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() argument
64 ctf_file_t *ofp = fp; in ctf_member_iter()
70 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_member_iter()
73 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) in ctf_member_iter()
76 (void) ctf_get_ctt_size(fp, tp, &size, &increment); in ctf_member_iter()
77 kind = LCTF_INFO_KIND(fp, tp->ctt_info); in ctf_member_iter()
82 if (fp->ctf_version == CTF_VERSION_1 || size < CTF_LSTRUCT_THRESH) { in ctf_member_iter()
86 for (n = LCTF_INFO_VLEN(fp, t in ctf_member_iter()
113 ctf_enum_iter(ctf_file_t * fp,ctf_id_t type,ctf_enum_f * func,void * arg) ctf_enum_iter() argument
150 ctf_type_iter(ctf_file_t * fp,boolean_t nonroot,ctf_type_f * func,void * arg) ctf_type_iter() argument
174 ctf_type_resolve(ctf_file_t * fp,ctf_id_t type) ctf_type_resolve() argument
232 ctf_format_func(ctf_file_t * fp,ctf_decl_t * cd,const char * vname,ctf_id_t id,int want_func_args) ctf_format_func() argument
285 ctf_type_qlname(ctf_file_t * fp,ctf_id_t type,char * buf,size_t len,const char * vname,const char * qname) ctf_type_qlname() argument
425 ctf_type_lname(ctf_file_t * fp,ctf_id_t type,char * buf,size_t len) ctf_type_lname() argument
435 ctf_type_name(ctf_file_t * fp,ctf_id_t type,char * buf,size_t len) ctf_type_name() argument
442 ctf_type_qname(ctf_file_t * fp,ctf_id_t type,char * buf,size_t len,const char * qname) ctf_type_qname() argument
450 ctf_type_cname(ctf_file_t * fp,ctf_id_t type,char * buf,size_t len,const char * cname) ctf_type_cname() argument
462 ctf_type_size(ctf_file_t * fp,ctf_id_t type) ctf_type_size() argument
529 ctf_type_align(ctf_file_t * fp,ctf_id_t type) ctf_type_align() argument
593 ctf_type_kind(ctf_file_t * fp,ctf_id_t type) ctf_type_kind() argument
608 ctf_type_reference(ctf_file_t * fp,ctf_id_t type) ctf_type_reference() argument
636 ctf_type_pointer(ctf_file_t * fp,ctf_id_t type) ctf_type_pointer() argument
663 ctf_type_encoding(ctf_file_t * fp,ctf_id_t type,ctf_encoding_t * ep) ctf_type_encoding() argument
786 ctf_member_info(ctf_file_t * fp,ctf_id_t type,const char * name,ctf_membinfo_t * mip) ctf_member_info() argument
837 ctf_array_info(ctf_file_t * fp,ctf_id_t type,ctf_arinfo_t * arp) ctf_array_info() argument
865 ctf_enum_name(ctf_file_t * fp,ctf_id_t type,int value) ctf_enum_name() argument
902 ctf_enum_value(ctf_file_t * fp,ctf_id_t type,const char * name,int * valp) ctf_enum_value() argument
945 ctf_type_rvisit(ctf_file_t * fp,ctf_id_t type,ctf_visit_f * func,void * arg,const char * name,ulong_t offset,int depth) ctf_type_rvisit() argument
1002 ctf_type_visit(ctf_file_t * fp,ctf_id_t type,ctf_visit_f * func,void * arg) ctf_type_visit() argument
1008 ctf_func_info_by_id(ctf_file_t * fp,ctf_id_t type,ctf_funcinfo_t * fip) ctf_func_info_by_id() argument
1042 ctf_func_args_by_id(ctf_file_t * fp,ctf_id_t type,uint_t argc,ctf_id_t * argv) ctf_func_args_by_id() argument
1071 ctf_object_iter(ctf_file_t * fp,ctf_object_f * func,void * arg) ctf_object_iter() argument
1120 ctf_function_iter(ctf_file_t * fp,ctf_function_f * func,void * arg) ctf_function_iter() argument
1187 ctf_symbol_name(ctf_file_t * fp,ulong_t idx,char * buf,size_t len) ctf_symbol_name() argument
1240 ctf_string_iter(ctf_file_t * fp,ctf_string_f * func,void * arg) ctf_string_iter() argument
1265 ctf_kind_name(ctf_file_t * fp,int kind) ctf_kind_name() argument
1301 ctf_max_id(ctf_file_t * fp) ctf_max_id() argument
1308 ctf_nr_syms(ctf_file_t * fp) ctf_nr_syms() argument
[all...]
H A Dctf_lookup.c79 ctf_lookup_by_name(ctf_file_t *fp, const char *name) in ctf_lookup_by_name() argument
90 return (ctf_set_errno(fp, EINVAL)); in ctf_lookup_by_name()
104 * Find a pointer to type by looking in fp->ctf_ptrtab. in ctf_lookup_by_name()
112 ntype = fp->ctf_ptrtab[CTF_TYPE_TO_INDEX(type)]; in ctf_lookup_by_name()
114 ntype = ctf_type_resolve(fp, type); in ctf_lookup_by_name()
115 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[ in ctf_lookup_by_name()
117 (void) ctf_set_errno(fp, ECTF_NOTYPE); in ctf_lookup_by_name()
123 (fp->ctf_flags & LCTF_CHILD)); in ctf_lookup_by_name()
132 for (lp = fp->ctf_lookups; lp->ctl_prefix != NULL; lp++) { in ctf_lookup_by_name()
144 if ((hp = ctf_hash_lookup(lp->ctl_hash, fp, in ctf_lookup_by_name()
179 ctf_lookup_by_symbol(ctf_file_t * fp,ulong_t symidx) ctf_lookup_by_symbol() argument
218 ctf_file_t *fp = *fpp; /* caller passes in starting CTF container */ ctf_lookup_by_id() local
241 ctf_func_info(ctf_file_t * fp,ulong_t symidx,ctf_funcinfo_t * fip) ctf_func_info() argument
295 ctf_func_args(ctf_file_t * fp,ulong_t symidx,uint_t argc,ctf_id_t * argv) ctf_func_args() argument
[all...]
H A Dctf_create.c60 ctf_file_t *fp; in ctf_create() local
73 if ((fp = ctf_bufopen(&cts, NULL, NULL, errp)) == NULL) { in ctf_create()
78 fp->ctf_flags |= LCTF_RDWR; in ctf_create()
79 fp->ctf_dthashlen = hashlen; in ctf_create()
81 fp->ctf_dthash = hash; in ctf_create()
82 fp->ctf_dtstrlen = sizeof (_CTF_STRTAB_TEMPLATE); in ctf_create()
83 fp->ctf_dtnextid = 1; in ctf_create()
84 fp->ctf_dtoldid = 0; in ctf_create()
86 return (fp); in ctf_create()
92 ctf_file_t *fp; in ctf_fdcreate() local
226 ctf_ref_inc(ctf_file_t * fp,ctf_id_t tid) ctf_ref_inc() argument
244 ctf_ref_dec(ctf_file_t * fp,ctf_id_t tid) ctf_ref_dec() argument
278 ctf_update(ctf_file_t * fp) ctf_update() argument
718 ctf_dtd_insert(ctf_file_t * fp,ctf_dtdef_t * dtd) ctf_dtd_insert() argument
728 ctf_dtd_delete(ctf_file_t * fp,ctf_dtdef_t * dtd) ctf_dtd_delete() argument
798 ctf_dtd_lookup(ctf_file_t * fp,ctf_id_t type) ctf_dtd_lookup() argument
815 ctf_dsd_lookup(ctf_file_t * fp,ulong_t idx) ctf_dsd_lookup() argument
832 ctf_dsd_insert(ctf_file_t * fp,ctf_dsdef_t * dsd) ctf_dsd_insert() argument
852 ctf_dsd_delete(ctf_file_t * fp,ctf_dsdef_t * dsd) ctf_dsd_delete() argument
862 ctf_dld_lookup(ctf_file_t * fp,const char * name) ctf_dld_lookup() argument
876 ctf_dld_insert(ctf_file_t * fp,ctf_dldef_t * dld,uint_t pos) ctf_dld_insert() argument
896 ctf_dld_delete(ctf_file_t * fp,ctf_dldef_t * dld) ctf_dld_delete() argument
918 ctf_discard(ctf_file_t * fp) ctf_discard() argument
943 ctf_add_generic(ctf_file_t * fp,uint_t flag,const char * name,ctf_dtdef_t ** rp) ctf_add_generic() argument
984 ctf_add_encoded(ctf_file_t * fp,uint_t flag,const char * name,const ctf_encoding_t * ep,uint_t kind) ctf_add_encoded() argument
1011 ctf_add_reftype(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref,uint_t kind) ctf_add_reftype() argument
1032 ctf_add_integer(ctf_file_t * fp,uint_t flag,const char * name,const ctf_encoding_t * ep) ctf_add_integer() argument
1039 ctf_add_float(ctf_file_t * fp,uint_t flag,const char * name,const ctf_encoding_t * ep) ctf_add_float() argument
1046 ctf_add_pointer(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref) ctf_add_pointer() argument
1052 ctf_add_array(ctf_file_t * fp,uint_t flag,const ctf_arinfo_t * arp) ctf_add_array() argument
1089 ctf_set_array(ctf_file_t * fp,ctf_id_t type,const ctf_arinfo_t * arp) ctf_set_array() argument
1121 ctf_add_funcptr(ctf_file_t * fp,uint_t flag,const ctf_funcinfo_t * ctc,const ctf_id_t * argv) ctf_add_funcptr() argument
1178 ctf_add_struct(ctf_file_t * fp,uint_t flag,const char * name) ctf_add_struct() argument
1214 ctf_add_union(ctf_file_t * fp,uint_t flag,const char * name) ctf_add_union() argument
1250 ctf_add_enum(ctf_file_t * fp,uint_t flag,const char * name) ctf_add_enum() argument
1286 ctf_add_forward(ctf_file_t * fp,uint_t flag,const char * name,uint_t kind) ctf_add_forward() argument
1325 ctf_add_typedef(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref) ctf_add_typedef() argument
1347 ctf_add_volatile(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref) ctf_add_volatile() argument
1353 ctf_add_const(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref) ctf_add_const() argument
1359 ctf_add_restrict(ctf_file_t * fp,uint_t flag,const char * name,ctf_id_t ref) ctf_add_restrict() argument
1365 ctf_add_enumerator(ctf_file_t * fp,ctf_id_t enid,const char * name,int value) ctf_add_enumerator() argument
1423 ctf_add_member(ctf_file_t * fp,ctf_id_t souid,const char * name,ctf_id_t type,ulong_t offset) ctf_add_member() argument
1581 ctf_delete_type(ctf_file_t * fp,ctf_id_t type) ctf_delete_type() argument
1975 ctf_add_function(ctf_file_t * fp,ulong_t idx,const ctf_funcinfo_t * fip,const ctf_id_t * argc) ctf_add_function() argument
2041 ctf_add_object(ctf_file_t * fp,ulong_t idx,ctf_id_t type) ctf_add_object() argument
2090 ctf_dataptr(ctf_file_t * fp,const void ** addrp,size_t * sizep) ctf_dataptr() argument
2099 ctf_add_label(ctf_file_t * fp,const char * name,ctf_id_t type,uint_t position) ctf_add_label() argument
2144 ctf_set_size(ctf_file_t * fp,ctf_id_t id,const ulong_t newsz) ctf_set_size() argument
2180 ctf_set_root(ctf_file_t * fp,ctf_id_t id,const boolean_t vis) ctf_set_root() argument
[all...]
/titanic_52/usr/src/uts/common/inet/sctp/
H A Dsctp_common.c63 sctp_set_saddr(sctp_t *sctp, sctp_faddr_t *fp) in sctp_set_saddr() argument
65 boolean_t v6 = !fp->sf_isv4; in sctp_set_saddr()
68 fp->sf_saddr = sctp_get_valid_addr(sctp, v6, &addr_set); in sctp_set_saddr()
76 fp->sf_state = SCTP_FADDRS_UNREACH; in sctp_set_saddr()
80 * Call this function to get information about a peer addr fp.
86 sctp_get_dest(sctp_t *sctp, sctp_faddr_t *fp) in sctp_get_dest() argument
104 fp->sf_saddr = ipv6_all_zeros; in sctp_get_dest()
111 if (fp->sf_state == SCTP_FADDRS_UNREACH) { in sctp_get_dest()
112 fp->sf_state = SCTP_FADDRS_UNCONFIRMED; in sctp_get_dest()
119 fp in sctp_get_dest()
230 sctp_faddr_t *fp; sctp_update_dce() local
284 sctp_make_mp(sctp_t * sctp,sctp_faddr_t * fp,int trailer) sctp_make_mp() argument
556 sctp_faddr_t *fp; sctp_lookup_faddr() local
567 sctp_lookup_faddr_nosctp(sctp_faddr_t * fp,in6_addr_t * addr) sctp_lookup_faddr_nosctp() argument
582 sctp_set_faddr_current(sctp_t * sctp,sctp_faddr_t * fp) sctp_set_faddr_current() argument
613 sctp_faddr_t *fp; sctp_redo_faddr_srcs() local
621 sctp_faddr_alive(sctp_t * sctp,sctp_faddr_t * fp) sctp_faddr_alive() argument
667 sctp_faddr_t *fp; sctp_is_a_faddr_clean() local
686 sctp_faddr_dead(sctp_t * sctp,sctp_faddr_t * fp,int newstate) sctp_faddr_dead() argument
803 sctp_unlink_faddr(sctp_t * sctp,sctp_faddr_t * fp) sctp_unlink_faddr() argument
849 sctp_faddr_t *fp, *fpn; sctp_zap_faddrs() local
1039 sctp_v4_label(sctp_t * sctp,sctp_faddr_t * fp) sctp_v4_label() argument
1049 sctp_v6_label(sctp_t * sctp,sctp_faddr_t * fp) sctp_v6_label() argument
1069 sctp_faddr_t *fp; sctp_set_hdraddrs() local
1266 sctp_faddr_t *fp; sctp_get_addrparams() local
1511 sctp_faddr_t *fp, *fphead = NULL; sctp_secure_restart_check() local
1733 sctp_faddr_t *fp; sctp_congest_reset() local
1778 sctp_init_faddr(sctp_t * sctp,sctp_faddr_t * fp,in6_addr_t * addr,mblk_t * timer_mp) sctp_init_faddr() argument
1833 sctp_faddr_t *fp = buf; faddr_constructor() local
1848 sctp_faddr_t *fp = buf; faddr_destructor() local
[all...]
/titanic_52/usr/src/uts/sparc/v9/fpu/
H A Dfpu.c59 fp_prsave(kfpu_t *fp) in fp_prsave() argument
61 if ((fp->fpu_en) || (fp->fpu_fprs & FPRS_FEF)) { in fp_prsave()
64 fp->fpu_fprs = _fp_read_fprs(); in fp_prsave()
65 if ((fp->fpu_fprs & FPRS_FEF) != FPRS_FEF) { in fp_prsave()
69 fp->fpu_fprs = fprs; in fp_prsave()
73 "fp_prsave with fp disabled!"); in fp_prsave()
76 fp_fksave(fp); in fp_prsave()
120 * fp context belongs to a thread on deathrow
125 * fp contex
130 fp_free(kfpu_t * fp,int isexec) fp_free() argument
154 kfpu_t *fp; fp_enable() local
211 kfpu_t *fp; fp_disabled() local
320 kfpu_t *fp = lwptofpu(curthread->t_lwp); fp_runq() local
423 kfpu_t *fp = lwptofpu(lwp); fp_precise() local
[all...]
/titanic_52/usr/src/boot/lib/libstand/
H A Dufs.c126 #define DIP(fp, field) \ argument
127 ((fp)->f_fs->fs_magic == FS_UFS1_MAGIC ? \
128 (fp)->f_di.di1.field : (fp)->f_di.di2.field)
144 struct file *fp = (struct file *)f->f_fsdata; local
145 struct fs *fs = fp->f_fs;
168 if (fp->f_fs->fs_magic == FS_UFS1_MAGIC)
169 fp->f_di.di1 = ((struct ufs1_dinode *)buf)
172 fp->f_di.di2 = ((struct ufs2_dinode *)buf)
182 fp
201 struct file *fp = (struct file *)f->f_fsdata; global() local
306 struct file *fp = (struct file *)f->f_fsdata; global() local
384 struct file *fp = (struct file *)f->f_fsdata; global() local
446 struct file *fp = (struct file *)f->f_fsdata; global() local
495 struct file *fp; global() local
694 struct file *fp = (struct file *)f->f_fsdata; global() local
723 struct file *fp = (struct file *)f->f_fsdata; global() local
765 struct file *fp = (struct file *)f->f_fsdata; global() local
796 struct file *fp = (struct file *)f->f_fsdata; global() local
820 struct file *fp = (struct file *)f->f_fsdata; global() local
833 struct file *fp = (struct file *)f->f_fsdata; ufs_readdir() local
[all...]
/titanic_52/usr/src/uts/common/fs/nfs/
H A Dnfs4_deleg_ops.c63 recall_all_delegations(rfs4_file_t *fp, bool_t trunc, caller_context_t *ct) in recall_all_delegations() argument
67 rfs4_recall_deleg(fp, trunc, NULL); in recall_all_delegations()
73 rfs4_dbe_lock(fp->rf_dbe); in recall_all_delegations()
74 if (fp->rf_dinfo.rd_dtype == OPEN_DELEGATE_NONE) { in recall_all_delegations()
75 rfs4_dbe_unlock(fp->rf_dbe); in recall_all_delegations()
80 rfs4_dbe_unlock(fp->rf_dbe); in recall_all_delegations()
85 while (fp->rf_dinfo.rd_dtype != OPEN_DELEGATE_NONE) { in recall_all_delegations()
86 rc = rfs4_dbe_twait(fp->rf_dbe, in recall_all_delegations()
89 rfs4_dbe_unlock(fp->rf_dbe); in recall_all_delegations()
90 rfs4_recall_deleg(fp, trun in recall_all_delegations()
104 rfs4_file_t *fp; deleg_rd_open() local
129 rfs4_file_t *fp; deleg_wr_open() local
158 rfs4_file_t *fp; deleg_wr_read() local
179 rfs4_file_t *fp; deleg_rd_write() local
198 rfs4_file_t *fp; deleg_wr_write() local
217 rfs4_file_t *fp; deleg_rd_setattr() local
237 rfs4_file_t *fp; deleg_wr_setattr() local
259 rfs4_file_t *fp; deleg_rd_rwlock() local
279 rfs4_file_t *fp; deleg_wr_rwlock() local
297 rfs4_file_t *fp; deleg_rd_space() local
312 rfs4_file_t *fp; deleg_wr_space() local
330 rfs4_file_t *fp; deleg_rd_setsecattr() local
347 rfs4_file_t *fp; deleg_wr_setsecattr() local
364 rfs4_file_t *fp; deleg_rd_vnevent() local
402 rfs4_file_t *fp; deleg_wr_vnevent() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsftable.c60 Fmtpos_t* fp; /* position array of arguments */ local
65 fp = NIL(Fmtpos_t*);
66 else if(!(fp = sffmtpos(f,form,args,ft,-1)) )
137 if(fp && fp[n].ft.fmt == 0)
138 { fp[n].ft.fmt = LEFTP;
139 fp[n].ft.form = (char*)form;
192 if(fp && fp[n].ft.fmt == 0)
193 { fp[
[all...]
/titanic_52/usr/src/lib/libpkg/common/
H A Dtputcfent.c45 tputcfent(struct cfent *ept, FILE *fp) in tputcfent() argument
56 (void) fprintf(fp, pkg_gt("Pathname: %s\n"), ept->path); in tputcfent()
57 (void) fprintf(fp, pkg_gt("Type: ")); in tputcfent()
61 (void) fputs(pkg_gt("regular file\n"), fp); in tputcfent()
65 (void) fputs(pkg_gt("directory\n"), fp); in tputcfent()
69 (void) fputs(pkg_gt("exclusive directory\n"), fp); in tputcfent()
73 (void) fputs(pkg_gt("volatile file\n"), fp); in tputcfent()
77 (void) fputs(pkg_gt("editted file\n"), fp); in tputcfent()
81 (void) fputs(pkg_gt("named pipe\n"), fp); in tputcfent()
85 (void) fputs(pkg_gt("installation file\n"), fp); in tputcfent()
[all...]

12345678910>>...52