| /f-stack/freebsd/vm/ |
| H A D | vm_unix.c | 94 vm_offset_t new, old, base; in kern_break() local 103 new = round_page(*addr); in kern_break() 108 if (new > base) { in kern_break() 113 if (new - base > datalim && new > old) { in kern_break() 117 if (new > vm_map_max(map)) { in kern_break() 121 } else if (new < base) { in kern_break() 129 new = old; in kern_break() 133 if (new > old) { in kern_break() 166 (new - old)); in kern_break() 213 } else if (new < old) { in kern_break() [all …]
|
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_hd.c | 184 uint32_t new; in hd_pmax_handler() local 186 new = V_hd_pmax; in hd_pmax_handler() 189 if (new == 0 || new > 100) in hd_pmax_handler() 192 V_hd_pmax = new; in hd_pmax_handler() 202 uint32_t new; in hd_qmin_handler() local 204 new = V_hd_qmin; in hd_qmin_handler() 210 V_hd_qmin = new; in hd_qmin_handler() 220 uint32_t new; in hd_qthresh_handler() local 222 new = V_hd_qthresh; in hd_qthresh_handler() 225 if (new == 0 || new < V_hd_qmin) in hd_qthresh_handler() [all …]
|
| H A D | cc_vegas.c | 256 uint32_t new; in vegas_alpha_handler() local 258 new = V_vegas_alpha; in vegas_alpha_handler() 259 error = sysctl_handle_int(oidp, &new, 0, req); in vegas_alpha_handler() 261 if (new == 0 || new > V_vegas_beta) in vegas_alpha_handler() 264 V_vegas_alpha = new; in vegas_alpha_handler() 274 uint32_t new; in vegas_beta_handler() local 276 new = V_vegas_beta; in vegas_beta_handler() 277 error = sysctl_handle_int(oidp, &new, 0, req); in vegas_beta_handler() 279 if (new == 0 || new < V_vegas_alpha) in vegas_beta_handler() 282 V_vegas_beta = new; in vegas_beta_handler()
|
| H A D | cc_chd.c | 417 uint32_t new; in chd_loss_fair_handler() local 419 new = V_chd_loss_fair; in chd_loss_fair_handler() 422 if (new > 1) in chd_loss_fair_handler() 435 uint32_t new; in chd_pmax_handler() local 437 new = V_chd_pmax; in chd_pmax_handler() 440 if (new == 0 || new > 100) in chd_pmax_handler() 443 V_chd_pmax = new; in chd_pmax_handler() 453 uint32_t new; in chd_qthresh_handler() local 455 new = V_chd_qthresh; in chd_qthresh_handler() 458 if (new <= V_chd_qmin) in chd_qthresh_handler() [all …]
|
| H A D | cc_dctcp.c | 399 uint32_t new; in dctcp_alpha_handler() local 402 new = V_dctcp_alpha; in dctcp_alpha_handler() 408 V_dctcp_alpha = new; in dctcp_alpha_handler() 417 uint32_t new; in dctcp_shift_g_handler() local 420 new = V_dctcp_shift_g; in dctcp_shift_g_handler() 423 if (new > DCTCP_SHIFT) in dctcp_shift_g_handler() 426 V_dctcp_shift_g = new; in dctcp_shift_g_handler() 435 uint32_t new; in dctcp_slowstart_handler() local 438 new = V_dctcp_slowstart; in dctcp_slowstart_handler() 441 if (new > 1) in dctcp_slowstart_handler() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zfs_rlock.c | 187 avl_add(tree, new); in zfs_rangelock_enter_writer() 200 lr->lr_offset < new->lr_offset + new->lr_length) in zfs_rangelock_enter_writer() 490 new->lr_rangelock = rl; in zfs_rangelock_enter_impl() 491 new->lr_offset = off; in zfs_rangelock_enter_impl() 494 new->lr_length = len; in zfs_rangelock_enter_impl() 496 new->lr_type = type; in zfs_rangelock_enter_impl() 509 kmem_free(new, sizeof (*new)); in zfs_rangelock_enter_impl() 510 new = NULL; in zfs_rangelock_enter_impl() 513 kmem_free(new, sizeof (*new)); in zfs_rangelock_enter_impl() 514 new = NULL; in zfs_rangelock_enter_impl() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
| H A D | zfs_rename_013_pos.ksh | 49 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then 50 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new 57 if datasetexists $TESTPOOL@snap-new ; then 58 log_must zfs destroy -f $TESTPOOL@snap-new 72 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new 73 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 76 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new 77 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 78 log_must datasetexists $TESTPOOL@snap-new 80 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new [all …]
|
| H A D | zfs_rename_007_pos.ksh | 96 log_must zfs rename $fs ${fs}-new 101 obj=$(target_obj ${fs}-new) 103 obj=$(target_obj ${fsclone}-new) 108 log_must zfs rename ${fs}-new $fs 109 log_must zfs rename $snap ${snap}-new 110 log_must zfs clone ${snap}-new $fsclone 131 log_must zfs rename $vol ${vol}-new 136 obj=$(target_obj ${vol}-new) 139 obj=$(target_obj ${volclone}-new) 144 log_must zfs rename ${vol}-new $vol [all …]
|
| H A D | zfs_rename_006_pos.ksh | 65 rename_dataset $vol@$snap $vol@${snap}-new 66 rename_dataset $vol ${vol}-new 67 rename_dataset ${vol}-new@${snap}-new ${vol}-new@$snap 68 rename_dataset ${vol}-new $vol
|
| H A D | zfs_rename_008_pos.ksh | 53 if datasetexists ${datasets[$i]}@snap-new ; then 54 log_must zfs destroy ${datasets[$i]}@snap-new 78 log_must zfs rename -r ${TESTPOOL}@snap ${TESTPOOL}@snap-new 81 log_must datasetexists ${datasets[$i]}@snap-new 86 log_must zfs destroy -rf ${TESTPOOL}@snap-new
|
| /f-stack/app/redis-5.0.5/deps/lua/ |
| H A D | HISTORY | 6 + new module system. 8 + new semantics for setn/getn. 10 + new long strings and comments. 11 + new `mod' operator (`%') 12 + new length operator #t 37 + new __newindex metamethod, called when we insert a new key into a table. 39 + new generic for. 40 + new weak tables. 41 + new boolean type. 58 + new license: MIT. [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | sysv_ipc.c | 162 new->cuid = old->cuid; in ipcperm_old2new() 163 new->cgid = old->cgid; in ipcperm_old2new() 164 new->uid = old->uid; in ipcperm_old2new() 165 new->gid = old->gid; in ipcperm_old2new() 166 new->mode = old->mode; in ipcperm_old2new() 167 new->seq = old->seq; in ipcperm_old2new() 168 new->key = old->key; in ipcperm_old2new() 178 old->uid = new->uid; in ipcperm_new2old() 179 old->gid = new->gid; in ipcperm_new2old() 181 old->seq = new->seq; in ipcperm_new2old() [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_id.c | 158 int error, new; in sysctl_ip_randomid() local 160 new = V_ip_do_randomid; in sysctl_ip_randomid() 161 error = sysctl_handle_int(oidp, &new, 0, req); in sysctl_ip_randomid() 164 if (new != 0 && new != 1) in sysctl_ip_randomid() 166 if (new == V_ip_do_randomid) in sysctl_ip_randomid() 168 if (new == 1 && V_ip_do_randomid == 0) in sysctl_ip_randomid() 171 V_ip_do_randomid = new; in sysctl_ip_randomid() 178 int error, new; in sysctl_ip_id_change() local 180 new = V_array_size; in sysctl_ip_id_change() 183 if (new >= 512 && new <= 32768) in sysctl_ip_id_change() [all …]
|
| H A D | tcp_fastopen.c | 667 unsigned int new; in sysctl_net_inet_tcp_fastopen_autokey() local 669 new = V_tcp_fastopen_autokey; in sysctl_net_inet_tcp_fastopen_autokey() 672 if (new > (INT_MAX / hz)) in sysctl_net_inet_tcp_fastopen_autokey() 679 else if (new) in sysctl_net_inet_tcp_fastopen_autokey() 684 V_tcp_fastopen_autokey = new; in sysctl_net_inet_tcp_fastopen_autokey() 695 unsigned int new; in sysctl_net_inet_tcp_fastopen_psk_enable() local 697 new = V_tcp_fastopen_psk_enable; in sysctl_net_inet_tcp_fastopen_psk_enable() 722 unsigned int new; in sysctl_net_inet_tcp_fastopen_server_enable() local 808 unsigned int new; in sysctl_net_inet_tcp_fastopen_ccache_bucket_limit() local 814 if ((new == 0) || (new > INT_MAX)) in sysctl_net_inet_tcp_fastopen_ccache_bucket_limit() [all …]
|
| /f-stack/dpdk/kernel/linux/igb_uio/ |
| H A D | compat.h | 76 uint16_t orig, new; in pci_intx_mask_supported() local 82 pci_read_config_word(pdev, PCI_COMMAND, &new); in pci_intx_mask_supported() 84 if ((new ^ orig) & ~PCI_COMMAND_INTX_DISABLE) { in pci_intx_mask_supported() 86 "0x%x to 0x%x: driver or hardware bug?\n", orig, new); in pci_intx_mask_supported() 87 } else if ((new ^ orig) & PCI_COMMAND_INTX_DISABLE) { in pci_intx_mask_supported() 107 uint16_t old, new; in pci_check_and_mask_intx() local 111 new = old & (~PCI_COMMAND_INTX_DISABLE); in pci_check_and_mask_intx() 113 new = old | PCI_COMMAND_INTX_DISABLE; in pci_check_and_mask_intx() 115 if (old != new) in pci_check_and_mask_intx() 116 pci_write_config_word(pdev, PCI_COMMAND, new); in pci_check_and_mask_intx()
|
| /f-stack/tools/compat/ |
| H A D | linkaddr.c | 59 int byte = 0, state = NAMING, new; in link_addr() local 66 new = *addr - '0'; in link_addr() 68 new = *addr - 'a' + 10; in link_addr() 70 new = *addr - 'A' + 10; in link_addr() 94 byte = new; in link_addr() 98 byte = new + (byte << 4); in link_addr() 115 new = cp - (char *)sdl; in link_addr() 116 if (new > sizeof(*sdl)) in link_addr() 117 sdl->sdl_len = new; in link_addr()
|
| H A D | sysctl.c | 35 size_t *oldlenp, const void *new, size_t newlen) in sysctl() argument 80 if (new != NULL && newlen != 0) { in sysctl() 81 msg->sysctl.new = buf_addr; in sysctl() 83 memcpy(msg->sysctl.new, new, newlen); in sysctl() 87 msg->sysctl.new = NULL; in sysctl()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_array.c | 50 void *elt, *new; in ngx_array_push() local 76 new = ngx_palloc(p, 2 * size); in ngx_array_push() 77 if (new == NULL) { in ngx_array_push() 81 ngx_memcpy(new, a->elts, size); in ngx_array_push() 82 a->elts = new; in ngx_array_push() 97 void *elt, *new; in ngx_array_push_n() local 126 new = ngx_palloc(p, nalloc * a->size); in ngx_array_push_n() 127 if (new == NULL) { in ngx_array_push_n() 131 ngx_memcpy(new, a->elts, a->nelts * a->size); in ngx_array_push_n() 132 a->elts = new; in ngx_array_push_n()
|
| /f-stack/freebsd/i386/include/xen/ |
| H A D | synch_bitops.h | 64 #define synch_cmpxchg(ptr, old, new) \ argument 67 (unsigned long)(new), \ 72 unsigned long new, int size) in __synch_cmpxchg() argument 79 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 86 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 94 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 101 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 109 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg()
|
| /f-stack/freebsd/netinet6/ |
| H A D | nd6_rtr.c | 639 new = malloc(sizeof(*new), M_IP6NDP, M_NOWAIT | M_ZERO); in pfxrtr_add() 640 if (new == NULL) in pfxrtr_add() 1067 defrouter_remove(&new->rtaddr, new->ifp); in defrtrlist_update() 1074 dr = defrouter_lookup_locked(&new->rtaddr, new->ifp); in defrtrlist_update() 1362 new = malloc(sizeof(*new), M_IP6NDP, M_NOWAIT | M_ZERO); in nd6_prelist_add() 1380 in6_prefixlen2mask(&new->ndpr_mask, new->ndpr_plen); in nd6_prelist_add() 1382 IN6_MASK_ADDR(&new->ndpr_prefix.sin6_addr, &new->ndpr_mask); in nd6_prelist_add() 1409 *newp = new; in nd6_prelist_add() 1544 if (new->ndpr_raf_onlink == 0 && new->ndpr_raf_auto == 0) in prelist_update() 1552 new->ndpr_plen, if_name(new->ndpr_ifp), error)); in prelist_update() [all …]
|
| /f-stack/freebsd/amd64/include/xen/ |
| H A D | synch_bitops.h | 65 #define synch_cmpxchg(ptr, old, new) \ argument 68 (unsigned long)(new), \ 73 unsigned long new, int size) in __synch_cmpxchg() argument 80 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 87 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 94 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg() 101 : "q"(new), "m"(*__synch_xg(ptr)), in __synch_cmpxchg()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
| H A D | xattr_013_pos.ksh | 74 log_must touch $TESTDIR/new.$$ 83 log_must touch $TESTDIR/new.$$ 84 log_mustnot set_xattr_stdin passwd $TESTDIR/new.$$ </etc/passwd 85 log_mustnot rm_xattr passwd $TESTDIR/new.$$ 100 log_mustnot get_xattr passwd $TESTDIR/new.$$ 102 create_xattr $TESTDIR/new.$$ passwd /etc/passwd
|
| /f-stack/freebsd/security/mac_portacl/ |
| H A D | mac_portacl.c | 178 struct rule *new; in parse_rule_element() local 182 new = malloc(sizeof(*new), M_PORTACL, M_ZERO | M_WAITOK); in parse_rule_element() 194 new->r_id = strtol(id, &p, 10); in parse_rule_element() 200 new->r_idtype = RULE_UID; in parse_rule_element() 202 new->r_idtype = RULE_GID; in parse_rule_element() 213 new->r_protocol = RULE_PROTO_TCP; in parse_rule_element() 215 new->r_protocol = RULE_PROTO_UDP; in parse_rule_element() 225 new->r_port = strtol(portnumber, &p, 10); in parse_rule_element() 233 free(new, M_PORTACL); in parse_rule_element() 236 *rule = new; in parse_rule_element() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | zpool_import_rename_001_pos.ksh | 69 [[ -d /${pools[i]}-new ]] && \ 70 log_must rm -rf /${pools[i]}-new 130 $target ${pools[i]}-new 134 log_must ismounted ${pools[i]}-new/$TESTFS 149 [[ -d /${pools[i]}-new ]] && \ 150 log_must rm -rf /${pools[i]}-new 152 target=${pools[i]}-new
|
| /f-stack/freebsd/contrib/zstd/ |
| H A D | FREEBSD-upgrade | 5 To import new vendor sources, prune unwanted files with: 9 When importing a new version, be sure to check if there are any new bits that 12 Please find instructions for importing new releases and merging to HEAD here:
|