Searched refs:end_ptr (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_door_legacy.c54 ctx->end_ptr = ptr + size;
64 if (status == 0 && ctx->ptr != ctx->end_ptr)
77 ctx->end_ptr = ptr + size;
88 if (ctx->ptr < ctx->end_ptr) {
105 if (ctx->ptr + sizeof (DWORD) <= ctx->end_ptr) {
120 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) {
146 if (ctx->ptr + len <= ctx->end_ptr) {
174 if (ctx->ptr + sizeof (DWORD) <= ctx->end_ptr) {
187 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) {
217 if (ctx->ptr + len <= ctx->end_ptr) {
[all...]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c55 ctx->end_ptr = ptr + size;
65 if ((status == 0) && (ctx->ptr != ctx->end_ptr)) {
78 ctx->end_ptr = ptr + size;
89 if (ctx->ptr < ctx->end_ptr) {
105 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) {
131 if (ctx->ptr + len <= ctx->end_ptr) {
155 if (ctx->ptr + sizeof (int32_t) <= ctx->end_ptr) {
185 if (ctx->ptr + len <= ctx->end_ptr) {
205 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) {
226 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) {
[all...]
H A Dlibndmp.h337 char *end_ptr; member in struct:ndmp_door_ctx
/illumos-gate/usr/src/cmd/nice/
H A Dnice.c71 char *end_ptr; local
92 nicarg = strtol(nicarg_str, &end_ptr, 10);
93 if (*end_ptr) {
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c105 char *end_ptr; local
144 incr = strtol(optarg, &end_ptr, 10);
146 if (*end_ptr != '\0')
180 who = strtol(*argv, &end_ptr, 10);
183 if (who >= 0 && end_ptr != *argv &&
184 *end_ptr == '\0' && (which != PRIO_ZONE ||
259 char *end_ptr; local
268 prio = strtol(*argv, &end_ptr, 10);
269 if (*end_ptr != '\0') {
306 who = strtol(*argv, &end_ptr, 1
[all...]
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c200 static long int *end_ptr = &randtbl[sizeof(randtbl) / sizeof(randtbl[0])]; variable
284 end_ptr = &state[rand_deg];
338 /* Set end_ptr too. */
339 end_ptr = &state[rand_deg];
370 if (fptr >= end_ptr)
378 if (rptr >= end_ptr)
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c71 (u64)(ulong_t)queue->end_ptr,
84 (u64)(ulong_t)queue->end_ptr,
96 (u64)(ulong_t)queue->end_ptr,
102 queue->tail_ptr <= queue->end_ptr);
104 queue->head_ptr < queue->end_ptr);
165 if ((char *)queue->tail_ptr + real_size <= (char *)queue->end_ptr) {
176 (u64)(ulong_t)queue->end_ptr,
191 (u64)(ulong_t)queue->end_ptr,
217 queue->tail_ptr <= queue->end_ptr);
219 queue->head_ptr < queue->end_ptr);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c158 unsigned int *end_ptr; member in struct:_randomjunk
275 /* must set end_ptr before srandom */
276 rp->end_ptr = &rp->state[rp->rand_deg];
338 rp->end_ptr = &rp->state[ rp->rand_deg ]; /* set end_ptr too */
372 if (++rp->fptr >= rp->end_ptr) {
376 if (++rp->rptr >= rp->end_ptr) rp->rptr = rp->state;
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-queue.h97 * @end_ptr: Points to the end of the queue.
126 void *end_ptr; member in struct:xge_queue_t
/illumos-gate/usr/src/cmd/dtrace/demo/ip/
H A Dtcprst.d105 end_ptr[self->conn_id] = 0;
127 end_ptr[self->conn_id] = self->pcount;
161 self->i = (end_ptr[self->conn_id] + MAX_RECORDS - num[self->conn_id]
261 end_ptr[self->reset] = 0;
274 end_ptr[this->conn_id] = 0;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c407 char *end_ptr; local
448 end_ptr = it->name + strlen(it->name) -
450 if (',' != *(end_ptr - 1))
452 if (0 != strncmp(end_ptr, domain, strlen(domain)))
469 res[res_count] = am(myself, end_ptr - it->name + 1);
475 /* Copy from start to end_ptr */
477 end_ptr-it->name - 1);
975 char *end_ptr; local
1004 end_ptr = it->name + strlen(it->name) -
1006 if (',' != *(end_ptr
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_door.h145 char *end_ptr; member in struct:smb_dr_ctx
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c1376 char *start_ptr, *end_ptr, *ptr; local
1399 end_ptr = &itb->itb_mem[max_xfer_len - 1];
1418 end_ptr = &bufptr[max_xfer_len - 1];
1421 ptr = end_ptr;
1422 if (end_ptr + 1 <= &itb->itb_mem[itb->itb_offset]) {
1424 if (*(end_ptr + 1) == '=' || *(end_ptr + 1) == '\0') {
/illumos-gate/usr/src/uts/common/io/1394/
H A Dh1394.c889 uchar_t *end_ptr; local
1001 end_ptr = begin_ptr + cmd_length;
1003 if (end_ptr <= tmp_ptr) {
1007 req->cmd_u.b.data_block->b_wptr = end_ptr;
1107 uchar_t *end_ptr; local
1233 end_ptr = begin_ptr + cmd_length;
1235 if (end_ptr <= tmp_ptr) {

Completed in 87 milliseconds