Lines Matching refs:valuelen
283 int *valuelen, in xfs_attr_rmtval_copyout() argument
293 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyout()
297 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
318 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
331 int *valuelen, in xfs_attr_rmtval_copyin() argument
341 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyin()
345 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
356 ASSERT(*valuelen - byte_cnt == 0); in xfs_attr_rmtval_copyin()
368 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin()
389 int valuelen; in xfs_attr_rmtval_get() local
398 ASSERT(args->valuelen != 0); in xfs_attr_rmtval_get()
399 ASSERT(args->rmtvaluelen == args->valuelen); in xfs_attr_rmtval_get()
401 valuelen = args->rmtvaluelen; in xfs_attr_rmtval_get()
402 while (valuelen > 0) { in xfs_attr_rmtval_get()
411 for (i = 0; (i < nmap) && (valuelen > 0); i++) { in xfs_attr_rmtval_get()
425 &offset, &valuelen, in xfs_attr_rmtval_get()
436 ASSERT(valuelen == 0); in xfs_attr_rmtval_get()
481 int valuelen; in xfs_attr_rmtval_set_value() local
494 valuelen = args->rmtvaluelen; in xfs_attr_rmtval_set_value()
495 while (valuelen > 0) { in xfs_attr_rmtval_set_value()
521 &valuelen, &src); in xfs_attr_rmtval_set_value()
533 ASSERT(valuelen == 0); in xfs_attr_rmtval_set_value()