line |
true |
false |
branch |
20
|
0 |
0 |
if (!xdr_long (xdrs, objp)) |
30
|
0 |
0 |
if (!xdr_enum (xdrs, (enum_t *) objp)) |
40
|
0 |
0 |
if (!xdr_long (xdrs, objp)) |
50
|
0 |
0 |
if (!xdr_long (xdrs, objp)) |
60
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
71
|
0 |
0 |
if (xdrs->x_op == XDR_ENCODE) { |
73
|
0 |
0 |
if (buf == NULL) { |
74
|
0 |
0 |
if (!xdr_long (xdrs, &objp->clientId)) |
76
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->lockDevice)) |
78
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
86
|
0 |
0 |
if (!xdr_string (xdrs, &objp->device, ~0)) |
89
|
0 |
0 |
} else if (xdrs->x_op == XDR_DECODE) { |
91
|
0 |
0 |
if (buf == NULL) { |
92
|
0 |
0 |
if (!xdr_long (xdrs, &objp->clientId)) |
94
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->lockDevice)) |
96
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
104
|
0 |
0 |
if (!xdr_string (xdrs, &objp->device, ~0)) |
109
|
0 |
0 |
if (!xdr_long (xdrs, &objp->clientId)) |
111
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->lockDevice)) |
113
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
115
|
0 |
0 |
if (!xdr_string (xdrs, &objp->device, ~0)) |
125
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
127
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
129
|
0 |
0 |
if (!xdr_u_short (xdrs, &objp->abortPort)) |
131
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->maxRecvSize)) |
141
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
143
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
145
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
147
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
149
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0)) |
159
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
161
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->size)) |
172
|
0 |
0 |
if (xdrs->x_op == XDR_ENCODE) { |
173
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
176
|
0 |
0 |
if (buf == NULL) { |
177
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->requestSize)) |
179
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
181
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
189
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
191
|
0 |
0 |
if (!xdr_char (xdrs, &objp->termChar)) |
194
|
0 |
0 |
} else if (xdrs->x_op == XDR_DECODE) { |
195
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
198
|
0 |
0 |
if (buf == NULL) { |
199
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->requestSize)) |
201
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
203
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
211
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
213
|
0 |
0 |
if (!xdr_char (xdrs, &objp->termChar)) |
218
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
220
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->requestSize)) |
222
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
224
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
226
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
228
|
0 |
0 |
if (!xdr_char (xdrs, &objp->termChar)) |
238
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
240
|
0 |
0 |
if (!xdr_long (xdrs, &objp->reason)) |
242
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0)) |
252
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
254
|
0 |
0 |
if (!xdr_u_char (xdrs, &objp->stb)) |
264
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
266
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
268
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
270
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
281
|
0 |
0 |
if (xdrs->x_op == XDR_ENCODE) { |
283
|
0 |
0 |
if (buf == NULL) { |
284
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->hostAddr)) |
286
|
0 |
0 |
if (!xdr_u_short (xdrs, &objp->hostPort)) |
288
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progNum)) |
290
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progVers)) |
299
|
0 |
0 |
if (!xdr_Device_AddrFamily (xdrs, &objp->progFamily)) |
302
|
0 |
0 |
} else if (xdrs->x_op == XDR_DECODE) { |
304
|
0 |
0 |
if (buf == NULL) { |
305
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->hostAddr)) |
307
|
0 |
0 |
if (!xdr_u_short (xdrs, &objp->hostPort)) |
309
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progNum)) |
311
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progVers)) |
320
|
0 |
0 |
if (!xdr_Device_AddrFamily (xdrs, &objp->progFamily)) |
325
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->hostAddr)) |
327
|
0 |
0 |
if (!xdr_u_short (xdrs, &objp->hostPort)) |
329
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progNum)) |
331
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->progVers)) |
333
|
0 |
0 |
if (!xdr_Device_AddrFamily (xdrs, &objp->progFamily)) |
343
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
345
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->enable)) |
347
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->handle.handle_val, (u_int *) &objp->handle.handle_len, 40)) |
357
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
359
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
361
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
372
|
0 |
0 |
if (xdrs->x_op == XDR_ENCODE) { |
373
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
375
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
378
|
0 |
0 |
if (buf == NULL) { |
379
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
381
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
383
|
0 |
0 |
if (!xdr_long (xdrs, &objp->cmd)) |
385
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->network_order)) |
387
|
0 |
0 |
if (!xdr_long (xdrs, &objp->datasize)) |
397
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data_in.data_in_val, (u_int *) &objp->data_in.data_in_len, ~0)) |
400
|
0 |
0 |
} else if (xdrs->x_op == XDR_DECODE) { |
401
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
403
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
406
|
0 |
0 |
if (buf == NULL) { |
407
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
409
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
411
|
0 |
0 |
if (!xdr_long (xdrs, &objp->cmd)) |
413
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->network_order)) |
415
|
0 |
0 |
if (!xdr_long (xdrs, &objp->datasize)) |
425
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data_in.data_in_val, (u_int *) &objp->data_in.data_in_len, ~0)) |
430
|
0 |
0 |
if (!xdr_Device_Link (xdrs, &objp->lid)) |
432
|
0 |
0 |
if (!xdr_Device_Flags (xdrs, &objp->flags)) |
434
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->io_timeout)) |
436
|
0 |
0 |
if (!xdr_u_long (xdrs, &objp->lock_timeout)) |
438
|
0 |
0 |
if (!xdr_long (xdrs, &objp->cmd)) |
440
|
0 |
0 |
if (!xdr_bool (xdrs, &objp->network_order)) |
442
|
0 |
0 |
if (!xdr_long (xdrs, &objp->datasize)) |
444
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data_in.data_in_val, (u_int *) &objp->data_in.data_in_len, ~0)) |
454
|
0 |
0 |
if (!xdr_Device_ErrorCode (xdrs, &objp->error)) |
456
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->data_out.data_out_val, (u_int *) &objp->data_out.data_out_len, ~0)) |
466
|
0 |
0 |
if (!xdr_bytes (xdrs, (char **)&objp->handle.handle_val, (u_int *) &objp->handle.handle_len, ~0)) |