Lines Matching defs:of
5 * The Regents of the University of California. All rights reserved.
11 * All advertising materials mentioning features or use of this software
13 * This product includes software developed by the University of
19 * 1. Redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer.
22 * notice, this list of conditions and the following disclaimer in the
24 * 3. Neither the name of the University nor the names of its contributors
131 struct ofiocdesc *of;
143 of = (struct ofiocdesc *)data;
144 node = of->of_nodeid;
164 error = openfirmgetstr(of->of_namelen, of->of_name, &name);
170 if (len > of->of_buflen) {
174 of->of_buflen = len;
186 error = copyout(value, of->of_buf, len);
195 error = openfirmgetstr(of->of_namelen, of->of_name, &name);
198 error = openfirmgetstr(of->of_buflen, of->of_buf, &value);
202 len = OF_setprop(node, name, value, of->of_buflen + 1);
211 if ((len != (of->of_buflen + 1)) && (len != of->of_buflen))
221 if (of->of_namelen != 0) {
222 error = openfirmgetstr(of->of_namelen, of->of_name,
239 if (len > of->of_buflen)
240 len = of->of_buflen;
242 of->of_buflen = len;
243 error = copyout(newname, of->of_buf, len);
270 error = openfirmgetstr(of->of_namelen, of->of_name, &name);
278 of->of_nodeid = lastnode = node;