Lines Matching refs:contents
27 char contents[PAGE_SIZE - sizeof(struct list_head)]; member
34 struct hppfs_data *contents; member
244 if (hppfs->contents != NULL) { in hppfs_read()
250 data = hppfs->contents; in hppfs_read()
252 while (off >= sizeof(data->contents)) { in hppfs_read()
255 off -= sizeof(data->contents); in hppfs_read()
260 rem = copy_to_user(buf, &data->contents[off], count); in hppfs_read()
350 while ((n = read_proc(proc_file, data->contents, in hppfs_get_data()
351 sizeof(data->contents), NULL, 0)) > 0) in hppfs_get_data()
352 os_write_file(fd, data->contents, n); in hppfs_get_data()
361 n = os_read_file(fd, data->contents, sizeof(data->contents)); in hppfs_get_data()
372 if (n < sizeof(data->contents)) in hppfs_get_data()
405 .contents = NULL } ); in hppfs_data()
454 data->contents = NULL; in hppfs_open()
458 data->contents = hppfs_get_data(fd, filter, in hppfs_open()
461 if (!IS_ERR(data->contents)) in hppfs_open()
475 free_contents(data->contents); in hppfs_open()