Home
last modified time | relevance | path

Searched refs:newbits (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.sbin/lpr/common_source/
H A Dcommon.c329 mode_t chgbits, newbits, oldmask; in set_qstate() local
352 newbits = LOCK_FILE_MODE; in set_qstate()
357 newbits |= LFM_RESET_QUE; in set_qstate()
364 newbits |= LFM_QUEUE_DIS; in set_qstate()
370 newbits |= LFM_PRINT_DIS; in set_qstate()
380 newbits &= ~LFM_QUEUE_DIS; in set_qstate()
386 newbits &= ~LFM_PRINT_DIS; in set_qstate()
407 } else if (newbits == LOCK_FILE_MODE) { in set_qstate()
423 fd = open(lfname, O_WRONLY|O_CREAT, newbits); in set_qstate()
/freebsd/sys/vm/
H A Dvm_page.c5375 vm_page_bits_swap(vm_page_t m, vm_page_bits_t *bits, vm_page_bits_t newbits) in vm_page_bits_swap() argument
5381 while (atomic_fcmpset_64(bits, &old, newbits) == 0); in vm_page_bits_swap()
5387 while (atomic_fcmpset_32(bits, &old, newbits) == 0); in vm_page_bits_swap()
5393 while (atomic_fcmpset_16(bits, &old, newbits) == 0); in vm_page_bits_swap()
5399 while (atomic_fcmpset_8(bits, &old, newbits) == 0); in vm_page_bits_swap()
5424 new |= newbits << shift; in vm_page_bits_swap()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_mod.c455 int error, *newbits, tmp; in pmc_debugflags_parse() local
475 newbits = NULL; in pmc_debugflags_parse()
480 newbits = &tmpflags->pdb_ ## F; in pmc_debugflags_parse()
493 if (newbits == NULL) { in pmc_debugflags_parse()
510 *newbits = tmp; in pmc_debugflags_parse()
563 *newbits = tmp; in pmc_debugflags_parse()