Lines Matching refs:contents
25 char contents[PAGE_SIZE - sizeof(struct list_head)]; member
32 struct hppfs_data *contents; member
256 if (hppfs->contents != NULL) { in hppfs_read()
262 data = hppfs->contents; in hppfs_read()
264 while (off >= sizeof(data->contents)) { in hppfs_read()
267 off -= sizeof(data->contents); in hppfs_read()
272 rem = copy_to_user(buf, &data->contents[off], count); in hppfs_read()
357 while ((n = read_proc(proc_file, data->contents, in hppfs_get_data()
358 sizeof(data->contents), NULL, 0)) > 0) in hppfs_get_data()
359 os_write_file(fd, data->contents, n); in hppfs_get_data()
368 n = os_read_file(fd, data->contents, sizeof(data->contents)); in hppfs_get_data()
379 if (n < sizeof(data->contents)) in hppfs_get_data()
412 .contents = NULL } ); in hppfs_data()
464 data->contents = NULL; in hppfs_open()
468 data->contents = hppfs_get_data(fd, filter, in hppfs_open()
471 if (!IS_ERR(data->contents)) in hppfs_open()
485 free_contents(data->contents); in hppfs_open()