Lines Matching refs:dev
324 struct cb_devicenotifyitem *dev = &args->devs[i]; in decode_devicenotify_args() local
337 dev->cbd_notify_type = ntohl(*p++); in decode_devicenotify_args()
338 if (dev->cbd_notify_type != NOTIFY_DEVICEID4_CHANGE && in decode_devicenotify_args()
339 dev->cbd_notify_type != NOTIFY_DEVICEID4_DELETE) { in decode_devicenotify_args()
345 if (((dev->cbd_notify_type == NOTIFY_DEVICEID4_CHANGE) && in decode_devicenotify_args()
347 ((dev->cbd_notify_type == NOTIFY_DEVICEID4_DELETE) && in decode_devicenotify_args()
352 dev->cbd_layout_type = ntohl(*p++); in decode_devicenotify_args()
353 memcpy(dev->cbd_dev_id.data, p, NFS4_DEVICEID4_SIZE); in decode_devicenotify_args()
356 if (dev->cbd_layout_type == NOTIFY_DEVICEID4_CHANGE) { in decode_devicenotify_args()
362 dev->cbd_immediate = ntohl(*p++); in decode_devicenotify_args()
364 dev->cbd_immediate = 0; in decode_devicenotify_args()
370 __func__, dev->cbd_notify_type, dev->cbd_layout_type, in decode_devicenotify_args()
371 dev->cbd_immediate); in decode_devicenotify_args()