Home
last modified time | relevance | path

Searched refs:adp (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrctl.c59 adp++; in pr_getrctl()
66 adp++; in pr_getrctl()
81 adp++; in pr_getrctl()
96 adp++; in pr_getrctl()
103 adp++; in pr_getrctl()
141 adp++; in pr_setrctl()
148 adp++; in pr_setrctl()
163 adp++; in pr_setrctl()
178 adp++; in pr_setrctl()
185 adp++; in pr_setrctl()
[all …]
H A Dpr_stat.c94 adp->arg_size = 0; in pr_stat()
97 adp->arg_value = 0; in pr_stat()
104 adp->arg_value = 0; in pr_stat()
121 adp->arg_value = 0; in pr_stat()
125 adp->arg_size = 0; in pr_stat()
169 adp->arg_size = 0; in pr_lstat()
200 adp->arg_size = 0; in pr_lstat()
244 adp->arg_size = 0; in pr_fstat()
251 adp->arg_size = 0; in pr_fstat()
275 adp->arg_size = 0; in pr_fstat()
[all …]
H A Dpr_rename.c40 argdes_t *adp; in pr_rename() local
51 adp->arg_size = 0; in pr_rename()
54 adp->arg_value = 0; in pr_rename()
65 adp->arg_size = 0; in pr_rename()
68 adp->arg_value = 0; in pr_rename()
91 argdes_t *adp; in pr_link() local
102 adp->arg_size = 0; in pr_link()
116 adp->arg_size = 0; in pr_link()
130 adp->arg_size = 0; in pr_link()
149 argdes_t *adp; in pr_unlink() local
[all …]
H A Dpr_open.c42 argdes_t *adp; in pr_open() local
53 adp->arg_size = 0; in pr_open()
56 adp->arg_value = 0; in pr_open()
67 adp->arg_size = 0; in pr_open()
74 adp->arg_size = 0; in pr_open()
93 argdes_t *adp; in pr_creat() local
104 adp->arg_size = 0; in pr_creat()
118 adp->arg_size = 0; in pr_creat()
125 adp->arg_size = 0; in pr_creat()
144 argdes_t *adp; in pr_close() local
[all …]
H A Dpr_getsockname.c45 argdes_t *adp; in get_sock_peer_name() local
53 adp->arg_size = 0; in get_sock_peer_name()
56 adp->arg_value = 0; in get_sock_peer_name()
63 adp->arg_value = 0; in get_sock_peer_name()
74 adp->arg_size = 0; in get_sock_peer_name()
122 argdes_t *adp; in pr_getsockopt() local
133 adp->arg_size = 0; in pr_getsockopt()
140 adp->arg_size = 0; in pr_getsockopt()
147 adp->arg_size = 0; in pr_getsockopt()
180 argdes_t *adp; in pr_getpeerucred() local
[all …]
H A Dpr_lseek.c50 argdes_t *adp; in pr_lseek() local
61 adp->arg_size = 0; in pr_lseek()
71 adp->arg_size = 0; in pr_lseek()
80 adp->arg_size = 0; in pr_lseek()
81 adp++; in pr_lseek()
86 adp->arg_size = 0; in pr_lseek()
94 adp->arg_size = 0; in pr_lseek()
125 argdes_t *adp; in pr_llseek() local
136 adp->arg_size = 0; in pr_llseek()
156 adp++; in pr_llseek()
[all …]
H A Dpr_mmap.c44 argdes_t *adp; in pr_mmap() local
52 adp->arg_object = NULL; in pr_mmap()
55 adp->arg_size = 0; in pr_mmap()
62 adp->arg_size = 0; in pr_mmap()
69 adp->arg_size = 0; in pr_mmap()
76 adp->arg_size = 0; in pr_mmap()
83 adp->arg_size = 0; in pr_mmap()
90 adp->arg_size = 0; in pr_mmap()
109 argdes_t *adp; in pr_munmap() local
120 adp->arg_size = 0; in pr_munmap()
[all …]
H A Dpr_memcntl.c46 argdes_t *adp; in pr_memcntl() local
54 adp->arg_object = NULL; in pr_memcntl()
57 adp->arg_size = 0; in pr_memcntl()
60 adp->arg_value = len; in pr_memcntl()
64 adp->arg_size = 0; in pr_memcntl()
67 adp->arg_value = cmd; in pr_memcntl()
71 adp->arg_size = 0; in pr_memcntl()
75 adp->arg_value = 0; in pr_memcntl()
92 adp->arg_size = 0; in pr_memcntl()
100 adp->arg_size = 0; in pr_memcntl()
[all …]
H A Dpr_getitimer.c43 argdes_t *adp; in pr_getitimer() local
54 adp->arg_value = which; in pr_getitimer()
57 adp->arg_object = NULL; in pr_getitimer()
58 adp->arg_size = 0; in pr_getitimer()
61 adp->arg_value = 0; in pr_getitimer()
73 adp->arg_object = itv; in pr_getitimer()
100 argdes_t *adp; in pr_setitimer() local
116 adp->arg_size = 0; in pr_setitimer()
119 adp->arg_value = 0; in pr_setitimer()
137 adp->arg_value = 0; in pr_setitimer()
[all …]
H A Dpr_door.c50 adp->arg_value = did; in pr_door_info()
54 adp->arg_size = 0; in pr_door_info()
57 adp->arg_value = 0; in pr_door_info()
58 adp->arg_object = di; in pr_door_info()
64 adp->arg_value = 0; in pr_door_info()
68 adp->arg_size = 0; in pr_door_info()
71 adp->arg_value = 0; in pr_door_info()
75 adp->arg_size = 0; in pr_door_info()
78 adp->arg_value = 0; in pr_door_info()
82 adp->arg_size = 0; in pr_door_info()
[all …]
H A Dpr_tasksys.c48 argdes_t *adp; in pr_getzoneid() local
54 adp = &argd[0]; in pr_getzoneid()
61 adp = &argd[1]; in pr_getzoneid()
82 argdes_t *adp; in pr_getprojid() local
88 adp = &argd[0]; in pr_getprojid()
109 argdes_t *adp; in pr_gettaskid() local
115 adp = &argd[0]; in pr_gettaskid()
136 argdes_t *adp; in pr_settaskid() local
142 adp = &argd[0]; in pr_settaskid()
149 adp++; in pr_settaskid()
[all …]
H A Dpr_getrlimit.c46 argdes_t *adp; in pr_getrlimit() local
58 adp->arg_size = 0; in pr_getrlimit()
61 adp->arg_value = 0; in pr_getrlimit()
94 argdes_t *adp; in pr_setrlimit() local
106 adp->arg_size = 0; in pr_setrlimit()
109 adp->arg_value = 0; in pr_setrlimit()
142 argdes_t *adp; in pr_getrlimit64() local
154 adp->arg_size = 0; in pr_getrlimit64()
157 adp->arg_value = 0; in pr_getrlimit64()
190 argdes_t *adp; in pr_setrlimit64() local
[all …]
H A Dpr_sigaction.c49 argdes_t *adp; in pr_sigaction() local
60 adp->arg_value = sig; in pr_sigaction()
61 adp->arg_object = NULL; in pr_sigaction()
62 adp->arg_type = AT_BYVAL; in pr_sigaction()
64 adp->arg_size = 0; in pr_sigaction()
67 adp->arg_value = 0; in pr_sigaction()
71 adp->arg_object = NULL; in pr_sigaction()
72 adp->arg_size = 0; in pr_sigaction()
92 adp->arg_value = 0; in pr_sigaction()
96 adp->arg_object = NULL; in pr_sigaction()
[all …]
H A Dpr_fcntl.c44 argdes_t *adp; in pr_fcntl() local
51 adp->arg_value = fd; in pr_fcntl()
52 adp->arg_object = NULL; in pr_fcntl()
55 adp->arg_size = 0; in pr_fcntl()
79 adp->arg_value = cmd; in pr_fcntl()
80 adp->arg_object = NULL; in pr_fcntl()
83 adp->arg_size = 0; in pr_fcntl()
87 adp->arg_value = 0; in pr_fcntl()
91 adp->arg_size = 0; in pr_fcntl()
93 adp->arg_value = 0; in pr_fcntl()
[all …]
H A Dpr_pbind.c48 adp->arg_object = NULL; in pr_processor_bind()
51 adp->arg_size = 0; in pr_processor_bind()
52 adp++; in pr_processor_bind()
55 adp->arg_object = NULL; in pr_processor_bind()
58 adp->arg_size = 0; in pr_processor_bind()
59 adp++; in pr_processor_bind()
62 adp->arg_object = NULL; in pr_processor_bind()
65 adp->arg_size = 0; in pr_processor_bind()
66 adp++; in pr_processor_bind()
73 adp->arg_size = 0; in pr_processor_bind()
[all …]
H A Dpr_waitid.c50 argdes_t *adp; in pr_waitid() local
60 adp->arg_value = idtype; in pr_waitid()
61 adp->arg_object = NULL; in pr_waitid()
64 adp->arg_size = 0; in pr_waitid()
67 adp->arg_value = id; in pr_waitid()
68 adp->arg_object = NULL; in pr_waitid()
71 adp->arg_size = 0; in pr_waitid()
74 adp->arg_value = 0; in pr_waitid()
86 adp->arg_object = infop; in pr_waitid()
92 adp->arg_object = NULL; in pr_waitid()
[all …]
H A Dpr_ioctl.c49 adp->arg_value = fd; in pr_ioctl()
50 adp->arg_object = NULL; in pr_ioctl()
53 adp->arg_size = 0; in pr_ioctl()
56 adp->arg_value = code; in pr_ioctl()
57 adp->arg_object = NULL; in pr_ioctl()
60 adp->arg_size = 0; in pr_ioctl()
65 adp->arg_object = NULL; in pr_ioctl()
68 adp->arg_size = 0; in pr_ioctl()
70 adp->arg_value = 0; in pr_ioctl()
71 adp->arg_object = buf; in pr_ioctl()
[all …]
H A Dpr_statvfs.c78 adp->arg_value = 0; in pr_statvfs()
80 adp->arg_type = AT_BYREF; in pr_statvfs()
85 adp->arg_value = 0; in pr_statvfs()
93 adp->arg_object = buf; in pr_statvfs()
97 adp->arg_object = buf; in pr_statvfs()
131 adp->arg_value = fd; in pr_fstatvfs()
132 adp->arg_object = NULL; in pr_fstatvfs()
135 adp->arg_size = 0; in pr_fstatvfs()
138 adp->arg_value = 0; in pr_fstatvfs()
146 adp->arg_object = buf; in pr_fstatvfs()
[all …]
H A Dpr_meminfo.c49 argdes_t *adp = &argd[0]; in pr_meminfo() local
120 adp->arg_object = NULL; in pr_meminfo()
121 adp->arg_type = AT_BYVAL; in pr_meminfo()
123 adp->arg_size = 0; in pr_meminfo()
124 adp++; in pr_meminfo()
131 adp->arg_object = NULL; in pr_meminfo()
134 adp->arg_size = 0; in pr_meminfo()
135 adp++; in pr_meminfo()
141 adp->arg_value = 0; in pr_meminfo()
144 adp->arg_object = &m32; in pr_meminfo()
[all …]
H A DPsyscall.c385 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall()
387 switch (adp->arg_type) { in Psyscall()
393 switch (adp->arg_inout) { in Psyscall()
397 if (adp->arg_object == NULL) in Psyscall()
404 if (adp->arg_size == 0 || adp->arg_size > MAXARGL) in Psyscall()
441 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall()
446 if (Pwrite(P, adp->arg_object, adp->arg_size, in Psyscall()
447 (uintptr_t)adp->arg_value) != adp->arg_size) in Psyscall()
496 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall()
501 if (Pread(P, adp->arg_object, adp->arg_size, in Psyscall()
[all …]
H A Dpr_exit.c43 argdes_t *adp; in pr_exit() local
51 adp = &argd[0]; /* status argument */ in pr_exit()
52 adp->arg_value = status; in pr_exit()
53 adp->arg_object = NULL; in pr_exit()
54 adp->arg_type = AT_BYVAL; in pr_exit()
55 adp->arg_inout = AI_INPUT; in pr_exit()
56 adp->arg_size = 0; in pr_exit()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_addrvec.c47 mdb_free(adp->ad_data, sizeof (uintptr_t) * adp->ad_size); in mdb_addrvec_destroy()
54 if (adp->ad_nelems >= adp->ad_size) { in mdb_addrvec_unshift()
55 size_t size = adp->ad_size ? adp->ad_size * AD_GROW : AD_INIT; in mdb_addrvec_unshift()
58 bcopy(adp->ad_data, data, sizeof (uintptr_t) * adp->ad_size); in mdb_addrvec_unshift()
59 mdb_free(adp->ad_data, sizeof (uintptr_t) * adp->ad_size); in mdb_addrvec_unshift()
65 adp->ad_data[adp->ad_nelems++] = value; in mdb_addrvec_unshift()
71 if (adp->ad_ndx < adp->ad_nelems) in mdb_addrvec_shift()
72 return (adp->ad_data[adp->ad_ndx++]); in mdb_addrvec_shift()
80 if (adp != NULL) { in mdb_addrvec_length()
81 ASSERT(adp->ad_nelems >= adp->ad_ndx); in mdb_addrvec_length()
[all …]
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c897 adp->arg_size = 0; in __pctx_cpc()
898 adp++; in __pctx_cpc()
904 adp->arg_size = 0; in __pctx_cpc()
905 adp++; in __pctx_cpc()
914 adp++; in __pctx_cpc()
920 adp->arg_size = 0; in __pctx_cpc()
921 adp++; in __pctx_cpc()
936 adp++; in __pctx_cpc()
943 adp++; in __pctx_cpc()
958 adp++; in __pctx_cpc()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dlibs.c189 Ar_desc * adp; in ld_ar_setup() local
214 adp->ad_name = name; in ld_ar_setup()
215 adp->ad_elf = elf; in ld_ar_setup()
216 adp->ad_start = start; in ld_ar_setup()
217 adp->ad_allextract = FALSE; in ld_ar_setup()
220 if (adp->ad_aux == NULL) in ld_ar_setup()
223 adp->ad_aux = NULL; in ld_ar_setup()
240 return (adp); in ld_ar_setup()
276 if (adp->ad_start == NULL) in ld_ar_member()
490 for (arsym = adp->ad_start, aup = adp->ad_aux; arsym->as_name; in ar_extract_bysym()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_adsp.c50 get_short(adp->ad_connid), in interpret_adsp()
51 adsp_ctrl(adp->ad_desc)); in interpret_adsp()
67 get_short(adp->ad_connid), in interpret_adsp()
68 get_long(adp->ad_fbseq), in interpret_adsp()
69 get_long(adp->ad_nrseq)); in interpret_adsp()
73 get_short(adp->ad_rcvwin), in interpret_adsp()
74 adp->ad_desc, in interpret_adsp()
75 adsp_ctrl(adp->ad_desc)); in interpret_adsp()
77 switch (adp->ad_desc) { in interpret_adsp()
82 apo = (struct ddp_adsp_open *)adp; in interpret_adsp()
[all …]

123