/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | repeat.h | 1 #define R0(P, S) P(S) argument 2 #define R1(P, S) R0(P,S##0) R0(P,S##1) argument 3 #define R2(P, S) R0(P,S##0) R0(P,S##1) R0(P,S##2) R0(P,S##3) argument 4 #define R3(P, S) R0(P,S##0) R0(P,S##1) R0(P,S##2) R0(P,S##3) R0(P,S##4) R0(P,S##5) R0(P,S##… argument 5 #define R4(P, S) R3(P,S##0) R3(P,S##1) argument 6 #define R5(P, S) R3(P,S##0) R3(P,S##1) R3(P,S##2) R3(P,S##3) argument 7 #define R6(P, S) R3(P,S##0) R3(P,S##1) R3(P,S##2) R3(P,S##3) R3(P,S##4) R3(P,S##5) R3(P,S##… argument 8 #define R7(P, S) R6(P,S##0) R6(P,S##1) argument 9 #define R8(P, S) R6(P,S##0) R6(P,S##1) R6(P,S##2) R6(P,S##3) argument 10 #define R9(P, S) R6(P,S##0) R6(P,S##1) R6(P,S##2) R6(P,S##3) R6(P,S##4) R6(P,S##5) R6(P,S##… argument [all …]
|
H A D | multi_typedef.c | 1 typedef int T, *P; typedef 4 unsigned P = 0; in f() local 9 int P = 0; in g() local
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | page.h | 103 #define REFERENCE(P, T, O) (((T *)((u_int8_t *)(P) + O))[0]) argument 108 #define NUM_ENT(P) (REFERENCE((P), indx_t, I_ENTRIES)) argument 109 #define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO)) argument 110 #define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO)) argument 111 #define TYPE(P) (REFERENCE((P), u_int8_t, I_TYPE)) argument 112 #define OFFSET(P) (REFERENCE((P), indx_t, I_HF_OFFSET)) argument 118 #define ADDR(P) (PREV_PGNO((P))) argument 121 #define DATA_OFF(P, N) \ argument 123 #define KEY_OFF(P, N) \ argument 126 #define KEY(P, N) (((PAGE8 *)(P)) + KEY_OFF((P), (N))) argument [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pservice.c | 53 ps_pdmodel(struct ps_prochandle *P, int *modelp) in ps_pdmodel() 60 ps_pread(struct ps_prochandle *P, psaddr_t addr, void *buf, size_t size) in ps_pread() 68 ps_pwrite(struct ps_prochandle *P, psaddr_t addr, const void *buf, size_t size) in ps_pwrite() 87 ps_pstop(struct ps_prochandle *P) in ps_pstop() 95 ps_pcontinue(struct ps_prochandle *P) in ps_pcontinue() 108 ps_lstop(struct ps_prochandle *P, lwpid_t lwpid) in ps_lstop() 117 ps_lcontinue(struct ps_prochandle *P, lwpid_t lwpid) in ps_lcontinue() 125 ps_lgetregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t regs) in ps_lgetregs() 137 ps_lsetregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t regs) in ps_lsetregs() 149 ps_lgetfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *regs) in ps_lgetfpregs() [all …]
|
H A D | Pcontrol.c | 90 Pread_live(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_live() 97 Pwrite_live(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_live() 104 Pread_maps_live(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp, in Pread_maps_live() 137 Pread_aux_live(struct ps_prochandle *P, auxv_t **auxvp, int *nauxp, void *data) in Pread_aux_live() 174 Pcred_live(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_live() 180 Psecflags_live(struct ps_prochandle *P, prsecflags_t **psf, void *data) in Psecflags_live() 186 Ppriv_live(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_live() 200 Ppsinfo_live(struct ps_prochandle *P, psinfo_t *psinfo, void *data) in Ppsinfo_live() 209 Plstatus_live(struct ps_prochandle *P, void *data) in Plstatus_live() 215 Plpsinfo_live(struct ps_prochandle *P, void *data) in Plpsinfo_live() [all …]
|
H A D | Plwpregs.c | 59 getlwpcore(struct ps_prochandle *P, lwpid_t lwpid) in getlwpcore() 80 getlwpfile(struct ps_prochandle *P, lwpid_t lwpid, in getlwpfile() 114 getlwpfile_alloc(struct ps_prochandle *P, lwpid_t lwpid, const char *fbase, in getlwpfile_alloc() 164 getlwpstatus(struct ps_prochandle *P, lwpid_t lwpid, lwpstatus_t *lps) in getlwpstatus() 207 refresh_status(struct ps_prochandle *P, lwpid_t lwpid, struct ps_lwphandle *L, in refresh_status() 235 setlwpregs_proc(struct ps_prochandle *P, lwpid_t lwpid, long cmd, in setlwpregs_proc() 331 Plwp_getregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t gregs) in Plwp_getregs() 350 Plwp_setregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t gregs) in Plwp_setregs() 362 Plwp_getfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *fpregs) in Plwp_getfpregs() 381 Plwp_setfpregs(struct ps_prochandle *P, lwpid_t lwpid, in Plwp_setfpregs() [all …]
|
H A D | Pcore.c | 73 core_rw(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in core_rw() 123 Pread_core(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_core() 130 Pwrite_core(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_core() 138 Pcred_core(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_core() 161 Psecflags_core(struct ps_prochandle *P, prsecflags_t **psf, void *data) in Psecflags_core() 179 Ppriv_core(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_core() 198 Ppsinfo_core(struct ps_prochandle *P, psinfo_t *psinfo, void *data) in Ppsinfo_core() 204 Pfini_core(struct ps_prochandle *P, void *data) in Pfini_core() 254 Pplatform_core(struct ps_prochandle *P, char *s, size_t n, void *data) in Pplatform_core() 268 Puname_core(struct ps_prochandle *P, struct utsname *u, void *data) in Puname_core() [all …]
|
H A D | Psymtab.c | 117 get_saddrs(struct ps_prochandle *P, uintptr_t ehdr_start, uint_t *n) in get_saddrs() 191 file_info_new(struct ps_prochandle *P, map_info_t *mptr) in file_info_new() 263 file_info_free(struct ps_prochandle *P, file_info_t *fptr) in file_info_free() 314 map_info_free(struct ps_prochandle *P, map_info_t *mptr) in map_info_free() 346 struct ps_prochandle *P = cd; in map_iter() local 405 map_set(struct ps_prochandle *P, map_info_t *mptr, const char *lname) in map_set() 440 load_static_maps(struct ps_prochandle *P) in load_static_maps() 460 Preadmaps(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp) in Preadmaps() 473 Pupdate_maps(struct ps_prochandle *P) in Pupdate_maps() 590 Pupdate_syms(struct ps_prochandle *P) in Pupdate_syms() [all …]
|
H A D | Pfdinfo.c | 40 Pinitfd(struct ps_prochandle *P) in Pinitfd() 53 Pfd2info(struct ps_prochandle *P, int fd) in Pfd2info() 81 struct ps_prochandle *P = arg; in fdwalk_cb() local 105 load_fdinfo(struct ps_prochandle *P) in load_fdinfo() 123 Pfdinfo_iter(struct ps_prochandle *P, proc_fdinfo_f *func, void *cd) in Pfdinfo_iter()
|
H A D | Pidle.c | 42 Pread_idle(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_idle() 73 Pwrite_idle(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_idle() 82 Ppriv_idle(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_idle() 126 idle_add_mapping(struct ps_prochandle *P, GElf_Phdr *php, file_info_t *fp) in idle_add_mapping() 157 struct ps_prochandle *P = NULL; in Pgrab_file() local
|
H A D | Psyscall.c | 60 Pabort_agent(struct ps_prochandle *P) in Pabort_agent() 81 Pcreate_agent(struct ps_prochandle *P) in Pcreate_agent() 190 Pdestroy_agent(struct ps_prochandle *P) in Pdestroy_agent() 235 execute(struct ps_prochandle *P, int sysindex) in execute() 298 Psyscall(struct ps_prochandle *P, in Psyscall()
|
H A D | Pgcore.c | 59 struct ps_prochandle *P; member 100 Pgcore(struct ps_prochandle *P, const char *fname, core_content_t content) in Pgcore() 128 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, in mkprstatus() 203 mkprpsinfo(struct ps_prochandle *P, prpsinfo_t *psp) in mkprpsinfo() 253 mkprstatus32(struct ps_prochandle *P, const lwpstatus_t *lsp, in mkprstatus32() 328 mkprpsinfo32(struct ps_prochandle *P, prpsinfo32_t *psp) in mkprpsinfo32() 412 struct ps_prochandle *P = pgc->P; in old_per_lwp() local 453 struct ps_prochandle *P = pgc->P; in new_per_lwp() local 596 struct ps_prochandle *P = pgc->P; in count_sections() local 783 struct ps_prochandle *P = pgc->P; in dump_sections() local [all …]
|
H A D | Pexecname.c | 54 try_exec(struct ps_prochandle *P, const char *cwd, const char *path, char *buf, in try_exec() 83 Pfindexec(struct ps_prochandle *P, const char *aout, in Pfindexec() 245 Pexecname(struct ps_prochandle *P, char *buf, size_t buflen) in Pexecname()
|
H A D | Pzone.c | 215 Pbrandname(struct ps_prochandle *P, char *buf, size_t buflen) in Pbrandname() 233 Pzonename(struct ps_prochandle *P, char *s, size_t n) in Pzonename() 239 Pzoneroot(struct ps_prochandle *P, char *s, size_t n) in Pzoneroot() 518 Pzonepath(struct ps_prochandle *P, const char *path, char *s, size_t n) in Pzonepath() 745 Pfindobj(struct ps_prochandle *P, const char *path, char *s, size_t n) in Pfindobj() 773 Pfindmap(struct ps_prochandle *P, map_info_t *mptr, char *s, size_t n) in Pfindmap()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pservice.c | 103 mdb_tgt_from_pshandle(void *P) in mdb_tgt_from_pshandle() 119 ps_pread(struct ps_prochandle *P, psaddr_t addr, void *buf, size_t size) in ps_pread() 136 ps_pwrite(struct ps_prochandle *P, psaddr_t addr, const void *buf, size_t size) in ps_pwrite() 153 ps_pglobal_lookup(struct ps_prochandle *P, const char *object, in ps_pglobal_lookup() 178 ps_pglobal_sym(struct ps_prochandle *P, const char *object, in ps_pglobal_sym() 228 ps_pauxv(struct ps_prochandle *P, const auxv_t **auxvp) in ps_pauxv() 242 ps_pbrandname(struct ps_prochandle *P, char *buf, size_t len) in ps_pbrandname() 272 ps_pdmodel(struct ps_prochandle *P, int *dm) in ps_pdmodel() 295 ps_fail(struct ps_prochandle *P) in ps_fail()
|
/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 46 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() 79 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() 94 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 109 Pissyscall_text(struct ps_prochandle *P, const void *buf, size_t buflen) in Pissyscall_text() 123 argcount_ctf(struct ps_prochandle *P, long pc, uint_t *countp) in argcount_ctf() 161 argcount(struct ps_prochandle *P, long pc, ssize_t sz) in argcount() 197 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, in Pstack_iter() 308 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() 320 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() 339 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs()
|
/illumos-gate/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 49 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() 83 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() 98 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 113 Pissyscall_text(struct ps_prochandle *P, const void *buf, size_t buflen) in Pissyscall_text() 185 read_gwin(struct ps_prochandle *P, struct rwindow *rwp, uintptr_t sp) in read_gwin() 255 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, in Pstack_iter() 325 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() 341 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() 365 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs()
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_debug.c | 39 dump_ata_ctl(ata_ctl_t *P) in dump_ata_ctl() 72 dump_ata_drv(ata_drv_t *P) in dump_ata_drv() 99 dump_ata_pkt(ata_pkt_t *P) in dump_ata_pkt()
|
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 49 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() 116 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() 134 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 149 Pissyscall_text(struct ps_prochandle *P, const void *buf, size_t buflen) in Pissyscall_text() 233 read_gwin(struct ps_prochandle *P, struct rwindow *rwp, uintptr_t sp) in read_gwin() 337 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, in Pstack_iter() 429 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() 460 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() 494 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 100 struct ps_prochandle *P = dpr->dpr_proc; in dt_proc_bpcreate() local 393 struct ps_prochandle *P = dpr->dpr_proc; in dt_proc_waitrun() local 468 struct ps_prochandle *P = dpr->dpr_proc; in dt_proc_control() local 671 dt_proc_lookup(dtrace_hdl_t *dtp, struct ps_prochandle *P, int remove) in dt_proc_lookup() 694 dt_proc_destroy(dtrace_hdl_t *dtp, struct ps_prochandle *P) in dt_proc_destroy() 997 dt_proc_release(dtrace_hdl_t *dtp, struct ps_prochandle *P) in dt_proc_release() 1011 dt_proc_continue(dtrace_hdl_t *dtp, struct ps_prochandle *P) in dt_proc_continue() 1026 dt_proc_lock(dtrace_hdl_t *dtp, struct ps_prochandle *P) in dt_proc_lock() 1034 dt_proc_unlock(dtrace_hdl_t *dtp, struct ps_prochandle *P) in dt_proc_unlock() 1117 struct ps_prochandle *P = dt_proc_create(dtp, file, argv); in dtrace_proc_create() local [all …]
|
/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 48 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() 94 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() 118 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 141 Pissyscall_text(struct ps_prochandle *P, const void *buf, size_t buflen) in Pissyscall_text() 163 argcount_ctf(struct ps_prochandle *P, uint32_t pc, uint_t *countp) in argcount_ctf() 201 argcount(struct ps_prochandle *P, uint32_t pc, ssize_t sz) in argcount() 259 Pstack_iter32(struct ps_prochandle *P, const prgregset_t regs, in Pstack_iter32() 384 read_args(struct ps_prochandle *P, uintptr_t fp, uintptr_t pc, prgreg_t *args, in read_args() 496 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, in Pstack_iter() 595 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() [all …]
|
/illumos-gate/usr/src/test/libproc-tests/tests/syscall/ |
H A D | pr_inject.c | 41 pr_check_pre(struct ps_prochandle *P) in pr_check_pre() 92 pr_inject(struct ps_prochandle *P) in pr_inject() 165 struct ps_prochandle *P; in main() local
|
/illumos-gate/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 51 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, in dt_pid_create_entry_probe() 70 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, in dt_pid_create_return_probe() 276 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, in dt_pid_create_offset_probe() 299 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, in dt_pid_create_glob_offset_probes()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | osdep.h | 16 # define P(x) x macro 18 # define P(x) () macro
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/ |
H A D | k5-plugin.h | 74 #define PLUGIN_DIR_INIT(P) ((P)->files = NULL) argument 75 #define PLUGIN_DIR_OPEN(P) ((P)->files != NULL) argument
|