Searched refs:SM_MAXSTRLEN (Results 1 – 7 of 7) sorted by relevance
/freebsd/include/rpcsvc/ |
H A D | sm_inter.x | 62 const SM_MAXSTRLEN = 1024; variable 65 string mon_name<SM_MAXSTRLEN>; 69 string my_name<SM_MAXSTRLEN>; /* name of the site iniates the monitoring request*/ 76 string mon_name<SM_MAXSTRLEN>; /* name of the site to be monitored */ 87 string mon_name<SM_MAXSTRLEN>; /* name of the site that had the state change */ 116 string mon_name<SM_MAXSTRLEN>;
|
/freebsd/sys/nlm/ |
H A D | sm_inter_xdr.c | 12 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN)) in xdr_sm_name() 21 if (!xdr_string(xdrs, &objp->my_name, SM_MAXSTRLEN)) in xdr_my_id() 36 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN)) in xdr_mon_id() 58 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN)) in xdr_stat_chge() 98 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN)) in xdr_sm_status()
|
H A D | sm_inter.h | 15 #define SM_MAXSTRLEN 1024 macro
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.h | 67 char notifyHost[SM_MAXSTRLEN + 1]; /* Host to notify */ 76 char hostname[SM_MAXSTRLEN + 1]; /* Name of monitored host */
|
H A D | file.c | 90 if (!strncasecmp(hostname, hp->hostname, SM_MAXSTRLEN)) in find_host() 155 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN); in find_host() 260 char our_hostname[SM_MAXSTRLEN+1]; in notify_one_host() 263 our_hostname[SM_MAXSTRLEN] = '\0'; in notify_one_host()
|
H A D | procs.c | 197 strncpy(lp->notifyHost, arg->mon_id.my_id.my_name, SM_MAXSTRLEN); in sm_mon_1_svc() 232 if (!strncasecmp(idp->my_name, lp->notifyHost, SM_MAXSTRLEN) in do_unmon()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.c | 87 char client_name[SM_MAXSTRLEN]; /* client_name is really variable 108 char name[SM_MAXSTRLEN]; /* name is really variable length and 379 n = strnlen(caller_name, SM_MAXSTRLEN); in allocate_file_lock() 380 if (n == SM_MAXSTRLEN) { in allocate_file_lock() 1259 if (strncmp(hostname, ifl->client_name, SM_MAXSTRLEN) == 0) { in clear_blockingfilelock() 1632 if (strncmp(hostname, ifl->client_name, SM_MAXSTRLEN) == 0) { in clear_partialfilelock() 2017 if (strncmp(hostname, ihp->name, SM_MAXSTRLEN) == 0) { in monitor_lock_host() 2026 n = strnlen(hostname, SM_MAXSTRLEN); in monitor_lock_host() 2027 if (n == SM_MAXSTRLEN) { in monitor_lock_host() 2092 if (strncmp(hostname, ihp->name, SM_MAXSTRLEN) == 0) { in unmonitor_lock_host()
|