Home
last modified time | relevance | path

Searched refs:num_ips (Results 1 – 25 of 68) sorted by relevance

123

/dports/net/samba412/samba-4.12.15/source4/torture/nbt/
H A Dwinsreplication.c859 num_ips--; in test_wrepl_mhomed_merged()
941 num_ips--; in test_wrepl_sgroup_merged()
946 num_ips--; in test_wrepl_sgroup_merged()
4158 .num_ips = 0, in test_conflict_different_owner()
4204 .num_ips = 0, in test_conflict_different_owner()
4214 .num_ips = 0, in test_conflict_different_owner()
4395 .num_ips = 0, in test_conflict_different_owner()
4441 .num_ips = 0, in test_conflict_different_owner()
4451 .num_ips = 0, in test_conflict_different_owner()
9655 num_ips = rec->defend.num_ips; in test_conflict_owned_active_vs_replica_handler_query()
[all …]
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/nbt/
H A Dwinsreplication.c840 num_ips--; in test_wrepl_mhomed_merged()
922 num_ips--; in test_wrepl_sgroup_merged()
927 num_ips--; in test_wrepl_sgroup_merged()
4098 .num_ips = 0, in test_conflict_different_owner()
4144 .num_ips = 0, in test_conflict_different_owner()
4154 .num_ips = 0, in test_conflict_different_owner()
4335 .num_ips = 0, in test_conflict_different_owner()
4381 .num_ips = 0, in test_conflict_different_owner()
4391 .num_ips = 0, in test_conflict_different_owner()
9490 num_ips = rec->defend.num_ips; in test_conflict_owned_active_vs_replica_handler_query()
[all …]
/dports/net/samba412/samba-4.12.15/source3/nmbd/
H A Dnmbd_namelistdb.c197 int num_ips,
204 if (num_ips == 0) {
242 namerec->data.num_ips = num_ips;
334 if( ind != namerec->data.num_ips ) {
340 namerec->data.num_ips--;
389 namerec->data.num_ips += 1;
447 if( namerec->data.num_ips == 0 ) {
506 int num_ips = 1;
516 num_ips = iface_count();
524 i < num_ips;
[all …]
H A Dnmbd_winsproxy.c38 int num_ips; in wins_proxy_name_query_request_success() local
52 num_ips = rrec->rdlength / 6; in wins_proxy_name_query_request_success()
55 num_ips = 0; in wins_proxy_name_query_request_success()
58 if(num_ips == 0) { in wins_proxy_name_query_request_success()
64 if(num_ips == 1) { in wins_proxy_name_query_request_success()
67 if((iplist = SMB_MALLOC_ARRAY( struct in_addr, num_ips )) == NULL) { in wins_proxy_name_query_request_success()
72 for(i = 0; i < num_ips; i++) { in wins_proxy_name_query_request_success()
86 WINS_PROXY_NAME, num_ips, iplist ); in wins_proxy_name_query_request_success()
110 for( i = 0; i < namerec->data.num_ips; i++) { in wins_proxy_name_query_request_success()
H A Dnmbd_winsserver.c90 uint32_t num_ips; in wins_record_to_name_record() local
152 namerec->data.num_ips = num_ips; in wins_record_to_name_record()
703 num_ips = 0; in initialise_wins()
709 num_ips++; in initialise_wins()
714 if(num_ips == 0) { in initialise_wins()
1898 int num_ips; in process_wins_dmb_query_request() local
1906 num_ips = 0; in process_wins_dmb_query_request()
1917 num_ips += namerec->data.num_ips; in process_wins_dmb_query_request()
1921 if(num_ips == 0) { in process_wins_dmb_query_request()
1940 num_ips = 0; in process_wins_dmb_query_request()
[all …]
H A Dnmbd_namerelease.c151 for (i = 0; i < namerec->data.num_ips; i++) {
154 bool last_one = ((i==namerec->data.num_ips - 1) && !wins_tags[t+1]);
207 for (i = 0; i < namerec->data.num_ips; i++) { in wins_registration_timeout()
211 (i == (namerec->data.num_ips - 1)) ? success_fn : NULL, in wins_registration_timeout()
212 (i == (namerec->data.num_ips - 1)) ? fail_fn : NULL, in wins_registration_timeout()
213 (i == (namerec->data.num_ips - 1)) ? userdata : NULL, in wins_registration_timeout()
H A Dnmbd_namequery.c223 rrec.rdlength = namerec->data.num_ips * 6; in add_name_to_subnet()
227 dbgtext( "there are %d ip addresses ", namerec->data.num_ips ); in add_name_to_subnet()
233 for( i = 0; i < namerec->data.num_ips; i++) { in add_name_to_subnet()
H A Dnmbd_incomingrequests.c505 for( i = 0; i < namerec->data.num_ips; i++) {
521 if (namerec->data.num_ips == 1) {
524 if ((prdata = (char *)SMB_MALLOC( namerec->data.num_ips * 6 )) == NULL) {
530 for (i = 0; i < namerec->data.num_ips; i++) {
537 reply_data_len = namerec->data.num_ips * 6;
H A Dnmbd_nameregister.c426 int num_ips=0;
434 num_ips++;
436 if((ip_list = SMB_MALLOC_ARRAY(struct in_addr, num_ips))==NULL) {
450 num_ips, ip_list);
/dports/net/samba412/samba-4.12.15/ctdb/server/
H A Dipalloc_nondeterministic.c38 int num_ips) in basic_failback() argument
110 (retries < (num_ips + 5))){ in basic_failback()
130 int num_ips = 0; in ipalloc_nondeterministic() local
132 num_ips++; in ipalloc_nondeterministic()
147 basic_failback(ipalloc_state, num_ips); in ipalloc_nondeterministic()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c257 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
279 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
289 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
291 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()
338 uint16_t num_ips; in amdgpu_discovery_get_ip_version() local
354 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_get_ip_version()
357 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_get_ip_version()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c257 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
279 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
289 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
291 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()
338 uint16_t num_ips; in amdgpu_discovery_get_ip_version() local
354 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_get_ip_version()
357 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_get_ip_version()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c257 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
279 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
289 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
291 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()
338 uint16_t num_ips; in amdgpu_discovery_get_ip_version() local
354 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_get_ip_version()
357 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_get_ip_version()
/dports/www/uwebsockets/uWebSockets-20.8.0/benchmarks/
H A Dscale_test.c26 int num_ips; variable
234 num_ips = argc - 5; in main()
236 for (int i = 0; i < num_ips; i++) { in main()
242 num_ips = 1; in main()
246 if (num_ips <= connections / CONNECTIONS_PER_ADDRESS) { in main()
/dports/net/p5-Net-TCLink/Net_TCLink.pm-3.4/
H A Dtclink.c77 int num_ips; member
515 for (c->num_ips = 0; he->h_addr_list[c->num_ips]; c->num_ips++) in Connect()
518 c->ip = (int *)malloc(c->num_ips * sizeof(int)); in Connect()
522 for (i = 0; i < c->num_ips; i++) in Connect()
525 for (j = 1; j < c->num_ips; j++) in Connect()
572 host = host_hash % c->num_ips; in Connect()
578 if (host >= c->num_ips) host = 0; in Connect()
712 c->num_ips = 0; in TCLinkCreate()
/dports/www/phpbb3/phpBB3/includes/mcp/
H A Dmcp_post.php454 $num_ips = false;
457 $num_ips = phpbb_get_num_ips_for_poster($db, $post_info['poster_id']);
458 $start_ips = $pagination->validate_start($start_ips, $config['posts_per_page'], $num_ips);
488 if ($num_ips === false)
490 $num_ips = phpbb_get_num_ips_for_poster($db, $post_info['poster_id']);
497 $num_ips,
552 $num_ips = (int) $db->sql_fetchfield('num_ips');
555 return $num_ips;
/dports/ftp/puf/puf-1.0.0/src/
H A Dhttp_conn.c44 if (!hi->num_ips) { in get_ip()
48 for (i = j = hi->num_ips; i; i--) { in get_ip()
49 if (++hi->cur_ip >= hi->num_ips) in get_ip()
61 if (++hi->cur_ip >= hi->num_ips) in get_ip()
69 hi->num_ips = 0; in get_ip()
151 !prox->host->info->num_ips) /* host dead (connects failed) */ in activate_url()
/dports/net/samba412/samba-4.12.15/source4/wrepl_server/
H A Dwrepl_in_call.c154 uint32_t num_ips, i; in wreplsrv_record2wins_name() local
171 num_ips = winsdb_addr_list_length(rec->addresses); in wreplsrv_record2wins_name()
172 ips = talloc_array(mem_ctx, struct wrepl_ip, num_ips); in wreplsrv_record2wins_name()
175 for (i = 0; i < num_ips; i++) { in wreplsrv_record2wins_name()
182 name->addresses.addresses.num_ips = num_ips; in wreplsrv_record2wins_name()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/wrepl_server/
H A Dwrepl_in_call.c152 uint32_t num_ips, i; in wreplsrv_record2wins_name() local
169 num_ips = winsdb_addr_list_length(rec->addresses); in wreplsrv_record2wins_name()
170 ips = talloc_array(mem_ctx, struct wrepl_ip, num_ips); in wreplsrv_record2wins_name()
173 for (i = 0; i < num_ips; i++) { in wreplsrv_record2wins_name()
180 name->addresses.addresses.num_ips = num_ips; in wreplsrv_record2wins_name()
/dports/net/samba412/samba-4.12.15/selftest/target/
H A DSamba.pm539 my ($hostname, $num_ips) = @_;
544 if (! defined($num_ips)) {
545 $num_ips = 1;
547 for (my $i = 0; $i < $num_ips; $i++) {
/dports/sysutils/azure-agent/WALinuxAgent-2.2.54.2/azurelinuxagent/common/
H A Drdma.py325 num_ips = len(values) - 1
330 if num != num_ips:
331 … logger.error("RDMA: multiple IPs reported num={0} actual number of IPs={1}".format(num, num_ips))
337 for i in range(1, num_ips+1):
/dports/net/samba412/samba-4.12.15/libcli/dns/
H A Ddns.h47 size_t num_ips; member
/dports/net/samba412/samba-4.12.15/source4/librpc/idl/
H A Dwinsrepl.idl28 uint32 num_ips;
29 wrepl_ip ips[num_ips];
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/librpc/idl/
H A Dwinsrepl.idl24 uint32 num_ips;
25 wrepl_ip ips[num_ips];
/dports/net/samba412/samba-4.12.15/lib/addns/
H A Ddnsquery.c161 srv->num_ips+1); in ads_dns_lookup_srv_done()
168 srv->ss_s[srv->num_ips] = addr; in ads_dns_lookup_srv_done()
169 srv->num_ips += 1; in ads_dns_lookup_srv_done()

123