Home
last modified time | relevance | path

Searched defs:sp (Results 1 – 25 of 1000) sorted by relevance

12345678910>>...40

/titanic_41/usr/src/lib/libast/common/stdio/
H A Dstdio_c99.c31 clearerr_unlocked(Sfio_t* sp) in clearerr_unlocked()
37 feof_unlocked(Sfio_t* sp) in feof_unlocked()
43 ferror_unlocked(Sfio_t* sp) in ferror_unlocked()
49 fflush_unlocked(Sfio_t* sp) in fflush_unlocked()
55 fgetc_unlocked(Sfio_t* sp) in fgetc_unlocked()
61 fgets_unlocked(char* buf, int size, Sfio_t* sp) in fgets_unlocked()
67 fileno_unlocked(Sfio_t* sp) in fileno_unlocked()
73 fputc_unlocked(int c, Sfio_t* sp) in fputc_unlocked()
79 fputs_unlocked(char* buf, Sfio_t* sp) in fputs_unlocked()
85 fread_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) in fread_unlocked()
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A DPisadep.h63 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int64_t) - 1)) argument
64 #define PSTACK_ALIGN64(sp) (sp) argument
67 #define PSTACK_ALIGN32(sp) (sp) argument
68 #define PSTACK_ALIGN64(sp) ALIGN32(sp) argument
71 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int32_t) - 1)) argument
72 #define PSTACK_ALIGN64(sp) ((sp) & ~(2 * sizeof (int64_t) - 1)) argument
/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c86 auclnt_set_rate(audio_stream_t *sp, int rate) in auclnt_set_rate()
103 auclnt_get_rate(audio_stream_t *sp) in auclnt_get_rate()
109 auclnt_get_fragsz(audio_stream_t *sp) in auclnt_get_fragsz()
115 auclnt_get_framesz(audio_stream_t *sp) in auclnt_get_framesz()
121 auclnt_get_nfrags(audio_stream_t *sp) in auclnt_get_nfrags()
127 auclnt_get_nframes(audio_stream_t *sp) in auclnt_get_nframes()
133 auclnt_set_latency(audio_stream_t *sp, uint_t frags, uint_t bytes) in auclnt_set_latency()
142 auclnt_get_head(audio_stream_t *sp) in auclnt_get_head()
148 auclnt_get_tail(audio_stream_t *sp) in auclnt_get_tail()
154 auclnt_get_hidx(audio_stream_t *sp) in auclnt_get_hidx()
[all …]
H A Daudio_format.c48 do_src(audio_stream_t *sp, void *p1, void *p2, int len, int nchan) in do_src()
68 setup_src(audio_stream_t *sp, int srate, int trate, int sch, int tch) in setup_src()
88 cnv_srconly(audio_stream_t *sp, int len) in cnv_srconly()
105 cnv_s24oe(audio_stream_t *sp, int len) in cnv_s24oe()
122 cnv_from_s8(audio_stream_t *sp, int len) in cnv_from_s8()
138 cnv_from_u8(audio_stream_t *sp, int len) in cnv_from_u8()
154 cnv_from_ulaw(audio_stream_t *sp, int len) in cnv_from_ulaw()
170 cnv_from_alaw(audio_stream_t *sp, int len) in cnv_from_alaw()
186 cnv_from_s16ne(audio_stream_t *sp, int len) in cnv_from_s16ne()
202 cnv_from_s16oe(audio_stream_t *sp, int len) in cnv_from_s16oe()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dsession.c75 sess_rele(sess_t *sp, boolean_t pidlock_held) in sess_rele()
131 sess_t *sp; in tty_hold() local
187 tty_rele(sess_t *sp) in tty_rele()
204 sess_t *sp, *old_sp; in sess_create() local
249 sess_ctty_clear(sess_t *sp, stdata_t *stp) in sess_ctty_clear()
272 sess_ctty_set(proc_t *p, sess_t *sp, stdata_t *stp) in sess_ctty_set()
301 sess_t *sp; in strctty() local
386 sess_t *sp; in freectty_lock() local
489 freectty_signal(proc_t *p, sess_t *sp, stdata_t *stp, boolean_t at_exit) in freectty_signal()
539 sess_t *sp; in freectty() local
[all …]
H A Dsemaphore.c102 sema_init(ksema_t *sp, unsigned count, char *name, ksema_type_t type, void *arg) in sema_init()
109 sema_destroy(ksema_t *sp) in sema_destroy()
118 sema_queue(ksema_t *sp, kthread_t *t) in sema_queue()
143 sema_dequeue(ksema_t *sp, kthread_t *t) in sema_dequeue()
164 sema_owner(ksema_t *sp) in sema_owner()
211 ksema_t *sp; in sema_change_pri() local
227 sema_p(ksema_t *sp) in sema_p()
256 sema_p_sig(ksema_t *sp) in sema_p_sig()
332 sema_v(ksema_t *sp) in sema_v()
371 sema_tryp(ksema_t *sp) in sema_tryp()
[all …]
/titanic_41/usr/src/cmd/svc/configd/
H A Dsnapshot.c55 rc_snapshot_t *sp; in snapshot_alloc() local
66 snapshot_free(rc_snapshot_t *sp) in snapshot_free()
92 rc_snapshot_hold(rc_snapshot_t *sp) in rc_snapshot_hold()
101 rc_snapshot_rele(rc_snapshot_t *sp) in rc_snapshot_rele()
118 rc_snapshot_t *sp = lvl->rsl_parent; in rc_snaplevel_hold() local
129 rc_snapshot_t *sp = lvl->rsl_parent; in rc_snaplevel_rele() local
159 rc_snapshot_t *sp; in snapshot_lookup_unlocked() local
174 snapshot_insert_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) in snapshot_insert_unlocked()
186 snapshot_remove_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) in snapshot_remove_unlocked()
215 rc_snapshot_t *sp; in rc_snapshot_get() local
/titanic_41/usr/src/tools/ctf/cvt/
H A Dstack.c53 stk_t *sp; in stack_new() local
65 stack_free(stk_t *sp) in stack_free()
78 stack_pop(stk_t *sp) in stack_pop()
86 stack_peek(stk_t *sp) in stack_peek()
95 stack_push(stk_t *sp, void *data) in stack_push()
109 stack_level(stk_t *sp) in stack_level()
H A Dstrtab.c42 strtab_grow(strtab_t *sp) in strtab_grow()
51 strtab_create(strtab_t *sp) in strtab_create()
67 strtab_destroy(strtab_t *sp) in strtab_destroy()
107 strtab_compare(strtab_t *sp, strhash_t *hp, const char *str, size_t len) in strtab_compare()
133 strtab_copyin(strtab_t *sp, const char *str, size_t len) in strtab_copyin()
155 strtab_insert(strtab_t *sp, const char *str) in strtab_insert()
201 strtab_size(const strtab_t *sp) in strtab_size()
207 strtab_write(const strtab_t *sp, in strtab_write()
231 strtab_print(const strtab_t *sp) in strtab_print()
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c118 struct snode *sp; in specvp() local
225 struct snode *sp; in makespecvp() local
446 struct snode *sp; in devi_stillreferenced() local
476 spec_devi_open_count(struct snode *sp, dev_info_t **dipp) in spec_devi_open_count()
514 struct snode *sp; in common_specvp() local
537 struct snode *sp; in get_cvp() local
581 struct snode *sp, *nsp; in commonvp() local
636 sinsert(struct snode *sp) in sinsert()
649 sdelete(struct snode *sp) in sdelete()
707 smark(struct snode *sp, int flag) in smark()
[all …]
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c264 scsa1394_state_t *sp; in scsa1394_attach() local
341 scsa1394_state_t *sp; in scsa1394_detach() local
377 scsa1394_state_t *sp; in scsa1394_cpr_suspend() local
420 scsa1394_state_t *sp; in scsa1394_cpr_resume() local
454 scsa1394_cleanup(scsa1394_state_t *sp, int level) in scsa1394_cleanup()
485 scsa1394_attach_1394(scsa1394_state_t *sp) in scsa1394_attach_1394()
511 scsa1394_detach_1394(scsa1394_state_t *sp) in scsa1394_detach_1394()
517 scsa1394_attach_threads(scsa1394_state_t *sp) in scsa1394_attach_threads()
538 scsa1394_detach_threads(scsa1394_state_t *sp) in scsa1394_detach_threads()
545 scsa1394_attach_scsa(scsa1394_state_t *sp) in scsa1394_attach_scsa()
[all …]
H A Dsbp2_bus.c139 scsa1394_state_t *sp = hdl; in scsa1394_bus_get_iblock_cookie() local
147 scsa1394_state_t *sp = hdl; in scsa1394_bus_get_node_id() local
157 scsa1394_state_t *sp = hdl; in scsa1394_bus_alloc_cmd() local
175 scsa1394_state_t *sp = hdl; in scsa1394_bus_free_cmd() local
186 scsa1394_state_t *sp = hdl; in scsa1394_bus_rq() local
213 scsa1394_state_t *sp = hdl; in scsa1394_bus_rb() local
244 scsa1394_state_t *sp = hdl; in scsa1394_bus_wq() local
267 scsa1394_state_t *sp = hdl; in scsa1394_bus_wb() local
317 scsa1394_state_t *sp = hdl; in scsa1394_bus_alloc_buf_phys() local
388 scsa1394_state_t *sp = hdl; in scsa1394_bus_free_buf_phys() local
[all …]
H A Dsbp2_driver.c80 scsa1394_sbp2_attach(scsa1394_state_t *sp) in scsa1394_sbp2_attach()
120 scsa1394_sbp2_detach(scsa1394_state_t *sp) in scsa1394_sbp2_detach()
137 scsa1394_sbp2_detect_symbios(scsa1394_state_t *sp) in scsa1394_sbp2_detect_symbios()
192 scsa1394_sbp2_fake_inquiry(scsa1394_state_t *sp, struct scsi_inquiry *inq) in scsa1394_sbp2_fake_inquiry()
244 scsa1394_sbp2_threads_init(scsa1394_state_t *sp) in scsa1394_sbp2_threads_init()
274 scsa1394_sbp2_threads_fini(scsa1394_state_t *sp) in scsa1394_sbp2_threads_fini()
302 scsa1394_sbp2_login(scsa1394_state_t *sp, int lun) in scsa1394_sbp2_login()
316 scsa1394_sbp2_logout(scsa1394_state_t *sp, int lun, boolean_t phys) in scsa1394_sbp2_logout()
327 scsa1394_sbp2_req(scsa1394_state_t *sp, int lun, int req) in scsa1394_sbp2_req()
341 scsa1394_state_t *sp = lp->l_sp; in scsa1394_sbp2_req_bus_reset() local
[all …]
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.h41 #define SLOT_THRESHOLD(sp) (slot_table[sp->ses_slotid]->sl_threshold) argument
42 #define SLOT_HASH_MAX_INDATA_LEN(sp) \ argument
44 #define SLOT_HMAC_MAX_INDATA_LEN(sp) \ argument
46 #define SLOT_HAS_LIMITED_HASH(sp) (slot_table[sp->ses_slotid]->sl_flags & \ argument
48 #define SLOT_HAS_LIMITED_HMAC(sp) (slot_table[sp->ses_slotid]->sl_flags & \ argument
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c99 rds_is_port_marked(rds_session_t *sp, in_port_t port, uint_t qualifier) in rds_is_port_marked()
129 rds_check_n_mark_port(rds_session_t *sp, in_port_t port, uint_t qualifier) in rds_check_n_mark_port()
176 rds_check_n_unmark_port(rds_session_t *sp, in_port_t port, uint_t qualifier) in rds_check_n_unmark_port()
223 rds_mark_all_ports(rds_session_t *sp, uint_t qualifier) in rds_mark_all_ports()
251 rds_unmark_all_ports(rds_session_t *sp, uint_t qualifier) in rds_unmark_all_ports()
277 rds_add_session(rds_session_t *sp, boolean_t locked) in rds_add_session()
311 rds_session_t *sp; in rds_session_lkup() local
334 rds_session_lkup_by_sp(rds_session_t *sp) in rds_session_lkup_by_sp()
449 rds_session_fini(rds_session_t *sp) in rds_session_fini()
464 rds_session_init(rds_session_t *sp) in rds_session_init()
[all …]
/titanic_41/usr/src/lib/scsi/libses/common/
H A Dses_snap.c30 ses_snap_find_page(ses_snap_t *sp, ses2_diag_page_t page, boolean_t ctl) in ses_snap_find_page()
94 free_all_snap_pages(ses_snap_t *sp) in free_all_snap_pages()
114 ses_snap_ctl_page(ses_snap_t *sp, ses2_diag_page_t page, size_t dlen, in ses_snap_ctl_page()
175 read_status_page(ses_snap_t *sp, ses2_diag_page_t page) in read_status_page()
276 send_control_page(ses_snap_t *sp, ses_snap_page_t *pp) in send_control_page()
320 pages_skel_create(ses_snap_t *sp) in pages_skel_create()
394 ses_snap_free(ses_snap_t *sp) in ses_snap_free()
403 ses_snap_rele_unlocked(ses_snap_t *sp) in ses_snap_rele_unlocked()
424 ses_snap_t *sp; in ses_snap_hold() local
435 ses_snap_rele(ses_snap_t *sp) in ses_snap_rele()
[all …]
H A Dses_plugin.c36 ses_plugin_ctlpage_lookup(ses_plugin_t *sp, ses_snap_t *snap, int pagenum, in ses_plugin_ctlpage_lookup()
61 ses_plugin_t *sp; in ses_fill_node() local
78 ses_plugin_t *sp; in ses_node_ctl() local
128 ses_plugin_page_lookup(ses_plugin_t *sp, ses_snap_t *snap, int pagenum, in ses_plugin_page_lookup()
153 ses_plugin_t *sp; in ses_get_pagedesc() local
176 ses_plugin_register(ses_plugin_t *sp, int version, ses_plugin_config_t *scp) in ses_plugin_register()
189 ses_plugin_setspecific(ses_plugin_t *sp, void *data) in ses_plugin_setspecific()
195 ses_plugin_getspecific(ses_plugin_t *sp) in ses_plugin_getspecific()
211 ses_plugin_destroy(ses_plugin_t *sp) in ses_plugin_destroy()
225 ses_plugin_t *sp, **loc; in ses_plugin_loadone() local
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dstats.c107 stats_delete(struct stats *sp) in stats_delete()
126 stats_counter_bump(struct stats *sp) in stats_counter_bump()
137 stats_counter_add(struct stats *sp, int n) in stats_counter_add()
148 stats_counter_reset(struct stats *sp) in stats_counter_reset()
159 stats_counter_value(struct stats *sp) in stats_counter_value()
179 stats_elapse_start(struct stats *sp) in stats_elapse_start()
190 stats_elapse_stop(struct stats *sp) in stats_elapse_stop()
214 stats_string_set(struct stats *sp, const char *s) in stats_string_set()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c113 struct sockparams *sp = ksp->ks_private; in sockparams_kstat_update() local
128 sockparams_kstat_init(struct sockparams *sp) in sockparams_kstat_init()
149 sockparams_kstat_fini(struct sockparams *sp) in sockparams_kstat_fini()
190 struct sockparams *sp = NULL; in sockparams_create() local
272 sockparams_sdev_init(struct sockparams *sp, char *devpath, int devpathlen) in sockparams_sdev_init()
309 sockparams_destroy(struct sockparams *sp) in sockparams_destroy()
335 sockparams_sdev_fini(struct sockparams *sp) in sockparams_sdev_fini()
364 struct sockparams *sp; in sockparams_find() local
404 struct sockparams *sp = NULL; in sockparams_hold_ephemeral() local
521 sockparams_ephemeral_drop_last_ref(struct sockparams *sp) in sockparams_ephemeral_drop_last_ref()
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c43 mhd_drive_set_t *sp, in mhd_ff_disarm()
74 mhd_drive_set_t *sp, in mhd_ff_open()
134 mhd_drive_set_t *sp, in mhd_ff_close()
165 mhd_drive_set_t *sp, in mhd_ff_rearm()
200 mhd_drive_set_t *sp in mhd_ff_die()
227 mhd_drive_set_t *sp in mhd_ff_check()
H A Dmhd_set.c47 mhd_drive_set_t *sp, in mhd_add_drive_to_set()
73 mhd_drive_set_t *sp = dp->dr_sp; in mhd_del_drive_from_set() local
103 mhd_drive_set_t *sp = mhd_sets[i]; in mhd_find_set() local
118 mhd_drive_set_t *sp, in mhd_wait_set()
167 mhd_drive_set_t *sp, in mhd_idle_set()
213 mhd_drive_set_t *sp; in mhd_create_set() local
325 mhd_drive_set_t *sp = mhd_sets[i]; in mhd_create_set() local
369 mhd_drive_set_t *sp = mhd_sets[i]; in mhd_find_drive() local
420 mhd_drive_set_t *sp = mhd_sets[i]; in mhd_list_drives() local
450 mhd_drive_set_t *sp = mhd_sets[i]; in mhd_list_drives() local
[all …]
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_strtab.c39 dt_strtab_grow(dt_strtab_t *sp) in dt_strtab_grow()
64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); in dt_strtab_create() local
99 dt_strtab_destroy(dt_strtab_t *sp) in dt_strtab_destroy()
145 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, in dt_strtab_compare()
172 dt_strtab_copyin(dt_strtab_t *sp, const char *str, size_t len) in dt_strtab_copyin()
207 dt_strtab_index(dt_strtab_t *sp, const char *str) in dt_strtab_index()
227 dt_strtab_insert(dt_strtab_t *sp, const char *str) in dt_strtab_insert()
267 dt_strtab_size(const dt_strtab_t *sp) in dt_strtab_size()
273 dt_strtab_write(const dt_strtab_t *sp, dt_strtab_write_f *func, void *private) in dt_strtab_write()
/titanic_41/usr/src/lib/libc/port/threads/
H A Dsema.c39 sema_held(sema_t *sp) in sema_held()
47 sema_init(sema_t *sp, unsigned int count, int type, void *arg) in sema_init()
75 sema_destroy(sema_t *sp) in sema_destroy()
83 sema_wait_impl(sema_t *sp, timespec_t *tsp) in sema_wait_impl()
203 sema_wait(sema_t *sp) in sema_wait()
210 sema_reltimedwait(sema_t *sp, const timespec_t *reltime) in sema_reltimedwait()
219 sema_timedwait(sema_t *sp, const timespec_t *abstime) in sema_timedwait()
230 sema_trywait(sema_t *sp) in sema_trywait()
297 sema_post(sema_t *sp) in sema_post()
/titanic_41/usr/src/cmd/saf/
H A Dsac.c228 struct sactab *sp; /* working pointer */ in startpms() local
301 struct sactab *sp; /* working pointer */ in readutmpx() local
370 startpm(struct sactab *sp) in startpm()
457 cleanutx(struct sactab *sp) in cleanutx()
535 account(struct sactab *sp, pid_t pid) in account()
568 startit(struct sactab *sp) in startit()
680 mkargv(struct sactab *sp) in mkargv()
769 struct sactab *sp; /* working pointer */ in pollpms() local
839 struct sactab *sp; /* working pointer */ in reap() local
869 pollfail(struct sactab *sp, int reason) in pollfail()
[all …]
/titanic_41/usr/src/uts/i86pc/sys/
H A Dcpu_acpi.h42 #define CPU_ACPI_PPC(sp) sp->cs_ppc argument
43 #define CPU_ACPI_PSD(sp) sp->cs_psd argument
44 #define CPU_ACPI_PCT(sp) sp->cs_pct argument
45 #define CPU_ACPI_PCT_CTRL(sp) &sp->cs_pct[0] argument
46 #define CPU_ACPI_PCT_STATUS(sp) &sp->cs_pct[1] argument
47 #define CPU_ACPI_PSTATES(sp) sp->cs_pstates.ss_states argument
48 #define CPU_ACPI_PSTATES_COUNT(sp) sp->cs_pstates.ss_count argument
57 #define CPU_ACPI_TPC(sp) sp->cs_tpc argument
58 #define CPU_ACPI_TSD(sp) sp->cs_tsd argument
59 #define CPU_ACPI_PTC(sp) sp->cs_ptc argument
[all …]

12345678910>>...40