# 2.11BSD#431 - /usr/ingres/source/pipes.h

##### Macros

    ERR_STAT          X
    HDRSIZ            X
    LAST_STAT         X
    NORM_STAT         X
    PBUFSIZ           X
    P_END             X
    P_EXECID          X
    P_FLUSH           X
    P_FUNCID          X
    P_INT             X
    P_NORM            X
    P_PARAM           X
    P_PRIME           X
    P_SYNC            X
    P_WRITE           X
    SYNC_STAT         X

##### struct's

    pipfrmt           X

       1: #
       2: /*
       3: **  pipes.h
       4: **
       5: **	Interprocess pipe format and associated manifest constants
       6: */
       7:
       8: # define    PBUFSIZ     120 /* length of pipe buffer */
       9: # define    HDRSIZ      8   /* length of pipe header */
      10:
      11: /* -- PIPE PARAMETERS -- */
      12: # define    NORM_STAT   0   /* HDRSTAT: data block */
      13: # define    LAST_STAT   1   /* HDRSTAT: last block of cmnd */
      14: # define    ERR_STAT    2   /* HDRSTAT: error block (sync) */
      15: # define    SYNC_STAT   3   /* sync on delete signal */
      16:
      17: struct pipfrmt          /* interprocess pipe format: */
      18: {
      19:     char    exec_id;    /* target overlay id */
      20:     char    func_id;    /* command id in target overlay */
      21:     int err_id;     /* error status
      22: 				    0 - no errors
      23: 				    non zero, error identifier	*/
      24:     char    hdrstat;    /* block status word
      25: 				    0 - good block in command
      26: 				    1 - last block in command	*/
      27:     char    buf_len;    /* # of useful bytes in PBUF
      28: 					values 0 to 120.
      29: 					rdpipe effectively
      30: 					concatenates significant
      31: 					parts of blocks.	*/
      32:     char    param_id;   /* one byte param available to calling pgm */
      33:     char    expansion;  /* reserved for expansion */
      34:     char    pbuf[PBUFSIZ];  /* pipe data buffer */
      35:     int pbuf_pt;    /* next available slot in PBUF */
      36: };
      37:
      38:
      39: /* modes for rdpipe and wrpipe */
      40: # define    P_PRIME     0   /* prime the pipe */
      41: # define    P_NORM      1   /* normal read or write */
      42: # define    P_SYNC      2   /* read for sync */
      43: # define    P_END       2   /* write a sync block */
      44: # define    P_EXECID    3   /* read execid */
      45: # define    P_FUNCID    4   /* read funcid */
      46: # define    P_FLUSH     3   /* write non-sync block */
      47: # define    P_WRITE     4   /* write block, previous type */
      48: # define    P_INT       5   /* synchronize on delete interrupt */
      49: # define    P_PARAM     6   /* set/get param field */
      50:
      51: /* pipe descriptors */
      52: extern int  R_up;       /* Read from process n-1 */
      53: extern int  W_up;       /* Write to process n-1 */
      54: extern int  R_down;     /* Read from process n+1 */
      55: extern int  W_down;     /* Write to process n+1 */
      56: extern int  R_front;    /* Read from front end */
      57: extern int  W_front;    /* Write to front end */

#### Defined struct's

pipfrmt defined in line 17; used 152 times

- in /usr/ingres/source/dbu/main.c line 88(2)
- in /usr/ingres/source/dbu/readtree.c line 37(2)
- in /usr/ingres/source/decomp/call_dbu.c line 27(2), 65(2), 77-79(4)
- in /usr/ingres/source/decomp/call_dbu70.c line 32(2), 102(2), 114-116(4)
- in /usr/ingres/source/decomp/call_ovqp.c line 28(2)
- in /usr/ingres/source/decomp/error.c line 10(2), 25(2)
- in /usr/ingres/source/decomp/main.c line 10(2), 88(2)
- in /usr/ingres/source/decomp/readq.c line 25(2)
- in /usr/ingres/source/decomp/writeback.c line 10-11(4)
- in /usr/ingres/source/equel/runtime/IIprpipe.c line 4-7(4)
- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 87(2), 94(2)
- in /usr/ingres/source/equel/runtime/IIresync.c line 22-24(6)
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 51(2), 58(2)
- in /usr/ingres/source/iutil/copypipes.c line 14-17(4)
- in /usr/ingres/source/iutil/error.c line 30-31(4)
- in /usr/ingres/source/iutil/proc_error.c line 12-19(6)
- in /usr/ingres/source/iutil/prpipe.c line 4-7(4)
- in /usr/ingres/source/iutil/rdpipe.c line 89(2), 95(2)
- in /usr/ingres/source/iutil/resyncpipes.c line 13-14(4)
- in /usr/ingres/source/iutil/wrpipe.c line 55(2), 63(2)
- in /usr/ingres/source/monitor/go.c line 26(2)
- in /usr/ingres/source/monitor/main.c line 223-226(4)
- in /usr/ingres/source/ovqp/copyreturn.c line 11(2)
- in /usr/ingres/source/ovqp/equelpr.c line 15(2), 81(2)
- in /usr/ingres/source/ovqp/getqry.c line 34(2)
- in /usr/ingres/source/ovqp/main.c line 11(2), 66(2)
- in /usr/ingres/source/ovqp/rdsym.c line 7(2)
- in /usr/ingres/source/ovqp/startovqp.c line 8(2), 19(2)
- in /usr/ingres/source/ovqp/support.c line 8(2)
- in /usr/ingres/source/parser/call_p.c line 15-16(4)
- in /usr/ingres/source/parser/call_tree.c line 8(2)
- in /usr/ingres/source/parser/control.c line 210-211(4), 230-231(4)
- in /usr/ingres/source/parser/getscr.c line 16(2)
- in /usr/ingres/source/parser/main.c line 98-105(6)
- in /usr/ingres/source/parser/tree.c line 106(2)
- in /usr/ingres/source/qrymod/d_integ.c line 49(2)
- in /usr/ingres/source/qrymod/d_view.c line 60(2)
- in /usr/ingres/source/qrymod/define.c line 90(2)
- in /usr/ingres/source/qrymod/fillprotup.c line 29(2)
- in /usr/ingres/source/qrymod/issue.c line 49(2)
- in /usr/ingres/source/qrymod/main.c line 80(2)
- in /usr/ingres/source/qrymod/readtree.c line 41(2)
- in /usr/ingres/source/qrymod/util.c line 218(2)
- in /usr/ingres/source/qrymod/writetree.c line 29(2)

#### Defined macros

ERR_STAT defined in line 14; never used
HDRSIZ defined in line 9; used 9 times

- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 137, 170, 189
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 122(2)
- in /usr/ingres/source/iutil/rdpipe.c line 164, 190
- in /usr/ingres/source/iutil/wrpipe.c line 129(2)

LAST_STAT defined in line 13; used 5 times

- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 159
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 89
- in /usr/ingres/source/iutil/rdpipe.c line 138, 153
- in /usr/ingres/source/iutil/wrpipe.c line 93

NORM_STAT defined in line 12; used 10 times

- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 115, 143, 227
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 79, 94
- in /usr/ingres/source/iutil/rdpipe.c line 108, 131, 211
- in /usr/ingres/source/iutil/wrpipe.c line 79, 98

PBUFSIZ defined in line 8; used 14 times

- in line 34
- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 137, 170, 189
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 112-115(2), 122(2)
- in /usr/ingres/source/iutil/rdpipe.c line 164, 190
- in /usr/ingres/source/iutil/wrpipe.c line 118-121(2), 129(2)

P_END defined in line 43; used 17 times

- in /usr/ingres/source/dbu/main.c line 258
- in /usr/ingres/source/decomp/call_dbu.c line 44
- in /usr/ingres/source/decomp/call_dbu70.c line 78
- in /usr/ingres/source/decomp/call_ovqp.c line 247
- in /usr/ingres/source/decomp/writeback.c line 34
- in /usr/ingres/source/equel/runtime/IIsync.c line 29
- in /usr/ingres/source/iutil/copypipes.c line 26
- in /usr/ingres/source/iutil/error.c line 46
- in /usr/ingres/source/monitor/go.c line 58
- in /usr/ingres/source/ovqp/equelpr.c line 62
- in /usr/ingres/source/ovqp/support.c line 164
- in /usr/ingres/source/parser/call_p.c line 28
- in /usr/ingres/source/parser/call_tree.c line 35
- in /usr/ingres/source/parser/control.c line 219
- in /usr/ingres/source/qrymod/issue.c line 75
- in /usr/ingres/source/qrymod/main.c line 199
- in /usr/ingres/source/qrymod/util.c line 288

P_EXECID defined in line 44; used 7 times

- in /usr/ingres/source/dbu/main.c line 143, 198
- in /usr/ingres/source/decomp/main.c line 47
- in /usr/ingres/source/iutil/rdpipe.c line 216
- in /usr/ingres/source/ovqp/main.c line 38, 47
- in /usr/ingres/source/qrymod/main.c line 160

P_FLUSH defined in line 46; used 3 times

- in /usr/ingres/source/decomp/call_ovqp.c line 149
- in /usr/ingres/source/ovqp/equelpr.c line 64, 75

P_FUNCID defined in line 45; used 6 times

- in /usr/ingres/source/dbu/main.c line 144, 199
- in /usr/ingres/source/decomp/main.c line 48
- in /usr/ingres/source/ovqp/main.c line 39, 48
- in /usr/ingres/source/qrymod/main.c line 161

P_INT defined in line 48; used 9 times

- in /usr/ingres/source/decomp/main.c line 97
- in /usr/ingres/source/equel/runtime/IIresync.c line 30-35(3)
- in /usr/ingres/source/iutil/resyncpipes.c line 22-33(4)
- in /usr/ingres/source/ovqp/main.c line 81

P_NORM defined in line 41; used 65 times

- in /usr/ingres/source/dbu/main.c line 212, 257
- in /usr/ingres/source/decomp/call_dbu.c line 43
- in /usr/ingres/source/decomp/call_dbu70.c line 77
- in /usr/ingres/source/decomp/call_ovqp.c line 103-104(2), 111-112(2), 162, 202-206(2), 255, 291, 323-324(2), 354-358(2)
- in /usr/ingres/source/decomp/readq.c line 92, 99
- in /usr/ingres/source/decomp/writeback.c line 25
- in /usr/ingres/source/equel/runtime/IIcvar.c line 60-63(2)
- in /usr/ingres/source/equel/runtime/IIflushtup.c line 36
- in /usr/ingres/source/equel/runtime/IIgettup.c line 38-41(2)
- in /usr/ingres/source/equel/runtime/IIn_get.c line 51
- in /usr/ingres/source/equel/runtime/IIn_ret.c line 47, 139
- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 214
- in /usr/ingres/source/equel/runtime/IIwrite.c line 28
- in /usr/ingres/source/iutil/copypipes.c line 24-25(2)
- in /usr/ingres/source/iutil/error.c line 44
- in /usr/ingres/source/monitor/go.c line 55, 63
- in /usr/ingres/source/monitor/main.c line 246
- in /usr/ingres/source/ovqp/equelpr.c line 74, 108, 116
- in /usr/ingres/source/ovqp/rdsym.c line 26, 40
- in /usr/ingres/source/ovqp/support.c line 124
- in /usr/ingres/source/parser/call_p.c line 26
- in /usr/ingres/source/parser/call_tree.c line 74-76(2), 98
- in /usr/ingres/source/parser/control.c line 217, 235
- in /usr/ingres/source/parser/getscr.c line 25
- in /usr/ingres/source/parser/tree.c line 128
- in /usr/ingres/source/qrymod/d_view.c line 80
- in /usr/ingres/source/qrymod/fillprotup.c line 55, 64-74(3), 91, 123, 131, 139, 148
- in /usr/ingres/source/qrymod/issue.c line 84, 177
- in /usr/ingres/source/qrymod/main.c line 198
- in /usr/ingres/source/qrymod/readtree.c line 231
- in /usr/ingres/source/qrymod/util.c line 287

P_PARAM defined in line 49; used 1 times

- in /usr/ingres/source/iutil/rdpipe.c line 214

P_PRIME defined in line 40; used 53 times

- in /usr/ingres/source/dbu/main.c line 197, 339
- in /usr/ingres/source/decomp/call_dbu.c line 39, 50, 92-96(2)
- in /usr/ingres/source/decomp/call_dbu70.c line 73, 84, 129-133(2)
- in /usr/ingres/source/decomp/call_ovqp.c line 87, 161, 239, 254
- in /usr/ingres/source/decomp/main.c line 46, 56
- in /usr/ingres/source/decomp/writeback.c line 15, 30
- in /usr/ingres/source/equel/runtime/IIflushtup.c line 33, 42
- in /usr/ingres/source/equel/runtime/IIingres.c line 56-57(2)
- in /usr/ingres/source/equel/runtime/IIresync.c line 28, 38
- in /usr/ingres/source/equel/runtime/IIsync.c line 30, 36
- in /usr/ingres/source/iutil/error.c line 37
- in /usr/ingres/source/iutil/proc_error.c line 26-30(2)
- in /usr/ingres/source/iutil/resyncpipes.c line 18
- in /usr/ingres/source/monitor/go.c line 50, 60
- in /usr/ingres/source/monitor/main.c line 263
- in /usr/ingres/source/ovqp/copyreturn.c line 15-16(2)
- in /usr/ingres/source/ovqp/getqry.c line 55
- in /usr/ingres/source/ovqp/main.c line 37-40(2), 46
- in /usr/ingres/source/ovqp/startovqp.c line 22
- in /usr/ingres/source/parser/call_p.c line 20
- in /usr/ingres/source/parser/call_tree.c line 24
- in /usr/ingres/source/parser/control.c line 214, 234
- in /usr/ingres/source/parser/getscr.c line 39
- in /usr/ingres/source/parser/main.c line 112-116(2)
- in /usr/ingres/source/qrymod/issue.c line 73, 83
- in /usr/ingres/source/qrymod/main.c line 159, 188, 196
- in /usr/ingres/source/qrymod/util.c line 285

P_SYNC defined in line 42; used 20 times

- in /usr/ingres/source/decomp/call_dbu.c line 51, 88
- in /usr/ingres/source/decomp/call_dbu70.c line 85, 125
- in /usr/ingres/source/decomp/call_ovqp.c line 262
- in /usr/ingres/source/decomp/error.c line 27
- in /usr/ingres/source/equel/runtime/IIflushtup.c line 32, 41
- in /usr/ingres/source/equel/runtime/IIsync.c line 35
- in /usr/ingres/source/monitor/go.c line 74
- in /usr/ingres/source/ovqp/getqry.c line 136
- in /usr/ingres/source/ovqp/support.c line 70
- in /usr/ingres/source/parser/getscr.c line 52
- in /usr/ingres/source/qrymod/d_integ.c line 70
- in /usr/ingres/source/qrymod/d_view.c line 85
- in /usr/ingres/source/qrymod/define.c line 152
- in /usr/ingres/source/qrymod/fillprotup.c line 157
- in /usr/ingres/source/qrymod/issue.c line 85
- in /usr/ingres/source/qrymod/main.c line 170
- in /usr/ingres/source/qrymod/util.c line 264

P_WRITE defined in line 47; used 1 times

- in /usr/ingres/source/dbu/main.c line 290

SYNC_STAT defined in line 15; used 4 times

- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 191
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 101
- in /usr/ingres/source/iutil/rdpipe.c line 192
- in /usr/ingres/source/iutil/wrpipe.c line 107

#### Usage of this include

pipes.h used 81 times

- in /usr/ingres/source/dbu/main.c line 2
- in /usr/ingres/source/dbu/readtree.c line 6
- in /usr/ingres/source/decomp/ageval.c line 1
- in /usr/ingres/source/decomp/call_dbu.c line 3
- in /usr/ingres/source/decomp/call_dbu70.c line 3
- in /usr/ingres/source/decomp/call_ovqp.c line 1
- in /usr/ingres/source/decomp/decomp.c line 1
- in /usr/ingres/source/decomp/error.c line 2
- in /usr/ingres/source/decomp/exec_sq.c line 1
- in /usr/ingres/source/decomp/main.c line 4
- in /usr/ingres/source/decomp/readq.c line 5
- in /usr/ingres/source/decomp/writeback.c line 5
- in /usr/ingres/source/equel/runtime/IIcvar.c line 3
- in /usr/ingres/source/equel/runtime/IIerror.c line 3
- in /usr/ingres/source/equel/runtime/IIexit.c line 4
- in /usr/ingres/source/equel/runtime/IIflushtup.c line 5
- in /usr/ingres/source/equel/runtime/IIgetc.c line 3
- in /usr/ingres/source/equel/runtime/IIgettup.c line 3
- in /usr/ingres/source/equel/runtime/IIingres.c line 3
- in /usr/ingres/source/equel/runtime/IIitos.c line 4
- in /usr/ingres/source/equel/runtime/IIn_get.c line 4
- in /usr/ingres/source/equel/runtime/IIn_ret.c line 4
- in /usr/ingres/source/equel/runtime/IIp_err.c line 1
- in /usr/ingres/source/equel/runtime/IIprpipe.c line 1
- in /usr/ingres/source/equel/runtime/IIrdpipe.c line 3
- in /usr/ingres/source/equel/runtime/IIresync.c line 1
- in /usr/ingres/source/equel/runtime/IIretrieve.c line 3
- in /usr/ingres/source/equel/runtime/IIsetup.c line 3
- in /usr/ingres/source/equel/runtime/IIsync.c line 3
- in /usr/ingres/source/equel/runtime/IIw_left.c line 3
- in /usr/ingres/source/equel/runtime/IIw_right.c line 3
- in /usr/ingres/source/equel/runtime/IIwrite.c line 3
- in /usr/ingres/source/equel/runtime/IIwrpipe.c line 3
- in /usr/ingres/source/iutil/copypipes.c line 1
- in /usr/ingres/source/iutil/end_job.c line 1
- in /usr/ingres/source/iutil/error.c line 3
- in /usr/ingres/source/iutil/proc_error.c line 1
- in /usr/ingres/source/iutil/prpipe.c line 1
- in /usr/ingres/source/iutil/rdpipe.c line 2
- in /usr/ingres/source/iutil/resyncpipes.c line 1
- in /usr/ingres/source/iutil/wrpipe.c line 2
- in /usr/ingres/source/monitor/go.c line 5
- in /usr/ingres/source/monitor/main.c line 6
- in /usr/ingres/source/monitor/quit.c line 11
- in /usr/ingres/source/ovqp/copyreturn.c line 6
- in /usr/ingres/source/ovqp/equelpr.c line 4
- in /usr/ingres/source/ovqp/findsimps.c line 4
- in /usr/ingres/source/ovqp/getqry.c line 5
- in /usr/ingres/source/ovqp/interp.c line 6
- in /usr/ingres/source/ovqp/interp1.c line 5
- in /usr/ingres/source/ovqp/key.c line 5
- in /usr/ingres/source/ovqp/main.c line 7
- in /usr/ingres/source/ovqp/ovqp.c line 3
- in /usr/ingres/source/ovqp/prsym.c line 5
- in /usr/ingres/source/ovqp/rdsym.c line 4
- in /usr/ingres/source/ovqp/scan.c line 4
- in /usr/ingres/source/ovqp/startovqp.c line 4
- in /usr/ingres/source/ovqp/strategy.c line 6
- in /usr/ingres/source/ovqp/string.c line 5
- in /usr/ingres/source/ovqp/support.c line 5
- in /usr/ingres/source/parser/attfcn.c line 4
- in /usr/ingres/source/parser/call_p.c line 3
- in /usr/ingres/source/parser/call_tree.c line 3
- in /usr/ingres/source/parser/control.c line 3
- in /usr/ingres/source/parser/format.c line 4
- in /usr/ingres/source/parser/getscr.c line 2
- in /usr/ingres/source/parser/main.c line 3
- in /usr/ingres/source/parser/norml.c line 3
- in /usr/ingres/source/parser/rngfcn.c line 3
- in /usr/ingres/source/parser/tree.c line 3
- in /usr/ingres/source/parser/xdot.c line 4
- in /usr/ingres/source/qrymod/d_integ.c line 3
- in /usr/ingres/source/qrymod/d_view.c line 3
- in /usr/ingres/source/qrymod/define.c line 5
- in /usr/ingres/source/qrymod/fillprotup.c line 5
- in /usr/ingres/source/qrymod/issue.c line 5
- in /usr/ingres/source/qrymod/main.c line 3
- in /usr/ingres/source/qrymod/readtree.c line 5
- in /usr/ingres/source/qrymod/util.c line 5
- in /usr/ingres/source/qrymod/writetree.c line 3
- in /usr/ingres/source/support/creatdb.c line 6

Last modified: 1980-12-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1413 |