Home
last modified time | relevance | path

Searched refs:f (Results 326 – 350 of 2326) sorted by relevance

1...<<11121314151617181920>>...94

/titanic_52/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c54 #define bcopy(f, t, n) (void) memcpy(t, f, n) argument
138 int f; in label() local
146 f = open64(special, O_RDONLY); in label()
148 f = open64(special, O_RDWR); in label()
150 if (f < 0) { in label()
155 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) { in label()
160 if (read(f, &sblock, SBSIZE) != SBSIZE) { in label()
225 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) { in label()
230 if (write(f, in label()
[all...]
/titanic_52/usr/src/lib/libeti/form/common/
H A Dfieldtype.c236 _checkfield(FIELDTYPE *t, FIELD *f, char *arg) in _checkfield() argument
241 if (Opt(f, O_NULLOK)) { in _checkfield()
242 char *v = Buf(f); in _checkfield()
250 return (_checkfield(TypeL(t), f, ArgL(arg)) || in _checkfield()
251 _checkfield(TypeR(t), f, ArgR(arg))); in _checkfield()
254 return ((*Fcheck(t)) (f, arg)); in _checkfield()
276 _nextchoice(FIELDTYPE *t, FIELD *f, char *arg) in _nextchoice() argument
282 return (_nextchoice(TypeL(t), f, ArgL(arg)) || in _nextchoice()
283 _nextchoice(TypeR(t), f, ArgR(arg))); in _nextchoice()
285 return ((*Next(t)) (f, ar in _nextchoice()
290 _prevchoice(FIELDTYPE * t,FIELD * f,char * arg) _prevchoice() argument
[all...]
H A Dform_sub.c39 set_form_sub(FORM *f, WINDOW *window) in set_form_sub() argument
41 if (Status(f, POSTED)) in set_form_sub()
44 Form(f)->sub = window; in set_form_sub()
49 form_sub(FORM *f) in form_sub() argument
51 return (Form(f)->sub); in form_sub()
H A Dform_win.c39 set_form_win(FORM *f, WINDOW *window) in set_form_win() argument
41 if (Status(f, POSTED)) in set_form_win()
44 Form(f)->win = window; in set_form_win()
49 form_win(FORM *f) in form_win() argument
51 return (Form(f)->win); in form_win()
/titanic_52/usr/src/contrib/ast/src/lib/libast/stdio/
H A Drewind.c27 rewind(Sfio_t* f) in rewind() argument
29 STDIO_VOID(f, "rewind", void, (Sfio_t*), (f)) in rewind()
31 sfseek(f, (Sfoff_t)0, SEEK_SET|SF_PUBLIC); in rewind()
32 sfclrlock(f); in rewind()
H A Dfgetwc.c27 fgetwc(Sfio_t* f) in fgetwc() argument
31 STDIO_INT(f, "fgetwc", wint_t, (Sfio_t*), (f)) in fgetwc()
33 FWIDE(f, WEOF); in fgetwc()
34 return (sfread(f, &c, sizeof(c)) == sizeof(c)) ? c : WEOF; in fgetwc()
H A Dfputwc.c27 fputwc(wchar_t c, Sfio_t* f) in fputwc() argument
29 STDIO_INT(f, "fputc", wint_t, (wchar_t, Sfio_t*), (c, f)) in fputwc()
31 FWIDE(f, WEOF); in fputwc()
32 return (sfwrite(f, &c, sizeof(c)) == sizeof(c)) ? c : WEOF; in fputwc()
H A Dfputws.c27 fputws(const wchar_t* s, Sfio_t* f) in fputws() argument
31 STDIO_INT(f, "fputws", int, (const wchar_t*, Sfio_t*), (s, f)) in fputws()
33 FWIDE(f, WEOF); in fputws()
35 return (sfwrite(f, s, n) == n) ? 0 : -1; in fputws()
H A Dvasprintf.c29 Sfio_t* f; in vasprintf() local
32 if (f = sfstropen()) in vasprintf()
34 v = sfvprintf(f, fmt, args); in vasprintf()
35 if (!(*s = strdup(sfstruse(f)))) in vasprintf()
37 sfstrclose(f); in vasprintf()
/titanic_52/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c280 static fn_t f = "dr_pre_attach_cpu"; in dr_pre_attach_cpu() local
282 PR_CPU("%s...\n", f); in dr_pre_attach_cpu()
310 PR_CPU("%s: unmapping sigblk for cpu %d\n", f, in dr_pre_attach_cpu()
369 static fn_t f = "dr_post_attach_cpu"; in dr_post_attach_cpu() local
371 PR_CPU("%s...\n", f); in dr_post_attach_cpu()
383 f, up->sbc_cpu_id); in dr_post_attach_cpu()
392 PR_CPU("%s: cpu %d powered ON\n", f, up->sbc_cpu_id); in dr_post_attach_cpu()
396 PR_CPU("%s: onlining cpu %d...\n", f, up->sbc_cpu_id); in dr_post_attach_cpu()
430 static fn_t f = "dr_pre_release_cpu"; in dr_pre_release_cpu() local
481 PR_CPU("%s: offlining cpu %d\n", f, cpui in dr_pre_release_cpu()
541 static fn_t f = "dr_pre_detach_cpu"; dr_pre_detach_cpu() local
644 static fn_t f = "dr_post_detach_cpu"; dr_post_detach_cpu() local
874 static fn_t f = "dr_cancel_cpu"; dr_cancel_cpu() local
926 static fn_t f = "dr_disconnect_cpu"; dr_disconnect_cpu() local
[all...]
/titanic_52/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c89 static fn_t f = "dr_get_memlist"; in dr_get_memlist() local
91 PR_MEM("%s for %s...\n", f, mp->sbm_cm.sbdev_path); in dr_get_memlist()
102 PR_MEM("%s: found cached memlist\n", f); in dr_get_memlist()
136 PR_MEM("%s: derived memlist from phys_install\n", f); in dr_get_memlist()
150 PR_MEM("%s: memlist for %s\n", f, mp->sbm_cm.sbdev_path); in dr_get_memlist()
168 static fn_t f = "dr_attach_mem"; in dr_attach_mem() local
171 PR_MEM("%s...\n", f); in dr_attach_mem()
285 static fn_t f = "dr_mem_status"; in dr_mem_status() local
390 f, rv); in dr_mem_status()
416 static fn_t f in dr_pre_attach_mem() local
476 static fn_t f = "dr_post_attach_mem"; dr_post_attach_mem() local
618 static fn_t f = "dr_init_mem_unit_data"; dr_init_mem_unit_data() local
[all...]
/titanic_52/usr/src/cmd/dtrace/test/tst/common/pointers/
H A Derr.D_OP_PTR.NonPointerAccess.d45 struct myinput_struct f; variable
49 f.i = 10;
50 f.c = 'c';
52 printf("f->i: %d\tf->c: %c\n", f->i, f->c);
/titanic_52/usr/src/cmd/fm/fmdump/common/
H A Dasru.c48 boolean_t f = 0, u = 0; in asru_verb1() local
53 FM_RSRC_ASRU_FAULTY, &f); in asru_verb1()
59 if (f) in asru_verb1()
63 if (!f && !u) in asru_verb1()
78 boolean_t f = 0, u = 0; in asru_verb23_cmn() local
83 FM_RSRC_ASRU_FAULTY, &f); in asru_verb23_cmn()
89 if (f) in asru_verb23_cmn()
93 if (!f && !u) in asru_verb23_cmn()
/titanic_52/usr/src/uts/common/sys/scsi/adapters/mpt_sas/mpi/
H A Dmpi2.h1154 #define MPI2_SGE_SET_FLAGS(f) ((U32)(f) << MPI2_SGE_FLAGS_SHIFT) argument
1155 #define MPI2_SGE_GET_FLAGS(f) (((f) & ~MPI2_SGE_LENGTH_MASK) >> MPI2_SGE_FLAGS_SHIFT) argument
1156 #define MPI2_SGE_LENGTH(f) ((f) & MPI2_SGE_LENGTH_MASK) argument
1157 #define MPI2_SGE_CHAIN_LENGTH(f) ((f) & MPI2_SGE_CHAIN_LENGTH_MASK) argument
1159 #define MPI2_SGE_SET_FLAGS_LENGTH(f,l) (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGT argument
1163 MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) global() argument
1166 MPI2_pSGE_SET_FLAGS(psg,f) global() argument
1307 MPI2_IEEE32_SGE_SET_FLAGS(f) global() argument
1308 MPI2_IEEE32_SGE_GET_FLAGS(f) global() argument
1309 MPI2_IEEE32_SGE_LENGTH(f) global() argument
1311 MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f,l) global() argument
1315 MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) global() argument
1318 MPI2_IEEE32_pSGE_SET_FLAGS(psg,f) global() argument
[all...]
/titanic_52/usr/src/lib/librstp/common/
H A Dtimes.c62 #define STP_SET_TIME(f, t) \ in STP_set_times() argument
63 mt = htons (f << 8); \ in STP_set_times()
73 STP_copy_times (OUT TIMEVALUES_T *t, IN TIMEVALUES_T *f) in STP_copy_times() argument
75 t->MessageAge = f->MessageAge; in STP_copy_times()
76 t->MaxAge = f->MaxAge; in STP_copy_times()
77 t->ForwardDelay = f->ForwardDelay; in STP_copy_times()
78 t->HelloTime = f->HelloTime; in STP_copy_times()
/titanic_52/usr/src/lib/libc/sparc/gen/
H A Dstrncmp.s94 bgeu,a 3f
106 be 1f
122 bnz 1f
125 1: bnz 1f
128 1: bnz 1f
144 bgeu,a 4f
156 be 1f
167 bnz 1f
170 1: bnz 1f
173 1: bnz 1f
[all...]
/titanic_52/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Denvmodel.info93 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU0
97 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_CPU1
101 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_MB
105 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_ADT7462
109 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_LM95221
113 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_FIRE
117 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_LSI1064
121 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_FRONT_PANEL
125 name:/platform/ebus@1f,464000/env-monitor@3,0/SENSOR_PSU
130 name:/platform/ebus@1f,46400
[all...]
/titanic_52/usr/src/boot/lib/libstand/
H A Dstand.h103 int (*fo_open)(const char *path, struct open_file *f);
104 int (*fo_close)(struct open_file *f);
105 int (*fo_read)(struct open_file *f, void *buf,
107 int (*fo_write)(struct open_file *f, void *buf,
109 off_t (*fo_seek)(struct open_file *f, off_t offset, int where);
110 int (*fo_stat)(struct open_file *f, struct stat *sb);
111 int (*fo_readdir)(struct open_file *f, struct dirent *d);
143 int (*dv_open)(struct open_file *f, ...);
144 int (*dv_close)(struct open_file *f);
145 int (*dv_ioctl)(struct open_file *f, u_lon
[all...]
H A Dfstat.c44 struct open_file *f = &files[fd]; local
46 if ((unsigned)fd >= SOPEN_MAX || f->f_flags == 0) {
52 if (f->f_flags & F_RAW) {
57 errno = (f->f_ops->fo_stat)(f, sb);
/titanic_52/usr/src/cmd/bnu/
H A Duucp.h288 #define CDEBUG(l, f, s) if (Debug >= l) fprintf(stderr, f, s) argument
290 #define CDEBUG(l, f, s)
295 #define DEBUG(l, f, s) if (Debug >= l) fprintf(stderr, f, s) argument
297 #define DEBUG(l, f, s)
304 #define VERBOSE(f, s) { if (Verbose > 0) fprintf(stderr, f, s); } argument
568 #define F_READANY(f) ((fstat((f), argument
569 READANY(f) global() argument
571 WRITEANY(f) global() argument
572 DIRECTORY(f) global() argument
573 NOTEMPTY(f) global() argument
[all...]
/titanic_52/usr/src/boot/sys/boot/zfs/
H A Dzfs.c52 static int zfs_open(const char *path, struct open_file *f);
53 static int zfs_write(struct open_file *f, void *buf, size_t size, size_t *resid);
54 static int zfs_close(struct open_file *f);
55 static int zfs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
56 static off_t zfs_seek(struct open_file *f, off_t offset, int where);
57 static int zfs_stat(struct open_file *f, struct stat *sb);
58 static int zfs_readdir(struct open_file *f, struct dirent *d);
100 zfs_open(const char *upath, struct open_file *f) in zfs_open() argument
102 struct zfsmount *mount = (struct zfsmount *)f->f_devdata; in zfs_open()
106 if (f in zfs_open()
124 zfs_close(struct open_file * f) zfs_close() argument
142 zfs_read(struct open_file * f,void * start,size_t size,size_t * resid) zfs_read() argument
177 zfs_write(struct open_file * f,void * start,size_t size,size_t * resid) zfs_write() argument
184 zfs_seek(struct open_file * f,off_t offset,int where) zfs_seek() argument
216 zfs_stat(struct open_file * f,struct stat * sb) zfs_stat() argument
225 zfs_readdir(struct open_file * f,struct dirent * d) zfs_readdir() argument
598 zfs_dev_open(struct open_file * f,...) zfs_dev_open() argument
634 zfs_dev_close(struct open_file * f) zfs_dev_close() argument
[all...]
/titanic_52/usr/src/cmd/sendmail/db/
H A Ddb_int.h88 #define F_SET(p, f) (p)->flags |= (f) argument
89 #define F_CLR(p, f) (p)->flags &= ~(f) argument
90 #define F_ISSET(p, f) ((p)->flags & (f)) argument
91 #define LF_SET(f) (flags |= (f)) argument
92 #define LF_CLR(f) (flags &= ~(f)) argument
93 LF_ISSET(f) global() argument
[all...]
/titanic_52/usr/src/cmd/hal/hald/
H A Dutil.c175 FILE *f; in hal_util_get_int_from_file() local
180 f = NULL; in hal_util_get_int_from_file()
185 f = fopen (path, "rb"); in hal_util_get_int_from_file()
186 if (f == NULL) { in hal_util_get_int_from_file()
191 if (fgets (buf, sizeof (buf), f) == NULL) { in hal_util_get_int_from_file()
201 if (f != NULL) in hal_util_get_int_from_file()
202 fclose (f); in hal_util_get_int_from_file()
225 FILE *f; in hal_util_get_uint64_from_file() local
230 f = NULL; in hal_util_get_uint64_from_file()
235 f in hal_util_get_uint64_from_file()
275 FILE *f; hal_util_get_bcd2_from_file() local
365 FILE *f; hal_util_get_string_from_file() local
522 FILE *f; hal_util_grep_file() local
[all...]
/titanic_52/usr/src/uts/sun4u/lw8/io/
H A Dsgenv.c887 DCMN_ERR_S(f, "sgenv_create_cache_update_threads()"); in sgenv_create_cache_update_threads()
889 DCMN_ERR_THREAD(CE_NOTE, "Entering %s", f); in sgenv_create_cache_update_threads()
905 DCMN_ERR_THREAD(CE_NOTE, "Exiting %s", f); in sgenv_create_cache_update_threads()
914 DCMN_ERR_S(f, "sgenv_remove_cache_update_threads()"); in sgenv_remove_cache_update_threads()
916 DCMN_ERR_THREAD(CE_NOTE, "%s: Waiting for cache update threads", f); in sgenv_remove_cache_update_threads()
934 DCMN_ERR_THREAD(CE_NOTE, "%s: cache update threads finished", f); in sgenv_remove_cache_update_threads()
1021 DCMN_ERR_S(f, "sgenv_update_env_cache()"); in sgenv_update_env_cache()
1041 DCMN_ERR_THREAD(CE_NOTE, "%s: update needed", f); in sgenv_update_env_cache()
1046 DCMN_ERR_THREAD(CE_NOTE, "%s: Waiting for signal", f); in sgenv_update_env_cache()
1070 DCMN_ERR_THREAD(CE_NOTE, "Exiting %s", f); in sgenv_update_env_cache()
1696 static fn_t f = "sgenv_get_board_info_data()"; sgenv_get_board_info_data() local
[all...]
/titanic_52/usr/src/lib/libmp/common/
H A Dmout.c29 m_in(MINT *a, short b, FILE *f) in m_in() argument
43 while ((c = getc(f)) != EOF) in m_in()
47 (void) getc(f); in m_in()
76 m_out(MINT *a, short b, FILE *f) in m_out() argument
94 (void) fprintf(f, "0\n"); in m_out()
114 (void) fprintf(f, "%s\n", bp + 1); in m_out()
197 mp_fmout(MINT *a, FILE *f) in mp_fmout() argument
199 m_out(a, 10, f); in mp_fmout()
203 mp_fmin(MINT *a, FILE *f) in mp_fmin() argument
205 return (m_in(a, 10, f)); in mp_fmin()
[all...]

1...<<11121314151617181920>>...94