Lines Matching refs:contents
27 char contents[PAGE_SIZE - sizeof(struct list_head)]; member
34 struct hppfs_data *contents; member
243 if (hppfs->contents != NULL) { in hppfs_read()
249 data = hppfs->contents; in hppfs_read()
251 while (off >= sizeof(data->contents)) { in hppfs_read()
254 off -= sizeof(data->contents); in hppfs_read()
259 rem = copy_to_user(buf, &data->contents[off], count); in hppfs_read()
349 while ((n = read_proc(proc_file, data->contents, in hppfs_get_data()
350 sizeof(data->contents), NULL, 0)) > 0) in hppfs_get_data()
351 os_write_file(fd, data->contents, n); in hppfs_get_data()
360 n = os_read_file(fd, data->contents, sizeof(data->contents)); in hppfs_get_data()
371 if (n < sizeof(data->contents)) in hppfs_get_data()
404 .contents = NULL } ); in hppfs_data()
456 data->contents = NULL; in hppfs_open()
460 data->contents = hppfs_get_data(fd, filter, in hppfs_open()
463 if (!IS_ERR(data->contents)) in hppfs_open()
477 free_contents(data->contents); in hppfs_open()