• Home
  • Raw
  • Download

Lines Matching refs:PATH_MAX

43 		sizeof(struct open_request) + PATH_MAX + 1;  in hmdfs_message_verify_init()
55 sizeof(struct atomic_open_request) + PATH_MAX + NAME_MAX + 1; in hmdfs_message_verify_init()
109 sizeof(struct readdir_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
121 sizeof(struct mkdir_request) + PATH_MAX + NAME_MAX + 2; in hmdfs_message_verify_init()
134 sizeof(struct create_request) + PATH_MAX + NAME_MAX + 2; in hmdfs_message_verify_init()
147 sizeof(struct rmdir_request) + PATH_MAX + NAME_MAX + 2; in hmdfs_message_verify_init()
158 sizeof(struct unlink_request) + PATH_MAX + NAME_MAX + 2; in hmdfs_message_verify_init()
169 sizeof(struct rename_request) + 4 + 4 * PATH_MAX; in hmdfs_message_verify_init()
180 sizeof(struct setattr_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
191 sizeof(struct getattr_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
203 sizeof(struct statfs_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
226 sizeof(struct getxattr_request) + PATH_MAX + XATTR_NAME_MAX + 2; in hmdfs_message_verify_init()
238 sizeof(struct setxattr_request) + PATH_MAX + XATTR_NAME_MAX + in hmdfs_message_verify_init()
250 sizeof(struct listxattr_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
269 sizeof(struct drop_push_request) + PATH_MAX + 1; in hmdfs_message_verify_init()
325 strnlen(msg + pos, PATH_MAX) != str_len[i]) in is_str_msg_valid()
338 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_open_req()
386 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_atomic_open_req()
387 req->file_len < 0 || req->file_len >= PATH_MAX) in verify_atomic_open_req()
425 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_iterate_req()
453 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_mkdir_req()
454 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_mkdir_req()
492 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_create_req()
493 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_create_req()
531 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_rmdir_req()
532 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_rmdir_req()
560 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_unlink_req()
561 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_unlink_req()
590 if (req->old_path_len < 0 || req->old_path_len >= PATH_MAX || in verify_rename_req()
591 req->new_path_len < 0 || req->new_path_len >= PATH_MAX || in verify_rename_req()
592 req->old_name_len < 0 || req->old_name_len >= PATH_MAX || in verify_rename_req()
593 req->new_name_len < 0 || req->new_name_len >= PATH_MAX) in verify_rename_req()
624 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_setattr_req()
652 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_getattr_req()
690 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_getxattr_req()
691 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_getxattr_req()
736 if (req->path_len < 0 || req->path_len >= PATH_MAX || in verify_setxattr_req()
737 req->name_len < 0 || req->name_len >= PATH_MAX) in verify_setxattr_req()
770 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_listxattr_req()
845 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_statfs_req()
883 if (req->path_len < 0 || req->path_len >= PATH_MAX) in verify_drop_push_req()