Searched defs:be (Results 1 - 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetauuser.c39 getbyname(files_backend_ptr_t be, void *a) argument
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetauthattr.c39 getbyname(files_backend_ptr_t be, void *a) argument
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetprofattr.c39 getbyname(files_backend_ptr_t be, void *a) argument
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetuserattr.c39 getbyname(files_backend_ptr_t be, void *a) argument
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetprojent.c124 getbyname(files_backend_ptr_t be, void *a) { argument
125 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 0,
130 getbyprojid(files_backend_ptr_t be, void *a) { argument
131 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 1, check_projid));
H A Dtsol_getrhent.c93 getbyaddr(files_backend_ptr_t be, void *a) argument
119 rc = _nss_files_XY_all(be, argp, 1,
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetauuser.c35 getbynam(nis_backend_ptr_t be, void *a) argument
39 return (_nss_nis_lookup(be,
H A Dgetprojent.c34 getbyname(nis_backend_ptr_t be, void *a) { argument
36 return (_nss_nis_lookup(be, argp, 0, "project.byname",
41 getbyid(nis_backend_ptr_t be, void *a) { argument
45 return (_nss_nis_lookup(be, argp, 0, "project.byprojid", projstr, 0));
H A Dgetauthattr.c35 getbynam(nis_backend_ptr_t be, void *a) argument
39 return (_nss_nis_lookup(be,
H A Dgetprofattr.c35 getbynam(nis_backend_ptr_t be, void *a) argument
39 return (_nss_nis_lookup(be,
H A Dgetuserattr.c35 getbynam(nis_backend_ptr_t be, void *a) argument
39 return (_nss_nis_lookup(be,
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrnvcmp.c35 register const char* be; local
40 be = b + n;
45 if (b >= be)
49 else if (b >= be)
56 while (b < be && isdigit(*b))
/illumos-gate/usr/src/lib/nsswitch/user/common/
H A Duser_common.c32 * An implementation that used mmap() sensibly would be a wonderful thing,
48 _nss_user_setent(be, dummy)
49 user_backend_ptr_t be;
52 if (be->f == 0) {
53 if (be->filename == 0) {
57 if ((be->f = fopen(be->filename, "rF")) == 0) {
61 rewind(be->f);
68 _nss_user_endent(be, dummy)
69 user_backend_ptr_t be;
280 user_backend_ptr_t be; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c136 * the requests will be serialized anyway, but let's play safe and
147 nss_backend_t *be; local
155 be = getnetgrent_backend;
156 if (be != NULL && NSS_INVOKE_DBOP(be, NSS_DBOP_SETENT,
158 (void) NSS_INVOKE_DBOP(be, NSS_DBOP_DESTRUCTOR, 0);
159 be = NULL;
161 if (be == NULL) {
168 be = args.iterator;
170 getnetgrent_backend = be;
[all...]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dgetspent.c30 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, argument
38 * sp_pwdp will be "*NP*".
49 buffer = be->buffer = malloc(buflen);
50 if (be->buffer == NULL)
52 be->buflen = buflen;
73 getbynam(ad_backend_ptr be, void *a) argument
83 be->db_type = NSS_AD_DB_SHADOW_BYNAME;
85 /* Sanitize name so that it can be used in our LDAP filter */
109 if (update_buffer(be, argp, name, dname) < 0)
113 stat = _nss_ad_marshall_data(be, arg
[all...]
H A Dgetgrent.c30 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, argument
42 buffer = be->buffer = malloc(buflen);
43 if (be->buffer == NULL)
45 be->buflen = buflen;
65 getbynam(ad_backend_ptr be, void *a) argument
75 be->db_type = NSS_AD_DB_GROUP_BYNAME;
77 /* Sanitize name so that it can be used in our LDAP filter */
100 if (update_buffer(be, argp, name, dname, gid) < 0)
104 stat = _nss_ad_marshall_data(be, argp);
105 return (_nss_ad_sanitize_status(be, arg
116 getbygid(ad_backend_ptr be, void *a) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetauuser.c70 getbynam(compat_backend_ptr_t be, void *a) argument
79 res = _attrdb_compat_XY_all(be,
H A Dgetuserattr.c70 getbynam(compat_backend_ptr_t be, void *a) argument
79 res = _attrdb_compat_XY_all(be,
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dgethostent.c41 getbyname(be, a)
42 mdns_backend_ptr_t be;
53 _nss_mdns_updatecfg(be);
54 return (_nss_mdns_querybyname(be, hname, AF_INET, &qdata));
59 getbyaddr(be, a)
60 mdns_backend_ptr_t be;
89 _nss_mdns_updatecfg(be);
90 return (_nss_mdns_querybyaddr(be, buffer, qdata.af, &qdata));
95 _nss_mdns_getent(be, args)
96 mdns_backend_ptr_t be;
150 _nss_get_mdns_hosts_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument
[all...]
H A Dgethostent6.c41 getbyname(be, a)
42 mdns_backend_ptr_t be;
53 _nss_mdns_updatecfg(be);
54 return (_nss_mdns_querybyname(be, hname, af, &qdata));
58 getbyaddr(be, a)
59 mdns_backend_ptr_t be;
110 _nss_mdns_updatecfg(be);
111 return (_nss_mdns_querybyaddr(be, addrqryname, qdata.af, &qdata));
116 _nss_mdns_getent(be, args)
117 mdns_backend_ptr_t be;
171 _nss_get_mdns_ipnodes_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetbootparams.c51 * must be constructed and returned.
56 _nss_ldap_bootparams2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument
63 ns_ldap_result_t *result = be->result;
69 if ((be->buffer = calloc(1, buflen)) == NULL) {
73 buffer = be->buffer;
99 * adds hostname as a boot param and it should be filtered.
114 be->buflen = strlen(be->buffer);
118 (void) __ns_ldap_freeResult(&be->result);
131 * indicates that dn's be full
136 getbyname(ldap_backend_ptr be, void *a) argument
[all...]
H A Dgetnetmasks.c66 _nss_ldap_netmasks2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument
69 ns_ldap_result_t *result = be->result;
86 if ((be->buffer = calloc(1, len)) == NULL) {
90 be->buflen = len - 1;
91 buffer = be->buffer;
100 (void) __ns_ldap_freeResult(&be->result);
114 getbynet(ldap_backend_ptr be, void *a) argument
135 return ((nss_status_t)_nss_ldap_lookup(be, argp,
H A Dtsol_gettpent.c59 _nss_ldap_tnrhtp2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument
65 ns_ldap_result_t *result = be->result;
86 if ((be->buffer = calloc(1, len)) == NULL) {
90 be->buflen = len - 1;
91 buffer = be->buffer;
98 (void) __ns_ldap_freeResult(&be->result);
103 getbyname(ldap_backend_ptr be, void *a) argument
120 return (_nss_ldap_lookup(be, argp, _TNRHTP, searchfilter, NULL,
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c38 * the range. The returned buckets will be automatically freed when the dcmd
56 * We want the bins to be a constant ratio:
120 * any inadequate buckets must be at the beginning. To deal
124 * A final wrinkle is that beg *can* be zero. We compute r and b
157 * is eleven characters. Optionally, a label other than "count" may be specified
184 * given total is assumed to be the sum of all elements in the counts array.
198 int be = distarray[i + 1] - 1; /* bucket end */ local
211 for (b = bb; b <= be; b++)
220 if (bb == be)
223 (void) mdb_snprintf(range, sizeof (range), "%d-%d", bb, be);
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c225 * "ticks" will be interpreted against lbolt. That is,
226 * if we specify 1 tick, we will be registering a callout
230 * may be less than ("ticks" / hz) seconds (but not more than
309 clock_backend_t *be = &clock_realtime; local
310 struct sigevent *ev = &be->clk_default;
316 be->clk_clock_settime = clock_realtime_settime;
317 be->clk_clock_gettime = clock_realtime_gettime;
318 be->clk_clock_getres = clock_realtime_getres;
319 be->clk_timer_gettime = clock_realtime_timer_gettime;
320 be
[all...]

Completed in 70 milliseconds

1234