Searched refs:current (Results 76 - 100 of 377) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/hyperv/vmbus/
H A Dvmbus_et.c100 uint64_t current; local
102 current = hyperv_tc64();
103 current += hyperv_sbintime2count(first);
104 wrmsr(MSR_HV_STIMER0_COUNT, current);
/freebsd-current/contrib/ncurses/form/
H A Dfrm_page.c47 | E_INVALID_FIELD - current field can't be left
63 form->current = _nc_First_Active_Field(form);
94 | Description : Return the current page of the form.
96 | Return Values : >= 0 : current page number
H A Dfrm_driver.c51 The current page of the form is left and some new page is
54 The current field of the form is left and some new field is
57 The current position in the current field is changed.
65 The content of the current field is changed
146 /* Calculate the start address of the row in the form's current field
149 Address_Of_Row_In_Nth_Buffer((form)->current,N,(form)->currow)
151 /* Calculate the start address of the row in the form's current field
156 /* Calculate the address of the cursor in the form's current field
161 /* Calculate the address of the cursor in the form's current fiel
[all...]
/freebsd-current/contrib/dialog/
H A Drangebox.c45 /* current value drawn */
46 int current; member in struct:__anon466
79 sprintf(buffer, "%*d", data->value_len, data->current);
86 data->current = (int) check;
100 if (value != data->current) {
141 data->current = value;
278 data.current = cur_value - 1;
403 cur_value = data.current;
404 data.current--;
H A Dchecklist.c53 * current item. That one is colored differently from the other items.
218 DLG_TRACE2N("current", *current_item);
364 /* ensure we are scrolled to show the current choice */
420 int current = scrollamt + choice; local
421 int next = items[current].state + 1;
428 items[current].state = next;
437 if (i != current) {
441 if (items[current].state) {
443 items[current].state = next ? next : 1;
445 &items[current],
631 int current = 0; local
[all...]
/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_set_option.c68 if (pamh == NULL || pamh->current == NULL || option == NULL)
70 cur = pamh->current;
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c93 linux_schedule_save_interrupt_value(current, ret);
193 wq->private = current;
225 set_task_state(current, state);
234 set_task_state(current, TASK_RUNNING);
269 task = current;
299 task = current;
371 task = current;
405 task = current;
/freebsd-current/sys/cam/
H A Dcam_iosched.c79 * where N is the number of samples that 86% of the current
246 * Information about the current rate limiters, if any
251 int current; /* Current rate limiter */ member in struct:iop_stats
283 set_max = 0, /* current = max */
431 if (ios->current <= 0 || ios->pending < ios->current)
441 if (ios->current <= 0 || ios->pending < ios->current)
451 if (ios->current <= 0 || ios->pending != ios->current)
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Def10_nvram.c44 uint32_t *current; /* Cursor position */ member in struct:tlv_cursor_s
81 dword = cursor->current[0];
96 dword = cursor->current[1];
109 return ((uint8_t *)(&cursor->current[2]));
119 return ((uint8_t *)cursor->current);
137 return (cursor->current + TLV_DWORD_COUNT(length));
149 if (cursor->current == cursor->end) {
151 cursor->current = NULL;
157 cursor->current = tlv_next_item_ptr(cursor);
180 cursor->current
257 tlv_init_cursor( __out tlv_cursor_t *cursor, __in uint32_t *block, __in uint32_t *limit, __in uint32_t *current) argument
294 uint32_t *current; local
[all...]
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarname-dot-curdir.mk4 # canonical path of the current working directory, when make started.
6 # In all normal situations, the current directory exists, and its name can
9 # It would be possible on some systems to remove the current directory, even
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c52 saved_umask = xchg(&current->fs->umask, 0);
57 (void) xchg(&current->fs->umask, saved_umask);
239 * offp - value to seek to, returns current value plus passed offset
320 current->flags &= ~(__SPL_PF_FSTRANS);
325 current->flags |= __SPL_PF_FSTRANS;
349 current->flags &= ~(__SPL_PF_FSTRANS);
360 current->flags |= __SPL_PF_FSTRANS;
366 * Request current file pointer offset
370 * Returns current file offset.
/freebsd-current/usr.sbin/bluetooth/btpand/
H A Devent.c67 static TAILQ_HEAD(, event) current;
102 TAILQ_INIT(&current);
148 * Process current pending
155 while (!TAILQ_EMPTY(&current)) {
156 ev = TAILQ_FIRST(&current);
257 TAILQ_INSERT_TAIL(&current, ev, next);
266 TAILQ_REMOVE(&current, ev, next);
/freebsd-current/usr.sbin/lpr/common_source/
H A Drmjob.c64 static char current[7+MAXHOSTNAMELEN]; /* active control file name */ variable
119 if (lockchk(pp, pp->lock_file) && chk(current)) {
169 for (i = 1; (n = fread(current, sizeof(char), sizeof(current), fp)) <= 0; i++) {
176 current[n-1] = '\0';
232 * Check for valid cf file name (mostly checking current).
257 return(!strcmp(file, current) && isowner(line+1, file, cfhost));
H A Ddisplayq.c73 static char current[MAXNAMLEN+1]; /* current file being printed */ variable
89 * Display the current state of the queue. Format = 1 if long format.
156 cp = current;
157 endp = cp + sizeof(current) - 1;
163 i = atoi(current);
174 /* read current file name */
175 cp = current;
176 endp = cp + sizeof(current) - 1;
361 current[
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c389 const U32 current = (U32)(ip-base); local
390 const U32 btLow = btMask >= current ? 0 : current - btMask;
391 U32* smallerPtr = bt + 2*(current&btMask);
395 U32 matchEndIdx = current+8+1;
399 U32 predictedSmall = *(bt + 2*((current-1)&btMask) + 0);
400 U32 predictedLarge = *(bt + 2*((current-1)&btMask) + 1);
405 DEBUGLOG(8, "ZSTD_insertBt1 (%u)", current);
408 hashTable[h] = current; /* Update Hash Table */
414 assert(matchIndex < current);
522 U32 const current = (U32)(ip-base); local
1146 U32 const current = (U32)((const BYTE*)src - ms->window.base); local
[all...]
H A Dzstd_double_fast.c34 U32 const current = (U32)(ip - base); local
40 hashSmall[smHash] = current + i;
42 hashLarge[lgHash] = current + i;
111 U32 const current = (U32)(ip - base); local
112 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog);
113 U32 const maxRep = current - windowLow;
132 U32 const current = (U32)(ip-base); local
137 const U32 repIndex = current + 1 - offset_1;
142 hashLong[h2] = hashSmall[h] = current; /* update hash tables */
180 offset = (U32)(current
404 const U32 current = (U32)(ip-base); local
[all...]
H A Dzstd_fast.c32 U32 const current = (U32)(ip - base); local
34 hashTable[hash0] = current;
41 hashTable[hash] = current + p;
75 { U32 const current = (U32)(ip0 - base); local
76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog);
77 U32 const maxRep = current - windowLow;
160 hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could be > iend-8 */
261 U32 const current = (U32)(ip-base); local
264 const U32 repIndex = current + 1 - offset_1;
268 hashTable[h] = current; /* updat
413 const U32 current = (U32)(ip-base); local
[all...]
/freebsd-current/sys/dev/virtio/balloon/
H A Dvirtio_balloon.c504 uint32_t current, desired; local
507 current = sc->vtballoon_current_npages;
528 if (current > desired)
530 if (current < desired && timeout == 0)
544 uint32_t current, desired; local
552 current = sc->vtballoon_current_npages;
555 if (desired != current) {
556 if (desired > current)
557 vtballoon_inflate(sc, desired - current);
559 vtballoon_deflate(sc, current
[all...]
/freebsd-current/crypto/heimdal/base/
H A Dheimbase.c387 struct heim_auto_release *current; member in struct:ar_tls
452 if (tls->current != ptr)
455 if (tls->current != tls->head)
456 tls->current = ar->parent;
501 ar->parent = tls->current;
502 tls->current = ar;
510 * Mark the current object as a
531 if (tls == NULL || (ar = tls->current) == NULL)
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c126 umem->pid = get_pid(task_pid(current));
159 down_write(&current->mm->mmap_sem);
161 locked = npages + current->mm->pinned_vm;
221 current->mm->pinned_vm = locked;
223 up_write(&current->mm->mmap_sem);
/freebsd-current/tests/sys/kern/
H A Dkern_descrip_test.c151 int maxfiles, oldmaxfiles, current; local
159 if (sysctlbyname("kern.openfiles", &current, &oldlen, NULL, 0) == -1)
180 openfiles(oldmaxfiles - current + EXPANDBY / 2);
/freebsd-current/crypto/openssl/crypto/asn1/
H A Dasn1_lib.c436 ASN1_UTF8STRING *current; local
446 current = sk_ASN1_UTF8STRING_value(text, i);
449 length += ASN1_STRING_length(current);
458 current = sk_ASN1_UTF8STRING_value(text, i);
459 length = ASN1_STRING_length(current);
464 strncpy(p, (const char *)ASN1_STRING_get0_data(current), length);
/freebsd-current/contrib/kyua/utils/process/
H A Dexecutor_pid_test.cpp95 pid_t begin, current, target; local
110 current = vfork();
111 if (current == 0) {
114 ATF_REQUIRE(current != -1);
115 if (current < begin) {
118 } while (!wrapped || current < target);
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drwlock.h56 rwp->rw_owner = current;
104 return (rw_owner(rwp) == current);
/freebsd-current/crypto/openssl/crypto/stack/
H A Dstack.c155 * Do not call it with |current| lower than 2, or it will infinitely loop.
157 static ossl_inline int compute_growth(int target, int current) argument
161 while (current < target) {
163 if (current >= max_nodes)
167 current = current < limit ? current + current / 2 : max_nodes;
169 return current;

Completed in 199 milliseconds

1234567891011>>