Lines Matching refs:fp
310 extern int policydb_read(struct policydb *p, void *fp);
311 extern int policydb_write(struct policydb *p, void *fp);
334 void *fp; member
337 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument
339 if (bytes > fp->len) in next_entry()
342 memcpy(buf, fp->data, bytes); in next_entry()
343 fp->data += bytes; in next_entry()
344 fp->len -= bytes; in next_entry()
348 static inline int put_entry(const void *buf, size_t bytes, int num, struct policy_file *fp) in put_entry() argument
352 memcpy(fp->data, buf, len); in put_entry()
353 fp->data += len; in put_entry()
354 fp->len -= len; in put_entry()