Searched refs:expiry (Results 1 – 5 of 5) sorted by relevance
/fs/smb/client/ |
D | dns_resolve.c | 34 dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip() argument 69 NULL, ip_addr, expiry, false); in dns_resolve_server_name_to_ip() 76 expiry ? (*expiry) : 0); in dns_resolve_server_name_to_ip()
|
D | dns_resolve.h | 15 extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
|
D | connect.c | 94 time64_t expiry, now; in reconn_set_ipaddr_from_hostname() local 113 rc = dns_resolve_server_name_to_ip(unc, &ipaddr, &expiry); in reconn_set_ipaddr_from_hostname() 131 if (expiry && expiry > now) in reconn_set_ipaddr_from_hostname() 136 ttl = max_t(unsigned long, expiry - now, SMB_DNS_RESOLVE_INTERVAL_MIN) + 1; in reconn_set_ipaddr_from_hostname()
|
/fs/afs/ |
D | cell.c | 399 time64_t now, expiry = 0; in afs_update_cell() local 404 vllist = afs_dns_query(cell, &expiry); in afs_update_cell() 440 if (expiry < now + min_ttl) in afs_update_cell() 441 expiry = now + min_ttl; in afs_update_cell() 442 else if (expiry > now + max_ttl) in afs_update_cell() 443 expiry = now + max_ttl; in afs_update_cell() 452 cell->dns_expiry = expiry; in afs_update_cell() 464 cell->dns_expiry = expiry; in afs_update_cell()
|
D | fsclient.c | 132 static time64_t xdr_decode_expiry(struct afs_call *call, u32 expiry) in xdr_decode_expiry() argument 134 return ktime_divns(call->issue_time, NSEC_PER_SEC) + expiry; in xdr_decode_expiry()
|