Lines Matching defs:offset
1174 * (DID_ERROR << 16). Can write to offset in data-in buffer. If multiple
1175 * calls, not required to write in ascending offset order. Assumes resid
1994 int k, offset, len, errsts, count, bump, na;
2030 for (offset = 4, oip = opcode_info_arr;
2031 oip->num_attached != 0xff && offset < a_len; ++oip) {
2035 arr[offset] = oip->opcode;
2036 put_unaligned_be16(oip->sa, arr + offset + 2);
2038 arr[offset + 5] |= 0x2;
2040 arr[offset + 5] |= 0x1;
2041 put_unaligned_be16(oip->len_mask[0], arr + offset + 6);
2043 put_unaligned_be16(0xa, arr + offset + 8);
2048 offset += bump;
2049 arr[offset] = oip->opcode;
2050 put_unaligned_be16(oip->sa, arr + offset + 2);
2052 arr[offset + 5] |= 0x2;
2054 arr[offset + 5] |= 0x1;
2056 arr + offset + 6);
2059 arr + offset + 8);
2062 offset += bump;
2072 offset = 4;
2116 offset = 4 + u;
2118 offset = 4;
2122 put_unaligned_be16(0xa, arr + offset);
2123 offset += 12;
2131 offset = (offset < a_len) ? offset : a_len;
2132 len = (offset < alloc_len) ? offset : alloc_len;
2332 u32 alloc_len, offset, len;
2370 offset = 4;
2376 offset = 8;
2378 ap = arr + offset;
2388 offset += bd_len;
2389 ap = arr + offset;
2393 offset += bd_len;
2394 ap = arr + offset;
2407 offset += len;
2411 offset += len;
2416 offset += len;
2423 offset += len;
2429 offset += len;
2444 offset += len;
2448 offset += len;
2471 offset += len;
2486 arr[0] = offset - 1;
2488 put_unaligned_be16((offset - 2), arr + 0);
2489 return fill_from_dev_buffer(scp, arr, min_t(u32, alloc_len, offset));