Home
last modified time | relevance | path

Searched refs:k_data (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/ekermit/dist/
H A Dkermit.h310 struct k_data { /* The Kermit data structure */ struct
378 int (*rxd)(struct k_data *, UCHAR *, int); /* Comms read function */ argument
379 int (*txd)(struct k_data *, UCHAR *, int); /* and comms write function */ argument
380 int (*ixd)(struct k_data *); /* and comms info function */ argument
381 int (*openf)(struct k_data *,UCHAR *,int); /* open-file function */ argument
382 ULONG (*finfo)(struct k_data *,UCHAR *,UCHAR *,int,short *,short); argument
383 int (*readf)(struct k_data *); /* read-file function */ argument
384 int (*writef)(struct k_data *,UCHAR *, int); /* write-file function */ argument
385 int (*closef)(struct k_data *,UCHAR,int); /* close-file function */ argument
417 int kermit(short, struct k_data *, short, int, char *, struct k_response *);
[all …]
H A Dkermit.c60 STATIC ULONG stringnum(UCHAR *, struct k_data *);
61 STATIC UCHAR * numstring(ULONG, UCHAR *, int, struct k_data *);
62 int STATIC spkt(char, short, int, UCHAR *, struct k_data *);
63 int STATIC ack(struct k_data *, short, UCHAR * text);
64 int STATIC nak(struct k_data *, short, short);
65 int STATIC chk1(UCHAR *, struct k_data *);
66 STATIC USHORT chk2(UCHAR *, struct k_data *);
68 STATIC USHORT chk3(UCHAR *, struct k_data *);
70 void STATIC spar(struct k_data *, UCHAR *, int);
71 int STATIC rpar(struct k_data *, char);
[all …]
H A Dmain.c64 int readpkt(struct k_data *, UCHAR *, int); /* Communications i/o functions */
65 int tx_data(struct k_data *, UCHAR *, int);
66 int inchk(struct k_data *);
68 int openfile(struct k_data *, UCHAR *, int); /* File i/o functions */
69 int writefile(struct k_data *, UCHAR *, int);
70 int readfile(struct k_data *);
71 int closefile(struct k_data *, UCHAR, int);
72 ULONG fileinfo(struct k_data *, UCHAR *, UCHAR *, int, short *, short);
82 struct k_data k; /* Kermit data structure */
H A Dunixio.c196 inchk(struct k_data * k) { in inchk()
239 readpkt(struct k_data * k, UCHAR *p, int len, int fc) { in readpkt()
321 tx_data(struct k_data * k, UCHAR *p, int n) { in tx_data()
350 openfile(struct k_data * k, UCHAR * s, int mode) { in openfile()
415 fileinfo(struct k_data * k, in fileinfo()
495 readfile(struct k_data * k) { in readfile()
546 writefile(struct k_data * k, UCHAR * s, int n) { in writefile()
583 closefile(struct k_data * k, UCHAR c, int mode) { in closefile()
/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_image.c140 void *k_data, *i_data; in qxl_image_init_helper() local
155 k_data = chunk->data; in qxl_image_init_helper()
158 k_data = ptr; in qxl_image_init_helper()
163 memcpy(k_data, i_data, size); in qxl_image_init_helper()
184 k_data = ptr + page_offset; in qxl_image_init_helper()
185 memcpy(k_data, i_data, size); in qxl_image_init_helper()
/netbsd-src/usr.bin/pmap/
H A Dpmap.h94 #define D(x,d) (&((x)->k_data.d))
139 } k_data; member