st_ram_io
struct st_ram_io st_loc;
if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
count, sizeof(struct st_ram_io) + sizeof(struct mailbox));
if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io)))
if(copy_from_user(&tmpmailbox, &buf[sizeof(struct st_ram_io)],
for (c = 0; c < sizeof(struct st_ram_io);) {
for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) {
struct st_ram_io *st_loc, struct mailbox *mailbox)
for (c = 0; c < sizeof(struct st_ram_io);) {
for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) {
return (sizeof(struct st_ram_io) + sizeof(struct mailbox));
if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
count,sizeof(struct st_ram_io) + sizeof(struct mailbox));
struct st_ram_io st_loc;
struct st_ram_io *adgl;
adgl = memdup_user(argp, sizeof(struct st_ram_io));
for (i = 0; i < sizeof(struct st_ram_io); i++)
if (copy_to_user(argp, adgl, sizeof(struct st_ram_io)))
if (copy_to_user(argp, adgl, sizeof(struct st_ram_io)))
if (copy_to_user(argp, adgl,sizeof(struct st_ram_io)))